Error init storage on webdav backend from debian squeeze arm nas

following error trying to init storage on webdav backend from debian squeeze arm :

duplicacy init -e nasbackup webdav://myaccount.stackstorage.com/remote.php/webdav/duplicacy-bucket
runtime error: slice bounds out of range
goroutine 1 [running]:
runtime/debug.Stack(0x29, 0x0, 0x0)
        /usr/local/go/src/runtime/debug/stack.go:24 +0x78
runtime/debug.PrintStack()
        /usr/local/go/src/runtime/debug/stack.go:16 +0x14
github.com/gilbertchen/duplicacy/src.CatchLogException()
        /Users/chgang/zincbox/go/src/github.com/gilbertchen/duplicacy/src/duplicacy_log.go:224 +0xf8
panic(0x9116c8, 0x12af958)
        /usr/local/go/src/runtime/panic.go:522 +0x1a0
github.com/gilbertchen/duplicacy/src.CreateStorage(0x9de486, 0x7, 0xbea96ede, 0x9, 0x0, 0x0, 0xbea96ee8, 0x43, 0x1, 0x0, ...)
        /Users/chgang/zincbox/go/src/github.com/gilbertchen/duplicacy/src/duplicacy_storage.go:681 +0x3d18
main.configRepository(0x146bb00, 0x146bb01)
        /Users/chgang/zincbox/go/src/github.com/gilbertchen/duplicacy/duplicacy/duplicacy_main.go:332 +0x4e8
main.initRepository(0x146bb00)
        /Users/chgang/zincbox/go/src/github.com/gilbertchen/duplicacy/duplicacy/duplicacy_main.go:227 +0x24
github.com/gilbertchen/duplicacy/vendor/github.com/gilbertchen/cli.Command.Run(0x9db7f0, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, 0xa19ebb, 0x4f, 0x0, ...)
        /Users/chgang/zincbox/go/src/github.com/gilbertchen/duplicacy/vendor/github.com/gilbertchen/cli/command.go:160 +0x5c4
github.com/gilbertchen/duplicacy/vendor/github.com/gilbertchen/cli.(*App).Run(0x1498e60, 0x1424030, 0x5, 0x6, 0x0, 0x0)
        /Users/chgang/zincbox/go/src/github.com/gilbertchen/duplicacy/vendor/github.com/gilbertchen/cli/app.go:179 +0x4cc
main.main()
        /Users/chgang/zincbox/go/src/github.com/gilbertchen/duplicacy/duplicacy/duplicacy_main.go:2099 +0x4188

what is wrong ?

The storage url should include the user name, such as webdav://username@myaccount.stackstorage.com/remote.php/webdav/duplicacy-bucket.

However, it should not crash like this. I’ll fix it in the coming release.

Thank you.
After I tried:
webdav://username@myaccount.stackstorage.com/remote.php/webdav/duplicacy-bucket

Failed to load the WebDAV storage at webdav://username@myaccount.stackstorage.com/remote.php/webdav/duplicacy-bucket: Maximum backoff reached

bye

There should be a few logs that showed some errors before the maximum backoff was reached. Can you post those logs too?

That error was caused by an X509 connection error to the webdav backend, that was solved.
Now getting foll. errors using the web interface:

from the web log…

2020/07/05 13:39:58 192.168.1.108:51750 POST /list_webdav_directory
2020/07/05 13:39:58 Failed to list the directory ‘’: Server responded status code 302
2020/07/05 13:40:05 192.168.1.108:51750 POST /list_webdav_directory
2020/07/05 13:40:05 Failed to list the directory ‘’: Server responded status code 302
2020/07/05 13:40:52 192.168.1.108:51750 POST /info_storage
2020/07/05 13:40:52 Running /root/.duplicacy-web/bin/duplicacy_linux_arm_2.5.2 [-log -d info -repository /media/md2/duplicacy/localhost/all webdav://intrax@intrax.stackstorage.com/remote.php/webdav/duplicacy-bucket]
2020/07/05 13:40:52 Set current working directory to /media/md2/duplicacy/localhost/all
2020/07/05 13:40:52 Failed to capture the output from the CLI executable: pipe: function not implemented
2020/07/05 13:40:52 Failed to check the storage at webdav://intrax@intrax.stackstorage.com/remote.php/webdav/duplicacy-bucket: pipe: function not implemented

Seem to not be able to add the webdav storage through the web interface.

Bye