Backup to Dropbox aborts on Synology due to too many open files

I’m using duplicacy fine on multiple different systems, but on my Synology NAS, where I installed Duplicacy as a Synology add on I wasn’t really successful. I was only able to do a backup twice, almost all backups fail due to a similar error to this one:

2023-06-29 16:49:08.165 INFO DROPBOX_RETRY Post "https://content.dropboxapi.com/2/files/upload": dial tcp: lookup content.dropboxapi.com on 62.2.17.61:53: dial udp 62.2.17.61:53: socket: too many open files; retrying after 218.95 seconds
2023-06-29 16:49:14.440 INFO DROPBOX_RETRY Post "https://content.dropboxapi.com/2/files/upload": dial tcp: lookup content.dropboxapi.com on 62.2.17.61:53: dial udp 62.2.17.61:53: socket: too many open files; retrying after 218.95 seconds
2023-06-29 16:49:20.512 INFO DROPBOX_RETRY Post "https://content.dropboxapi.com/2/files/upload": dial tcp: lookup content.dropboxapi.com on 62.2.17.61:53: dial udp 62.2.17.61:53: socket: too many open files; retrying after 218.95 seconds
2023-06-29 16:52:46.165 ERROR UPLOAD_CHUNK Failed to upload the chunk 150ab9d2eed27ebfd36ae3e4daae88aa8550d7d15d7a43e1157fcf4ad8663306: Post "https://content.dropboxapi.com/2/files/upload": dial tcp: lookup content.dropboxapi.com on 62.2.17.61:53: dial udp 62.2.17.61:53: socket: too many open files
Failed to upload the chunk 150ab9d2eed27ebfd36ae3e4daae88aa8550d7d15d7a43e1157fcf4ad8663306: Post "https://content.dropboxapi.com/2/files/upload": dial tcp: lookup content.dropboxapi.com on 62.2.17.61:53: dial udp 62.2.17.61:53: socket: too many open files

When I was searching, I came across this: Close HTTP response when retrying on errors by northnose · Pull Request #5 · gilbertchen/go-dropbox · GitHub
I’m wondering if maybe my issue is related to that one. I already tried increasing my limit of open files to 200000 on the NAS itself but this didn’t help. I’m not sure if this doesn’t apply to add-ons or if it is indeed the issue mentioned above. If it is, unfortunately there hasn’t been a release in half a year, would it be possible to make one, as the changes have not been released yet? I can’t really make use of the license I bought for my NAS as almost all of the backups fail…

That definitely looks like the same issue. There hasn’t been a release of Duplicacy since that code was committed, so you will have to build from source to get the fix.

How can I get the CLI I built from source to be used in the Synology package?