Failed to parse the settings file

My web-ui doesn’t start any more. It keeps complaining about “the settings file”.

$ systemctl status duplicacy
● duplicacy.service - Duplicacy backup software
   Loaded: loaded (/etc/systemd/system/duplicacy.service; enabled; vendor preset: enabled)
   Active: active (running) since Wed 2020-09-30 00:56:44 CEST; 7s ago
 Main PID: 7501 (duplicacy-web)
    Tasks: 6 (limit: 4915)
   Memory: 10.9M
   CGroup: /system.slice/duplicacy.service
           └─7501 /usr/bin/duplicacy-web

Sep 30 00:56:44 server.lan systemd[1]: duplicacy.service: Succeeded.
Sep 30 00:56:44 server.lan systemd[1]: Stopped Duplicacy backup software.
Sep 30 00:56:44 server.lan systemd[1]: Started Duplicacy backup software.
Sep 30 00:56:44 server.lan duplicacy-web[7501]: Failed to parse the settings file: invalid character '"' after object key:value pair
Sep 30 00:56:44 server.lan duplicacy-web[7501]: Duplicacy Web Edition 1.4.1 (074ED2)
Sep 30 00:56:44 server.lan duplicacy-web[7501]: Starting the web server at http://127.0.0.1:3875

But the only settings file I am aware of is /.duplicay-web/settings.json and it looks like this:

$ cat /.duplicacy-web/settings.json
{
    "listening_address": "0.0.0.0:3875",
    "https_address": "",
    "https_domain": "",
    "temporary_directory": "/tmp/.duplicacy-web/repositories",
    "log_directory": "/zfs/NAS/config/.duplicacy-web/logs",
    "dark_mode": false
    "nobackup_file": ""
}

There isn’t even any “key:value pair” in that file.

What am I missing?

I think there is a missing , at the end of the line "dark_mode": false

All these lines are key:value pair sequences.

key: “dark_mode”
value: false

Oh man, thank you so much. I completely misinterpreted the error message.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.