bugy / script-server

Web UI for your scripts with execution management
Other
1.6k stars 249 forks source link

Code Exited, Status=2 #548

Open RTLucht opened 2 years ago

RTLucht commented 2 years ago

I am trying to run scipt-server as a service and I am getting a code=exited, status 2

I am running this on Ubuntu Server

● script-server.service - Script Server Loaded: loaded (/lib/systemd/system/script-server.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Wed 2022-04-06 19:18:38 UTC; 292ms ago Process: 284577 ExecStart=/usr/bin/python3 /any/path/script-server/launcher.py (code=exited, status=2) Main PID: 284577 (code=exited, status=2)

Apr 06 19:18:38 txll-uv-rpt01 systemd[1]: /lib/systemd/system/script-server.service:1: Assignment outside of section. Ignoring. core@txll-uv-rpt01:~$ sudo systemctl restart script-server.service core@txll-uv-rpt01:~$ sudo systemctl status script-server.service ● script-server.service - Script Server Loaded: loaded (/lib/systemd/system/script-server.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Wed 2022-04-06 19:19:30 UTC; 456ms ago Process: 284711 ExecStart=/usr/bin/python3 /any/path/script-server/launcher.py (code=exited, status=2) Main PID: 284711 (code=exited, status=2)

bugy commented 2 years ago

Hi @RTLucht could you check server logs please? I believe they should be in /any/path/script-server/logs/server.log