-
Notifications
You must be signed in to change notification settings - Fork 270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot launch ValheimPlus on my Synology 1520+ using Docker #615
Comments
Hi, same behavior for me. It's working fine without "Plus", but keep restarting with env variable "VALHEIM_PLUS=true"
|
@Marc-- @nkornaros The issue is actually with the latest Valheim+ release. issue #803 If you use the "community fix version" (as suggested in the linked issue) the server instance should start fine. Use the
Or just add |
@nmartin867 I'll give it a try, I checked the other issues but did not do the match it to my issue thanks for the pointer and I'll keep you posted. |
@nmartin867 Thank you, it's working great with the community release of Valheim+. Great job with Valheim server, it makes me try Docker, and now i've a portainer install with 11 containers and i learn a lot ! |
@Marc-- Glad to hear it's working out. |
@nmartin867 and anyone who knows, despite using the env variables:
I have the feeling it is not downloading it and using the previous downloaded version, do you know how to force it? Do I have to delete a part of the data folders? Or all of it? See attached logs and screenshot? Sorry if the question is silly, but I do not want to mess up everything.
|
Actually, @nmartin867 , I used one env variable that enables the docker to re-download the V+ mod (DEBUG_REINSTALL_VALHEIM_PLUS=true) but actually, it seems it does not take the VALHEIM_PLUS_REPO in account as shown in the logs: It seems to take the default repo and not the one specified in the Environment variables |
@nkornaros it definitely will use the repo specified in The bash script does, however, check to see if a newer version is available. I'd have to revisit the source code to see if that's the issue. I would suggest creating a fresh image. If you already have worlds you don't want to loose you can copy them into If you are still having an issue let me know. I can post a docker-compose.yaml and valheim.env that should work. |
@nmartin867 I did a few more tests on my side and even put a dumb value in the Wondering if it's something with Syno or something else, I am really stuck here. What I can imagine is forking the project and testing by putting the value hardcoded, but this is super ugly... Any suggestion? |
@nkornaros how do you use environment variables with Syno? Is it with an ".env" file? I ask because on my setup (Openmediavault/Portainer) I was bothered with the .env file. Edit: "A picture paints a thousand words" |
@nmartin867 On Syno it is also via a web UI see below as you said an image is better than words: I have indeed tested multiple variables, the world name, the password, the switch for the V+ mod, and the release to use and they work fine, only the repo seems to be ignored. I need to test one a two other things, but honestly I am not getting why there is such issue... |
@nmartin867 tried a few more things, and was able to confirm that the environment variable is properly passed to the container by logging using a terminal and executing the command normally done by the script: I am even more lost now... I do not get why when launching the container the script does not take the correct value... |
@nkornaros I was running into the same issue as you, the variable looked to be working but it was being ignored. I was able to fix this by deleting the "ghcr.io/lloesche/valheim-server" image from my repo and redownloading it. For whatever reason mine was still from 6 months ago. Now it's from 4 weeks ago and the VALHEIM_PLUS_RELEASE var is working. Hope this helps you. |
@Nirinjan how can I check the date of image, normally, I already tried to force the download of the newest version of the image, but it's worth a try |
I'm not using a Synology so don't know if there are any differences but here's what I did:
give me the list of images
Then to delete the image, since my image ID is 101e470a46b3, I'd do:
From there |
Ah! @Nirinjan it worked!
|
Hi everyone,
Just tried to spin up my docker hosting my Valheim server and enabling the ValheimPlus mod (after having played already a bit the vanilla version).
Everything seems to go well: installing, getting the mod, the config files are created, but once it tries to start and load the different configuration, it fails repeateadly when launching the server with an epic segfault, it then retries a few times and ends up giving up.
You can see in the logs attached if you want more details, but on my side I am puzzled as to why it segfaults like this...
Valheim-Server.csv
The text was updated successfully, but these errors were encountered: