NearW / minecraft-speedrun

Server configuration for a speedrun server
8 stars 1 forks source link

Error with server.js #10

Closed dubloch closed 3 years ago

dubloch commented 3 years ago

Bild_2021-07-21_141133

How can I fix that?

NearW commented 3 years ago

The files

must be within the same directory.

Also make sure to execute the shell script from that directory as well.

If this didn't help, it would be great if you could provide a screenshot of your files within that folder.

dubloch commented 3 years ago

Bild_2021-07-21_153229

I'm starting the Start.sh with "sudo ./Start.sh"

I also gave those files +x rights. But it still doesn't work.

NearW commented 3 years ago

That's super weird.

You can also simply open the terminal and run node server.js to start the script.

I'll try to look into this asap and I hope this workaround does thr trick for you for now.

dubloch commented 3 years ago

The workaround did work. Thanks! :D Still weird why I can start it like that but not with Start.sh. Still thanks for your fast help. :)

NearW commented 3 years ago

Perfect. The code inside the shell-script doesn't work on your operating system. I'd love to fix that.

What operating system and which distribution are you using?

GL running! o/

dubloch commented 3 years ago

I'm using a VPS with Ubuntu 20.04.

NearW commented 3 years ago

@dubloch

Can you try executing sh ./Start.sh instead?

dubloch commented 3 years ago

Bild_2021-07-25_162446

Still the same error

NearW commented 3 years ago

One last try before I'll get my own ubuntu instance running to fix this issue:

https://github.com/NearW/minecraft-speedrun/releases/tag/1.4.1 Try this Start.sh file and execute it like this ./Start.sh

dubloch commented 3 years ago

It works now. Thank you so much. Started it with sudo ./Start.sh You are a great guy, keep the work up. :D