YunoHost-Apps / code-server_ynh

Code-server packaged for YunoHost
https://github.com/cdr/code-server
MIT License
6 stars 2 forks source link

After update failed to start #92

Open stepcellwolf opened 1 month ago

stepcellwolf commented 1 month ago

Describe the bug

After upgrading to latest version of code-server is failing to start. see details bellow.

Context

Expected behavior

It should work without any problems no env settings have been changed.

Logs

-- Journal begins at Sat 2024-05-04 12:52:18 UTC, ends at Fri 2024-05-17 08:44:47 UTC. -- May 16 14:21:46 systemd[1]: Stopping VS Code Server... May 16 14:21:46 systemd[1]: code-server.service: Succeeded. May 16 14:21:46 systemd[1]: Stopped VS Code Server. May 16 14:21:46 systemd[1]: code-server.service: Consumed 27.814s CPU time. May 16 14:21:53 systemd[1]: Started VS Code Server. May 16 14:21:53 systemd[1]: code-server.service: Main process exited, code=exited, status=1/FAILURE May 16 14:21:53 systemd[1]: code-server.service: Failed with result 'exit-code'. May 17 08:43:50 systemd[1]: Started VS Code Server. May 17 08:43:50 systemd[1]: code-server.service: Main process exited, code=exited, status=1/FAILURE May 17 08:43:50 systemd[1]: code-server.service: Failed with result 'exit-code'. May 17 08:43:55 systemd[1]: Started VS Code Server. May 17 08:43:55 systemd[1]: code-server.service: Main process exited, code=exited, status=1/FAILURE May 17 08:43:55 systemd[1]: code-server.service: Failed with result 'exit-code'. May 17 08:44:01 systemd[1]: Started VS Code Server. May 17 08:44:02 systemd[1]: code-server.service: Main process exited, code=exited, status=1/FAILURE May 17 08:44:02 systemd[1]: code-server.service: Failed with result 'exit-code'.

pihomeserver commented 1 month ago

Same issue here. I tried to start it manually via command line and that's due to an error with toidentifier lib in node_modules at line 26

For a quick update : https://github.com/hoobs-org/HOOBS/issues/1807#issuecomment-1153437941

The workaround worked