When I started my machine today my monitor was black for some reason and it took a few hard resets and unplugging and replugging before it worked again. When I got to my desktop, Duplicacy gave a popup saying it couldn’t load duplicacy.json .
duplicacy.log says:
2020/09/03 19:21:46 127.0.0.1:54597 GET /assets/img/product-icon.png 2020/09/04 18:40:08 Temporary directory set to C:\Users\Raf/.duplicacy-web/repositories 2020/09/04 18:40:08 Schedule Backup next run time: 2020-0904 18:45 2020/09/04 18:40:08 Schedule Maintenance next run time: 2020-0905 18:30 2020/09/04 18:40:08 Duplicacy Web Edition 1.4.1 (074ed2) 2020/09/04 18:40:08 Skipped the latest CLI version 2.6.2 released less than 30 days ago 2020/09/04 18:40:08 Duplicacy CLI 2.6.1 2020/09/04 18:45:01 Starting schedule Backup at scheduled time 2020-0904 18:45 2020/09/04 18:45:01 Created log file C:\Users\Raf/.duplicacy-web/logs/backup-20200904-184501.log 2020/09/04 18:45:01 Running C:\Users\Raf/.duplicacy-web/bin/duplicacy_win_x64_2.6.1.exe [-log backup -storage Duplicacy_B2 -stats] 2020/09/04 18:45:01 Set current working directory to C:\Users\Raf/.duplicacy-web/repositories/localhost/0 2020/09/04 18:48:20 Failed to parse the configuration file: invalid character '\x00' looking for beginning of value 2020/09/04 18:54:00 Temporary directory set to C:\Users\Raf/.duplicacy-web/repositories 2020/09/04 18:54:00 Schedule Backup next run time: 2020-0904 19:00 2020/09/04 18:54:00 Schedule Maintenance next run time: 2020-0905 18:30 2020/09/04 18:54:00 Duplicacy Web Edition 1.4.1 (074ed2) 2020/09/04 18:54:00 127.0.0.1:50378 GET / 2020/09/04 18:54:00 Failed to parse the stats file C:\Users\Raf/.duplicacy-web/stats/schedules/Backup.stats: invalid character '\x00' looking for beginning of value 2020/09/04 18:54:00 The log file prune-20200805-183001.log has been deleted 2020/09/04 18:54:00 The log file check-20200805-183039.log has been deleted 2020/09/04 18:54:00 127.0.0.1:50378 GET /assets/js/jquery-1.10.2.min.js 2020/09/04 18:54:00 127.0.0.1:50378 GET /assets/css/bootstrap.min.css
Opening the json file revealed binary gibberish:
I noticed there was a duplicate of the config file with a hash at the end next to the corrupted original. I renamed the copy to duplicacy.json and was able to start Duplicacy Web again. This screenshot is from after the renaming, .weird
is the original one.
I noticed my stats were incorrect, and that also showed up in the log as you can see above. So I renamed the stats file, ran a check
, and a new one was created.
I suppose that the repeated restarting (before I was logged in) had something to do with it, but at the moment only Duplicacy seems to be affected, and it doesn’t start until after I login, so it’s a bit puzzling.