Failed to start Start MineOS miunecraft front-end

I have just installed MineOS onto my ubuntu 20 server and am getting this error when attempting to do systemctl start mineos

journalctl -xe

Mar 12 23:49:40 server systemd[1]: mineos.service: New main PID 15607 does not exist or is a zombie.
Mar 12 23:49:40 server systemd[1]: mineos.service: Failed with result ‘protocol’.
– Subject: Unit failed
– Defined-By: systemd
– Support: Enterprise open source support | Ubuntu

– The unit mineos.service has entered the ‘failed’ state with result ‘protocol’.
Mar 12 23:49:40 server systemd[1]: Failed to start Start MineOS minecraft front-end.
– Subject: A start job for unit mineos.service has failed
– Defined-By: systemd
– Support: Enterprise open source support | Ubuntu

– A start job for unit mineos.service has finished with a failure.

– The job identifier is 3344 and the job result is failed.
Mar 12 23:49:40 server systemd[1]: mineos.service: Scheduled restart job, restart counter is at 4.
– Subject: Automatic restarting of a unit has been scheduled
– Defined-By: systemd
– Support: Enterprise open source support | Ubuntu

– Automatic restarting of the unit mineos.service has been scheduled, as the result for
– the configured Restart= setting for the unit.
Mar 12 23:49:40 server systemd[1]: Stopped Start MineOS minecraft front-end.
– Subject: A stop job for unit mineos.service has finished
– Defined-By: systemd
– Support: Enterprise open source support | Ubuntu

– A stop job for unit mineos.service has finished.

– The job identifier is 3434 and the job result is done.
Mar 12 23:49:40 server systemd[1]: Starting Start MineOS minecraft front-end…
– Subject: A start job for unit mineos.service has begun execution
– Defined-By: systemd
– Support: Enterprise open source support | Ubuntu

– A start job for unit mineos.service has begun execution.

– The job identifier is 3434.
Mar 12 23:49:40 server node[15621]: Starting mineos daemon…
Mar 12 23:49:41 server node[15621]: mineos daemon failed to start: Module ‘/usr/games/minecraft/webui.js’ stopped unexpected
Mar 12 23:49:41 server systemd[1]: mineos.service: New main PID 15628 does not exist or is a zombie.
Mar 12 23:49:41 server systemd[1]: mineos.service: Failed with result ‘protocol’.
– Subject: Unit failed
– Defined-By: systemd
– Support: Enterprise open source support | Ubuntu

– The unit mineos.service has entered the ‘failed’ state with result ‘protocol’.
Mar 12 23:49:41 server systemd[1]: Failed to start Start MineOS minecraft front-end.
– Subject: A start job for unit mineos.service has failed
– Defined-By: systemd
– Support: Enterprise open source support | Ubuntu

– A start job for unit mineos.service has finished with a failure.

– The job identifier is 3434 and the job result is failed.
Mar 12 23:49:41 server systemd[1]: mineos.service: Scheduled restart job, restart counter is at 5.
– Subject: Automatic restarting of a unit has been scheduled
– Defined-By: systemd
– Support: Enterprise open source support | Ubuntu

– Automatic restarting of the unit mineos.service has been scheduled, as the result for
– the configured Restart= setting for the unit.
Mar 12 23:49:41 server systemd[1]: Stopped Start MineOS minecraft front-end.
– Subject: A stop job for unit mineos.service has finished
– Defined-By: systemd
– Support: Enterprise open source support | Ubuntu

– A stop job for unit mineos.service has finished.

– The job identifier is 3524 and the job result is done.
Mar 12 23:49:41 server systemd[1]: mineos.service: Start request repeated too quickly.
Mar 12 23:49:41 server systemd[1]: mineos.service: Failed with result ‘protocol’.
– Subject: Unit failed
– Defined-By: systemd
– Support: Enterprise open source support | Ubuntu

– The unit mineos.service has entered the ‘failed’ state with result ‘protocol’.
Mar 12 23:49:41 server systemd[1]: Failed to start Start MineOS minecraft front-end.
– Subject: A start job for unit mineos.service has failed
– Defined-By: systemd
– Support: Enterprise open source support | Ubuntu

– A start job for unit mineos.service has finished with a failure.

– The job identifier is 3524 and the job result is failed.

systemctl status mineos.service

● mineos.service - Start MineOS minecraft front-end
Loaded: loaded (/etc/systemd/system/mineos.service; enabled; vendor preset: enabled)
Active: failed (Result: protocol) since Sun 2023-03-12 23:49:41 UTC; 12min ago
Process: 15621 ExecStart=/usr/bin/node service.js start (code=exited, status=0/SUCCESS)

Mar 12 23:49:41 server systemd[1]: mineos.service: Scheduled restart job, restart counter is at 5.
Mar 12 23:49:41 server systemd[1]: Stopped Start MineOS minecraft front-end.
Mar 12 23:49:41 server systemd[1]: mineos.service: Start request repeated too quickly.
Mar 12 23:49:41 server systemd[1]: mineos.service: Failed with result ‘protocol’.
Mar 12 23:49:41 server systemd[1]: Failed to start Start MineOS minecraft front-end.

How do I fix this issue?

check and see if /usr/bin/node exists. If it doesn’t you need to have a copy of the node binary there.

Where can i find the node binary to put it there?

Ok so i fixed the first problem which was that i wasn’t installing as root, but now when i start the server up and go into the panel, nothing shows whatsoever, nothing in my import folder and it doesnt even show the server as active

Sorry for the third reply but if it helps when i run ./webui.js it spits out this
Uncaught Exception: Error: listen EADDRINUSE: address already in use 0.0.0.0:8443
Error: listen EADDRINUSE: address already in use 0.0.0.0:8443
at Server.setupListenHandle [as _listen2] (net.js:1331:16)
at listenInCluster (net.js:1379:12)
at doListen (net.js:1516:7)
at processTicksAndRejections (internal/process/task_queues.js:83:21)
About to exit with code 1