Unable to download CLI in docker container

I am trying to set up Duplicacy in a docker on an unRaid server. I haven’t been able to test it because I am still having trouble downloading the CLI on first install.

Attaching some of the log:

duplicacy_web runing as user duplicacy:duplicacy(99:100)
Logging tail of the log from this moment on
Starting duplicacy
Log directory set to /logs
Duplicacy Web Edition 1.3.0 (FE1BCB)
Starting the web server at [http]://[::]:3875
2020/05/08 15:48:21 Failed to get the value from the keyring: keyring/dbus: Error connecting to dbus session, not registering SecretService provider: dbus: DBUS_SESSION_BUS_ADDRESS not set

2020/05/08 15:48:21 Failed to decrypt the testing data using the password from KeyChain/Keyring: crypto/aes: invalid key size 0

2020/05/08 15:48:21 Temporary directory set to /cache
2020/05/08 15:48:21 Duplicacy Web Edition 1.3.0 (FE1BCB)
2020/05/08 15:48:21 Downloading the CLI executable from [https]://github.com/gilbertchen/duplicacy/releases/download/v2.5.1/duplicacy_linux_x64_2.5.1
2020/05/08 15:49:24 10.253.0.2:63347 GET /assets/css/bootstrap.min.css
2020/05/08 15:49:24 10.253.0.2:63349 GET /assets/css/paper-dashboard.css
2020/05/08 15:49:24 10.253.0.2:63348 GET /assets/css/duplicacy-web.css
2020/05/08 15:49:24 10.253.0.2:63350 GET /assets/css/font-awesome.min.css
2020/05/08 15:49:24 10.253.0.2:63351 GET /assets/js/jquery-1.10.2.min.js
2020/05/08 15:49:24 10.253.0.2:63352 GET /assets/js/jquery.min.js
2020/05/08 15:49:24 10.253.0.2:63348 GET /assets/js/bootstrap.min.js
2020/05/08 15:49:24 10.253.0.2:63347 GET /assets/js/bootbox.min.js
2020/05/08 15:49:24 10.253.0.2:63350 GET /assets/js/axios.min.js
2020/05/08 15:49:24 10.253.0.2:63347 GET /assets/js/chartist.min.js
2020/05/08 15:49:24 10.253.0.2:63350 GET /assets/js/paper-dashboard.js
2020/05/08 15:49:24 10.253.0.2:63349 GET /assets/js/polyfill.min.js
2020/05/08 15:49:24 10.253.0.2:63352 GET /assets/img/product-icon.png
2020/05/08 15:49:41 10.253.0.2:63352 POST /verify_password
2020/05/08 15:49:41 Failed to store the value to the keyring: keyring/dbus: Error connecting to dbus session, not registering SecretService provider: dbus: DBUS_SESSION_BUS_ADDRESS not set

2020/05/08 15:50:51 Failed to check the storage at one://Server Backup: The CLI executable is still being downloaded from github.com. Please try the operation later.

After a long time, I start getting errors like the following:

2020/05/08 15:46:21 Failed to check the storage at one://Server Backup: The CLI executable is not available from github.com: Failed to download the CLI executable: read tcp 172.17.0.8:53156->52.216.109.203:443: read: connection reset by peer

Is anyone able to point me in the right direction?

Thanks,

Mike

Few things to check:

  • does the user container is running under has write access to the config directory?
  • Can you wget that URL on that machine? (open shell in the running container and try running wget manually – just to rule out network connectivity issues
  • Shot in the dark: is the container behind a SSL decrypting firewall.

And it could also be intermittent GitHub CDN issues on the nodes that serve your location?

3 Likes

Thanks saspus, I played around with some of the write permissions and it seems to have worked. Also, I was originally trying to set it up through a VPN, not sure if that casued some problems.

Anyway, all good now. Cheers.

For anyone: Feel free to use the :heart: button on the posts that you found useful.

For the OP of any #support topic: you can mark the post that solved your issue by ticking the :checked: under the post. That of course may include your own post :slight_smile: