Can't get server to startSolved

I have a Linux VPS to test. I installed everything by the guide here https://umod.org/games/valheim/guide, and I encountered a problem with starting the server.

[email protected]:/home/valheim# umod launch
launcher.sh: 1: #!/bin/bash: not found
​

Could you show me what "which bash" and "echo $SHELL" shows?

I believe Calytic made some changes to that, so if you could, please update the uMod Agent using the initial setup here https://umod.org/agent and then try again. If you still have issues, you can always use the .sh that came with your server directly for launching.

The server is starting, but I can't connect to it. The firewall on the server side is set up. 

02/22/2021 09:19:19: Got session request from 76561############

(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

STEAMPS3 - AsyncTCPSocket created
STEAMPS3 - AsyncTCPSocket created
STEAMPS3 - AsyncTCPSocket created
STEAMPS3 - AsyncTCPSocket created
02/22/2021 09:19:34: Got connection failed callback: 76561############

(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

02/22/2021 09:19:34: Closing socket 76561############

(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

02/22/2021 09:19:34:   send queue size:0

(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

02/22/2021 09:19:34:   P2P state, bytes in send queue:0

(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

STEAMPS3 - AsncTCPSocket destroyed
STEAMPS3 - AsncTCPSocket destroyed
STEAMPS3 - AsncTCPSocket destroyed
STEAMPS3 - AsncTCPSocket destroyed
02/22/2021 09:19:34: Disposing socket

(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

02/22/2021 09:19:34: Closing socket 0

(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

02/22/2021 09:19:34: Disposing socket

(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

02/22/2021 09:19:34: Closing socket 0

(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
​


Merged post

Update:
I changed the hosting provider and the problem is solved. Another problem I encountered was that changing start_server.sh did nothing. Now I know, that I should change the launcher.sh file for settings.

Merged post

One more question. How to run "umod launch" in the background? "umod launch &" doesn't help, I see the process but seems that the server is not starting

Merged post

So nohup helped. Closing
Locked automatically