"Invalid Options"

Hi,

on one of my machinee after the first run the scheduled jobs doesnot run anymore.
The error message in the GUI is “Invalid Options”.

I see the following error in duplicacy_web.log

2023/01/20 13:28:20 Starting schedule Backup
2023/01/20 13:28:20 Schedule Backup max run time: 57600 seconds
2023/01/20 13:28:20 Created log file /opt/duplicacy/.duplicacy-web/logs/backup-20230120-132820.log
2023/01/20 13:28:20 Running /opt/duplicacy/.duplicacy-web/bin/duplicacy_linux_x64_3.1.0 [-log -v backup -storage B2-duplicacy-europe -threads 16 -stats]
2023/01/20 13:28:20 Set current working directory to /opt/duplicacy/.duplicacy-web/repositories/mrb/1
2023/01/20 13:28:20 CLI stderr: panic: runtime error: slice bounds out of range [90:63]

goroutine 1 [running]:
github.com/godbus/dbus.getSessionBusPlatformAddress(0x1360580, 0x18, 0x0, 0x0)
        /Users/gchen/zincbox/go/pkg/mod/github.com/godbus/dbus@v4.1.0+incompatible/conn_other.go:30 +0x2a5
github.com/godbus/dbus.getSessionBusAddress(0x0, 0x0, 0x0, 0x0)
        /Users/gchen/zincbox/go/pkg/mod/github.com/godbus/dbus@v4.1.0+incompatible/conn.go:96 +0xf8
github.com/godbus/dbus.SessionBusPrivate(0x7fe869f6a108, 0x3, 0x13)
        /Users/gchen/zincbox/go/pkg/mod/github.com/godbus/dbus@v4.1.0+incompatible/conn.go:101 +0x25
github.com/godbus/dbus.SessionBus(0x0, 0x0, 0x0)
        /Users/gchen/zincbox/go/pkg/mod/github.com/godbus/dbus@v4.1.0+incompatible/conn.go:73 +0xb5
github.com/gilbertchen/keyring.init.0()
        /Users/gchen/zincbox/go/pkg/mod/github.com/gilbertchen/keyring@v0.0.0-20221004152639-1661cbebc508/keyring_linux.go:163 +0x34
2023/01/20 13:28:20 The CLI executable returned an error: exit status 2, exit code: 2
2023/01/20 13:28:21 Created log file /opt/duplicacy/.duplicacy-web/logs/backup-20230120-132821.log
2023/01/20 13:28:22 Running /opt/duplicacy/.duplicacy-web/bin/duplicacy_linux_x64_3.1.0 [-log -v backup -storage B2-duplicacy-europe -threads 16 -stats]
2023/01/20 13:28:22 Set current working directory to /opt/duplicacy/.duplicacy-web/repositories/mrb/2
2023/01/20 13:28:22 CLI stderr: panic: runtime error: slice bounds out of range [90:63]

goroutine 1 [running]:
github.com/godbus/dbus.getSessionBusPlatformAddress(0x1360580, 0x18, 0x0, 0x0)
        /Users/gchen/zincbox/go/pkg/mod/github.com/godbus/dbus@v4.1.0+incompatible/conn_other.go:30 +0x2a5
github.com/godbus/dbus.getSessionBusAddress(0x0, 0x0, 0x0, 0x0)
        /Users/gchen/zincbox/go/pkg/mod/github.com/godbus/dbus@v4.1.0+incompatible/conn.go:96 +0xf8
github.com/godbus/dbus.SessionBusPrivate(0x7fa4e50205b8, 0x3, 0x13)
        /Users/gchen/zincbox/go/pkg/mod/github.com/godbus/dbus@v4.1.0+incompatible/conn.go:101 +0x25
github.com/godbus/dbus.SessionBus(0x0, 0x0, 0x0)
        /Users/gchen/zincbox/go/pkg/mod/github.com/godbus/dbus@v4.1.0+incompatible/conn.go:73 +0xb5
github.com/gilbertchen/keyring.init.0()
        /Users/gchen/zincbox/go/pkg/mod/github.com/gilbertchen/keyring@v0.0.0-20221004152639-1661cbebc508/keyring_linux.go:163 +0x34
2023/01/20 13:28:22 The CLI executable returned an error: exit status 2, exit code: 2

Any suggestion what I can do to fix the problem?

Thank you.

What is the output of dbus-launch? There is a bug in github.com/godbus/dbus that can cause this out of range error if the first line of the output of dbus-launch doesn’t contain a =.

Also, the web GUI should not show Invalid Options for this kind of error. I’ll fix it in the next release.