Suddenly getting Invalid options error

Hello,

I noticed Duplicacy suddently having “Invalid options” error about 5 days ago (Nov 6). It was running smoothly previously and I did not make any changes.

dupli

b21

Anyone know what could possibly cause this? Thanks.

Post the log, up to and including the error, or search the forum for “Invalid Options” to see if one of the already discussed issues applies to you.

Here are the logs from check / backup / prune commands:

Running check command from D:/duplicacy-temp/repositories/localhost/all
Options: [-log check -storage B2 -a -tabular]
exit status 2

Running backup command from D:/duplicacy-temp/repositories/localhost/0 to back up D:/XXX
Options: [-log backup -storage B2 -threads 10 -stats]
exit status 2

Running prune command from D:/duplicacy-temp/repositories/localhost/all
Options: [-log prune -storage B2 -keep 0:180 -keep 30:90 -keep 7:30 -keep 1:7 -a]
exit status 2

Attached is the full duplicacy_web.log

Note: I am able to temporarily make it work by manually editing the cli_version to an older version:

"cli_version": "3.2.3",

in the file

C:\Users\XXX\.duplicacy-web\duplicacy.json

I think the issue is with the latest CLI version (3.2.4) which looks like was released at the same day this issue happened (Nov 6 2024)

duplicacy_web.txt (9.8 KB)

1 Like

Looks like windows specific issue. @gchen?

2024/11/10 20:42:03 CLI stderr: Exception 0xc0000005 0x8 0x0 0x0
PC=0x0

runtime.asmstdcall()
	/usr/local/go/src/runtime/sys_windows_amd64.s:65 +0x75 fp=0x22fca0 sp=0x22fc80 pc=0x4734f5
rax     0x0
rbx     0x1ca8e80
rcx     0x1d00480
rdi     0x7fffffdd000
rsi     0x22fea0
rbp     0x22fde0
rsp     0x22fc78
r8      0x0
r9      0x22fee0
r10     0x1cd1cb8
r11     0x21
r12     0x22fec0
r13     0x1
r14     0x1ca82a0
r15     0x0
rip     0x0
rflags  0x10293
cs      0x33
fs      0x53
gs      0x2b
2024/11/10 20:42:03 The CLI executable returned an error: exit status 2, exit code: 2

You’re running a fairly old version of the GUI:

2024/11/10 20:41:44 Duplicacy Web Edition 1.7.2 (1b2557)
2024/11/10 20:41:44 A different executable is set to run on start: C:\Program Files\Duplicacy Web Edition\duplicacy_web_win_x64_1.2.1.exe -background

TBH I dunno what that second line even means. 1.2.1?

GUI version 1.8.3 is the latest and you can dl it from here. (@gchen Isn’t it about time 1.8.3 was published on the main download page?)

The second line I think is due to the installer not updating the registry value for the startup during a version update but I don’t think this is causing the issue.

I rarely open the GUI so yes I am using an older version of the GUI, but as mentioned previously, the issue appears to be on the CLI version (which auto updates itself).

I’d still update the GUI if I were you, to rule it out as a cause - 1.7.2 is nearly 2 years old.

AFAIK, Duplicacy doesn’t use the registry in the Web Edition, so I’d investigate why it’s trying to run a different executable.

Personally, I’d do an uninstall and re-install (remember to run as admin if that’s how you previously did it, and to install the service if necessary). Would take 2 mins, settings will remain.

@curiosus is this on Windows 7? This looks like the exact issue at runtime: Applications will not launch in Windows 7 · Issue #64622 · golang/go · GitHub. That is, CLI 3.2.4 is built with go 1.21 which doesn’t support Windows 7 any more.

I don’t know if this is fixable; keeping the CLI at 3.2.3 might be the only option.

3 Likes

Correct, using it in an old machine.
I guess 3.2.3 will do. Thank you.

1 Like