SpencerJ Posted April 21, 2021 Share Posted April 21, 2021 Great Odin's Raven! Today's blog is a guide on how to set up a dedicated Valheim server on Unraid by @spxlabs! Want to set up a co-op with fellow Unraiders? Need help troubleshooting? Let us know below in the comments. SKOL! 🛡️ https://unraid.net/blog/unraid-valheim-dedicated-server 5 1 Quote Link to comment
Snipe3000 Posted April 21, 2021 Share Posted April 21, 2021 Whats the update process? Quote Link to comment
ich777 Posted April 22, 2021 Share Posted April 22, 2021 9 hours ago, Snipe3000 said: Whats the update process? What do you mean exactly? Quote Link to comment
ChatNoir Posted April 22, 2021 Share Posted April 22, 2021 10 hours ago, Snipe3000 said: Whats the update process? 1 hour ago, ich777 said: What do you mean exactly? I would suppose that Snipe3000 thinks about the update of the server content when the gamedevs release a new version. Quote Link to comment
ich777 Posted April 22, 2021 Share Posted April 22, 2021 34 minutes ago, ChatNoir said: I would suppose that Snipe3000 thinks about the update of the server content when the gamedevs release a new version. The description actually says that you simply have to restart the container if a update of the game is released: The reason why I asked @Snipe3000 is because I implemented also a update script (because many user requested it) that will check automagically if a newer version is available every hour and restart the container if a new version is found if this variable is set to 'true': 1 Quote Link to comment
maxwell Posted April 23, 2021 Share Posted April 23, 2021 (edited) Do you know the best way to capture game logs? My understanding is that the runtime has some output into standard out about who logs in etc but doesnt save this info anywhere, I added " >> /var/log/valheim.log > /dev/null &" to GAME_PARAMS to capture it but it doesnt seem to work. So that it runs like this: /serverdata/serverfiles/valheim_server.x86_64 -name [servername] -port 2456 -world Dedicated -password [password] -public 1 >> /var/log/valheim.log > /dev/null & Edited April 23, 2021 by maxwell words Quote Link to comment
Ong Hui Hoong Posted April 23, 2021 Share Posted April 23, 2021 Hi, I have a question regarding velheim game docker server, is was OK and running with I just install the docker, but when I stop the docker and copy in my world files from my desktop, I not able to login, and keep having this log is the loop. I have the world name the same in the docker and my desktop also, all other setting is default. Anything I been missing? Anyone can help? Quote Link to comment
ich777 Posted April 23, 2021 Share Posted April 23, 2021 8 hours ago, maxwell said: So that it runs like this: It should be enough to add '>> /var/log/valheim.log', no guarantee that this works... What you can actually do is to set the Variable Debug Log output to 'true' and then add '>> /var/log/valheim.log' (this is very verbose!). But keep in mind that you save it to /var/log directory inside the container, wouldn't it be better to save the log to the server directory? Isn't the Docker log enough? 7 hours ago, Ong Hui Hoong said: Anything I been missing? Something seems wrong with the save game. From what I've see the container has also problems to connect to the internet, are you sure that the container has exclusive access to the internet without any blocking software like PiHole or Steam Cache in front of it? Please go to the support thread from the container and read the second recommended post in the game server thread. 1 Quote Link to comment
spxlabs Posted April 23, 2021 Share Posted April 23, 2021 @ich777 You made this? . . . . . I made this. Quote Link to comment
ich777 Posted April 23, 2021 Share Posted April 23, 2021 2 hours ago, spxlabs said: @ich777 You made this? . . . . . I made this. What do you mean exactly? 😅 You made this beautiful guid/tutorial... 😍 I'm only here to give support for the container itself. 1 Quote Link to comment
maxwell Posted April 23, 2021 Share Posted April 23, 2021 17 hours ago, ich777 said: Quote It should be enough to add '>> /var/log/valheim.log', no guarantee that this works... What you can actually do is to set the Variable Debug Log output to 'true' and then add '>> /var/log/valheim.log' (this is very verbose!). But keep in mind that you save it to /var/log directory inside the container, wouldn't it be better to save the log to the server directory? Isn't the Docker log enough? Thanks for the response, The Docker log doesnt have specific game information, I'm trying to see who logs on and when and store this information somewhere. Doing it like this doesnt seem to generate any output unfortunately... Quote Link to comment
spxlabs Posted April 24, 2021 Share Posted April 24, 2021 10 hours ago, ich777 said: What do you mean exactly? 😅 You made this beautiful guid/tutorial... 😍 I'm only here to give support for the container itself. It’s just a meme I saw once. Glad you are answering all the questions because uh, idk anything. 1 Quote Link to comment
ich777 Posted April 24, 2021 Share Posted April 24, 2021 6 hours ago, maxwell said: Thanks for the response, The Docker log doesnt have specific game information, I'm trying to see who logs on and when and store this information somewhere. Doing it like this doesnt seem to generate any output unfortunately... Go to your template and click on 'Show more...' and set 'Debug Log output' to 'true' this will show you everything including who does log on and off, but as said above this is very verbose. Quote Link to comment
maxwell Posted April 24, 2021 Share Posted April 24, 2021 1 hour ago, ich777 said: Go to your template and click on 'Show more...' and set 'Debug Log output' to 'true' this will show you everything including who does log on and off, but as said above this is very verbose. That works, thank you! 1 Quote Link to comment
falconz Posted April 25, 2021 Share Posted April 25, 2021 Has any one figured out how to get mods into the container? Eg: InSlimVML mod loader. BepInEx mod loader Quote Link to comment
ich777 Posted April 25, 2021 Share Posted April 25, 2021 22 minutes ago, falconz said: Has any one figured out how to get mods into the container? Please don't double post, already answered here: Quote Link to comment
Tzundoku Posted June 18, 2021 Share Posted June 18, 2021 Hey, thanks for this! I'm having moments of brain lags and can't think through on how to properly configure subdomain redirection on a dynamic IP using cloudflare and duckdns. I'm supposed to add an A record in cloudflare which redirects valheim.mydomain.com to my external IP. Not sure how to properly configure this so it follows duckns? Quote Link to comment
ich777 Posted June 18, 2021 Share Posted June 18, 2021 1 hour ago, Tzundoku said: I'm having moments of brain lags and can't think through on how to properly configure subdomain redirection on a dynamic IP using cloudflare and duckdns. Why would you do that? If you have your IP exposed you can simply join from ingame with your domainname: yourdomain.net since the game will resolve "yourdomain.net" to something like 5.10.246.31 (only an example of a public IP) and it automatically adds the default port 2456 If you have a second container running on your machine simply enter (depending on the port that you've exposed): yourdomain.net:2556 for example. Hope that makes sense to you... Quote Link to comment
Tzundoku Posted June 18, 2021 Share Posted June 18, 2021 38 minutes ago, ich777 said: Why would you do that? If you have your IP exposed you can simply join from ingame with your domainname: yourdomain.net since the game will resolve "yourdomain.net" to something like 5.10.246.31 (only an example of a public IP) and it automatically adds the default port 2456 If you have a second container running on your machine simply enter (depending on the port that you've exposed): yourdomain.net:2556 for example. Hope that makes sense to you... I thought I had to! I have my ip proxied through cloudflare, unsure if that counts. I just tried adding a CNAME that points valheim.mydomain.com to mydomain.duckns.com, doesn't seem to work though. Just tried accessing through IP and that didn't work either though, so my issue is probably related to my mikrotik router settings not playing well with the containers' fixed IP assigned through unraid (although I can ping the container, its not showing up on my routers IP leases so possible issue there with forwarding traffic). Thanks for the reply! 1 Quote Link to comment
ich777 Posted June 18, 2021 Share Posted June 18, 2021 12 minutes ago, Tzundoku said: Thanks for the reply! Please go to the support thread from the Valheim Container and look at the second recommended post on top of the thread, eventually you'll find the answer there. 1 Quote Link to comment
alexrentier Posted September 26, 2021 Share Posted September 26, 2021 (edited) Well at least they wrote about the changes, otherwise I used to suffer for a long time thinking about work failures!! Edited December 30, 2022 by alexrentier Quote Link to comment
Nightfall Posted October 17, 2021 Share Posted October 17, 2021 Good Day I did everything related to the Blog, the Docker container is running but I can't find it locally and just overall i am not sure whats the problem. Quote Link to comment
ich777 Posted October 17, 2021 Share Posted October 17, 2021 3 hours ago, Nightfall said: I did everything related to the Blog, the Docker container is running but I can't find it locally and just overall i am not sure whats the problem. Everything seems fine and the container is running like it should. Please go to the support thread for the container, also @luckyy has made a pretty good writeup here: Also please post a screenshot from your template in the support thread. Quote Link to comment
Tibbe Posted October 27, 2021 Share Posted October 27, 2021 I'm trying to copy over an old Dedicated.db and Dedicated.fwl from another server but on server/Docker start those two files get overwritten for some reason. Quote Link to comment
ich777 Posted October 28, 2021 Share Posted October 28, 2021 9 hours ago, Tibbe said: I'm trying to copy over an old Dedicated.db and Dedicated.fwl from another server but on server/Docker start those two files get overwritten for some reason. Please go to the support thread for the container, I've linked you here a good write up from @luckyy: I can only imagine that the world is not compatible with the server, are you sure that you've named the world in the template exactly the same as it where before, otherwise it won't work. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.