From 656a3043d543a6bec4d85d8650d0c0135576f2ca Mon Sep 17 00:00:00 2001 From: Mariusz Kogen Date: Wed, 4 Dec 2024 20:10:14 +0100 Subject: [PATCH] Fix config initialisation --- docker_entrypoint.sh | 3 +++ manifest.yaml | 2 +- scripts/procedures/migrations.ts | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docker_entrypoint.sh b/docker_entrypoint.sh index bbe0399..2b2e367 100755 --- a/docker_entrypoint.sh +++ b/docker_entrypoint.sh @@ -46,6 +46,9 @@ add_or_update_section "$confd/smp-server.ini" "PROXY" "socks_proxy: 172.18.0.1:9 # Add or update WEB section add_or_update_section "$confd/smp-server.ini" "WEB" "static_path: /var/opt/simplex/www" +# Add or update TRANSPORT section with correct port +add_or_update_section "$confd/smp-server.ini" "TRANSPORT" "host: \nport: 5223\nlog_tls_errors: off\nwebsockets: off" + # Check if xftp-server has been initialized if [ ! -f "$xftp/file-server.ini" ]; then # Init certificates and configs diff --git a/manifest.yaml b/manifest.yaml index 281e791..cd3ca62 100644 --- a/manifest.yaml +++ b/manifest.yaml @@ -1,6 +1,6 @@ id: simplex title: "SimpleX Server" -version: 6.1.3 +version: 6.1.3.1 release-notes: | - Updated to the latest upstream code with notable changes: * Servers: more reliable restoring of state. diff --git a/scripts/procedures/migrations.ts b/scripts/procedures/migrations.ts index b6c0423..2850976 100644 --- a/scripts/procedures/migrations.ts +++ b/scripts/procedures/migrations.ts @@ -24,5 +24,5 @@ export const migration: T.ExpectedExports.migration = ), }, }, - "6.1.3" + "6.1.3.1" );