Duplicati trouble syncing to Backblaze B2

eirik.lars1

Explorer
Joined
Jul 16, 2016
Messages
55
I've installed Duplicati from the truecharts catalog. Trying to set up a backup to Backblaze B2 I get a trust failure. Buckets an app permissions are set up correctly on B2. The problem and solution is described in this post and the workaround is to delete a certain certificate. Using the shell from the gui I try to enter the commands but It's not working (see picture). Apparently I'm not root. How can I issue commands as root??
 

Attachments

  • Screenshot 2022-11-14 124551.png
    Screenshot 2022-11-14 124551.png
    17.9 KB · Views: 74

eirik.lars1

Explorer
Joined
Jul 16, 2016
Messages
55
Any chance you figured this one out? I'm running into the same issue.
Hi, yes I have it working. I enabled the “accept any ssl certificate” option under default options in duplicati gui and restarted.
 

jrwrigh

Dabbler
Joined
Sep 17, 2022
Messages
10
That doesn't work for me for some reason.

Out of curiosity, in the logs, were you also seeing this error:

Code:
Mar 29, 2023 10:11 AM: Reporting error gave error
System.ObjectDisposedException: Can not write to a closed TextWriter.
  at System.IO.StreamWriter.Flush (System.Boolean flushStream, System.Boolean flushEncoder) [0x00008] in <d13c8b563008422a8c5aaec0a74089cc>:0
  at System.IO.StreamWriter.Flush () [0x00006] in <d13c8b563008422a8c5aaec0a74089cc>:0
  at Duplicati.Server.WebServer.RESTHandler.DoProcess (Duplicati.Server.WebServer.RESTMethods.RequestInfo info, System.String method, System.String module, System.String key) [0x003bc] in <156011ea63b34859b4073abdbf0b1573>:0 


Trying to figure out if I possibly just set up the chart correctly to begin with.

Are you on TrueNAS SCALE Bluefin?
 

jrwrigh

Dabbler
Joined
Sep 17, 2022
Messages
10
Regarding the "Reporting error gave error" error (that's fun to say outloud), that appears to be due to something else. Looking it up, it appears in the vast majority of error messages, not just this one.
 

jrwrigh

Dabbler
Joined
Sep 17, 2022
Messages
10
General update (possibly just documentation for myself):

I've tried to do the more direct-route and actually running the commands in the container specified in the Duplicati forum post. Specifically, I sshed to the TrueNAS SCALE machine, then ran:

Code:
$ # Get docker container id
$ sudo k3s kubectl describe pod --namespace ix-duplicati
[....]
Containers:
  duplicati:
    Container ID:   docker://202c3bf15b88ae256822fc968212fa0a85988695a9c17761e74a2f74359ad88f
[....]

$ #Next log into the container with the root user
$ sudo docker exec -t -i -u root 202c3bf15b88ae256822fc968212fa0a85988695a9c17761e74a2f74359ad88f /bin/bash.

root@duplicati-fccb6db76-bw7k7:/$ # Now in container


Unfortunately, the filesystem for the container is read-only, so none of the commands work though. I'm not sure why this is the case, or if there's anything that can be done about it.

If anyone knows how to make the container file-system writable, please let me know.
 
Top