Well, I gave it a go… I downloaded the source, added some debug statements to learn more about the objects you referenced and what value they may/may not have, and then managed to compile the code. But then I couldn’t figure out which binary files of the lot I needed to drop into my Duplicati install (overwriting existing files) in order to test!
Maybe I should go into a tad more detail on what I am actually doing with Sia and Duplicati. I hope no one roles their eyes over this!
I have a lab at home (just a Dell 1U host) with a handful of VMs. I wanted to backup my VM data to Sia, which is the most inexpensive cloud storage I know of at this time, and also test Sia as well (as I have not yet put anything on it). However, when I was testing Sia, I actually created a headless server and run the Sia GUI over SSH (with X forwarding). The entire Sia blockchain is downloaded to my Sia VM. I wanted to point the Duplicati instance on my host (which has access to the VM data) at the Sia daemon running on the Sia VM. So in essence I have a “Sia backup appliance” running on the host. And I have the host backing up to the Sia cloud through it.
Now here was the trick. To get Duplicati to even make a successful connection to the Sia daemon, I had to do the following:
Run this command on my Sia VM: socat tcp-listen:8001,reuseaddr,fork tcp:localhost:9980
This allows me to run the Sia daemon on localhost; Sia very much complains when you attempt to open it up, even on a LAN.
Then I run the Sia-UI over a ssh connection with forwarded X. This allows me to unlock my wallet using the UI even though my VM is technically headless.
The Duplicati instance in question runs on the host. It successfully makes the connection to the Sia daemon on port 8001. But unfortunately, the bizarre symptom herewith described plagues me.
I may have to do a “lift and shift” of my local blockchain to the host itself and just run Sia and Duplicati together on the same OS. It would probably work then because I think this is what most people are doing. But this kind of defeats the purpose though as I really wanted to create my own “backup gateway appliance” to the Sia blockchain. For instance, I want to point my laptop and my gaming computer and a handful of other machines to the same Sia VM so that I have them all backing up to Sia through my single wallet and “appliance.” Does this use case make sense?