Greetings, I recently upgrade my M1 Mac to macOS 13.0. I reinstalled Duplicacy webui (arm64) with the latest cli 3.0.1. I have granted Duplicacy with the full disk access, and every other backups works fine except the Documents folder under user’s home directory. It failed with a exit status 101
, and the ~/.duplicacy-web/logs/duplicacy_web.log
gives following:
2022/11/03 16:33:39 CLI stderr: runtime error: index out of range [0] with length 0
goroutine 1 [running]:
runtime/debug.Stack(0x34, 0x0, 0x0)
/usr/local/go/src/runtime/debug/stack.go:24 +0x88
runtime/debug.PrintStack()
/usr/local/go/src/runtime/debug/stack.go:16 +0x20
github.com/gilbertchen/duplicacy/src.CatchLogException()
/Users/gchen/zincbox/duplicacy/src/duplicacy_log.go:233 +0x100
panic(0x103b06640, 0x1400218c000)
/usr/local/go/src/runtime/panic.go:965 +0x14c
github.com/gilbertchen/duplicacy/src.(*BackupManager).Backup(0x14000534000, 0x1400018c040, 0x19, 0x1, 0x4, 0x0, 0x0, 0x1, 0x0, 0x0, ...)
/Users/gchen/zincbox/duplicacy/src/duplicacy_backupmanager.go:311 +0x2fd4
main.backupRepository(0x140005007e0)
/Users/gchen/zincbox/duplicacy/duplicacy/duplicacy_main.go:791 +0x560
github.com/gilbertchen/cli.Command.Run(0x1037077aa, 0x6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x10374081e, 0x30, 0x0, ...)
/Users/gchen/zincbox/go/pkg/mod/github.com/gilbertchen/cli@v1.2.1-0.20160223210219-1de0a1836ce9/command.go:160 +0x578
github.com/gilbertchen/cli.(*App).Run(0x1400000d560, 0x140000ca000, 0x8, 0x8, 0x0, 0x0)
/Users/gchen/zincbox/go/pkg/mod/github.com/gilbertchen/cli@v1.2.1-0.20160223210219-1de0a1836ce9/app.go:179 +0x4f8
main.main()
/Users/gchen/zincbox/duplicacy/duplicacy/duplicacy_main.go:2231 +0x4f3c
2022/11/03 16:33:39 The CLI executable returned an error: exit status 101, exit code: 101
The iCloud sync for documents is closed as well. Is this a bug or I did something wrong? Thanks for helping.