-
Notifications
You must be signed in to change notification settings - Fork 12
Description
Just tried using the Non-UI version to perform batch upload. But it simply doesn't work.
Below is the command line I use based on example:
java -jar ~/remotesync.jar -url https://example.piwigo.com -usr demouser -pwd demopassword -dir /absolute/folder/path -tsslc true -cs 500 -debug
Of course I use the real one in practice. Nevertheless, I only got below outputs:
15:13:29.680 [main] DEBUG o.piwigo.remotesync.api.AbstractMain - Debug is enabled
15:13:29.697 [main] DEBUG o.p.r.api.conf.ConfigurationUtil - no userConfig file found
15:13:29.700 [main] DEBUG org.piwigo.remotesync.api.Main - will start batch Remotesync
And the app exits itself with exit code of 0. Strange...
If using 0.14 and 0.13 version, the same command line without -debug flag will initialize the sync as expected:
14:22:22.742 [main] INFO o.piwigo.remotesync.api.sync.SyncJob - User demouser will sync gallery https://example.piwigo.com with directory /absolute/folder/path
14:22:22.846 [main] INFO o.p.r.api.sync.SyncDirectoryWalker - will create album for /absolute/folder/path/PhotoLibs/
14:22:22.847 [main] INFO o.p.r.api.sync.ConnectedWalker - Connecting...
14:22:29.002 [main] INFO o.p.r.api.sync.ConnectedWalker - Connect successful
14:22:32.501 [main] INFO o.p.r.api.sync.SyncDirectoryWalker - will upload image for /absolute/folder/path/PhotoLibs/Photo1.jpg in album with id 1745
...
The test is done on a Debian Buster ARM32 setup with OpenJDK:
$ java -version
openjdk version "11.0.13" 2021-10-19
OpenJDK Runtime Environment (build 11.0.13+8-post-Debian-1deb10u1)
OpenJDK Server VM (build 11.0.13+8-post-Debian-1deb10u1, mixed mode)
I also tried the this non-ui version on a laptop with Fedora 35:
$ java -version
openjdk version "11.0.13" 2021-10-19
OpenJDK Runtime Environment 18.9 (build 11.0.13+8)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.13+8, mixed mode, sharing)
Same result.
Surprisingly, the 1.0-beta UI version works on the same laptop, though it seems to use CPU very hard.
Some my folder names are in Chinese, which only seems to work with 1.0-beta version. Hence I would like to see 1.0-beta non-ui works as its ui counterpart and its predecessors.
Thanks,