bugy / script-server

Web UI for your scripts with execution management
Other
1.52k stars 244 forks source link

Need help to start Script-server in unix environment #684

Closed bard7969 closed 11 months ago

bard7969 commented 11 months ago

We have stopped script-server which was already running by using systemctl stop command, now while running launcher.py , we are getting below errors, please help.

]/opt/script-server# ./launcher.py 2023-07-21 17:54:19,557 [root.INFO] Starting Script Server, v1.16.0 Traceback (most recent call last): File "./launcher.py", line 11, in main.main() File "src/main.py", line 81, in main server_config = server_conf.from_json(SERVER_CONF_PATH, TEMP_FOLDER) File "src/model/server_conf.py", line 65, in from_json json_object = json.loads(file_content) File "/usr/lib64/python3.6/json/init.py", line 354, in loads return _default_decoder.decode(s) File "/usr/lib64/python3.6/json/decoder.py", line 339, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib64/python3.6/json/decoder.py", line 357, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 20 column 1 (char 441)

bugy commented 11 months ago

Hey, it looks like your conf.json file is corrupted. Please check it in some json editor for syntax issues

bard7969 commented 11 months ago

Absolutely , there was a missing comma in conf.json , after fixing its back online. Many Thanks !!