Duplicacy GUI hangs on webserver start on Linux

Trying to spin up a duplicacy server (GUI edition) on linux, however on both Centos 9 and ubuntu 22.04 server the executable seems to hang on:

Starting the web server at http://127.0.0.1:3875

Neither duplicacy.json or settings.json gets created either inside duplicay-web folder.

tried runnign executable as sudo, root and regular user.

Any advise on how to troubleshoot this ?

That’s normal operation – web server started and is running.

These files are not created until they are needed.

You need to visit that URL, you will be asked to set a password; once you do – duplicacy.json will get created. If you change settings – settings.json will get created.

But I’m running a headless VM. I need to change IP of the server from loopback and for that need duplicacy.json which doesn’t yet exits ?

You can create one:

cat > ~/.duplicacy_web/settings.json << EOF
{
    "listening_address"     : "0.0.0.0:3875"
}
EOF

or you can use SSH tunneling to access the interface (preferred even for normal use: so you don’t make UI available for everyone):

On the server:

sed -i "s/.*AllowTcpForwarding.*/AllowTcpForwarding yes/g" /etc/ssh/sshd_config
restart sshd

On the client:

ssh -L 3875:127.0.0.1:3875 server

and then navigate to http://localhost:3875