lloesche / valheim-server-docker

Valheim dedicated gameserver with automatic update, World backup, BepInEx and ValheimPlus mod support
https://hub.docker.com/r/lloesche/valheim-server
Apache License 2.0
1.94k stars 272 forks source link

Exception building heightmaps, then server never starts listening for traffic? #466

Open joshuacohen opened 2 years ago

joshuacohen commented 2 years ago

Hi,

I'm trying to spin up a container with a fresh world in a VM running Ubuntu Server 18.04. I started the container using the following command:

docker run -d --name valheim-server -p 2456-2458:2456-2458/udp -v $HOME/valheim-server-config:/config -e SERVER_NAME="<Snip>" -e WORLD_NAME="<Snip>" -e SERVER_PASS="<Snip>" lloesche/valheim-server

According to the the last few lines of this log file Unity hits an exception generating heightmaps (presumably as part of worldgen) and then the server never starts listening to port 2456.

I have not tried using a preexisting world.

Apologies if this is a dupe; I couldn't find any other issues with the offending log lines.

Thanks for your time!

valheim_docker_log.txt

TheHades commented 2 years ago

Just a guess.. Does this error occur, if you use a password which is longer than 5 characters?

Mar 16 23:54:17 /supervisord: valheim-server 03/16/2022 23:54:17: Error bad password:Invalid password

joshuacohen commented 2 years ago

It does! The original password was 8 characters; I just retested with a 5 char password and it worked! I don't know if this is intended behavior or not... feel free to close this issue out if it is