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.93k stars 271 forks source link

Can't enable Bepinex, "Bepinex updater" doesn't work #665

Open a-sala7 opened 6 months ago

a-sala7 commented 6 months ago

When setting BEPINEX=true server startup fails

supervisord: valheim-updater DEBUG - [38] - BepInEx is enabled - running updater
supervisord: valheim-updater curl: (22) The requested URL returned error: 404 
supervisord: valheim-updater FATAL - Error: could not retrieve BepInEx release info from Thunderstore.io API
supervisord: valheim-updater ERROR - Failed to run BepInEx updater - retrying later - check your networking and volume access permissions

After some investigating, it turns out this is because it calls https://valheim.thunderstore.io/api/experimental/package/denikson/BepInExPack_Valheim/ which doesn't work anymore, https://thunderstore.io/api/experimental/package/denikson/BepInExPack_Valheim/ works (just removing the valheim subdomain)

I'll try making this change locally and I'll submit a PR if it fixes the issue.

a-sala7 commented 6 months ago

Yeah that did it, the server runs fine now.
I submitted a PR at #666 Huge thanks for your great work with this image btw :)

alx377 commented 6 months ago

Thanks for the solution.

erNail commented 6 months ago

For anyone looking for a workaround until Pull Request #666 is merged: https://github.com/lloesche/valheim-server-docker/pull/666#issuecomment-2028473407

TwattyBollox commented 5 months ago

Thanks everyone .... that was a bit of a headache until I found this !!