Skip to content
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

[BUG] Incompatible version when using dedicated server on Linux host #436

Open
jordan2718 opened this issue Sep 26, 2024 · 4 comments
Open

Comments

@jordan2718
Copy link

Details: Mod version check fails, shows server has not loaded mods using Jotunn
Jotunn Version: 2.20.3
Jotunn Submodule(if applicable):
Repeatability(Consistent(100%), Inconsistent(50%), Rare(1%), Unknown(==1)): 100%

Problem Description:
I run Valheim dedicated server from a Linux server running AMP. When installing a mod that uses Jotunn the mod doesn't load however in the logs I do see the lines to say the mods are loading. When connecting to the server I get the version mismatch error. I have tested with using both container and non container versions in AMP and also with the docker container on UnRAID (which has worked for me in the past with these same mods but not since the latest Valheim update). As a test I did try running a dedicated server from Steam on my Windows client PC and it works from there without issue so seems to not work with any of the Linux versions. I have uploaded logs from both the windows and Linux connections.

Expected Behaviour:
Came should connect as versions do match and log shows mods have been loaded.

Actual Behaviour:
version mismatch showing mods not loaded on server

Files have been uploaded to the below links. Included are 2 client log files from the same machine, one connecting to the windows based server and the other connecting to the linux based server. 2 screenshots, one showing the error in game and another with a snip from the console output on the linux server that I think could be related to the issue (I don't see this error on the windows console). Last 2 files are the logs from the 2 servers.
Client - LogOutput - windows.log
Client - LogOutput-Linux.log
Screenshot 2024-09-26 080948
Screenshot 2024-09-26 081107
Server - LogOutput - Windows.log
Server - LogOutput-Linux.log

@jordan2718 jordan2718 changed the title [BUG] [BUG] Incompatible version when using dedicated server on Linux host Sep 26, 2024
@MSchmoecker
Copy link
Member

MSchmoecker commented Sep 27, 2024

Can you try to disable Better Networking or disable the compression? The version package from the client could not be deserialized properly on the server, so this sounds like the most likely conflict

@jordan2718
Copy link
Author

Thanks, I did try without that and it still didn't work but took your advice that it is likely a conflict and removed all but XPortal and ExpertExplorers. The issue still remained. I removed ExpertExplorers and the issue resolved. I'll raise an issue on the ExpertExplorers page. Looking at the change log that mod has has version identity issues in the past so could be an issue again. Thanks for the help 👍

@MSchmoecker
Copy link
Member

MSchmoecker commented Oct 5, 2024

Found the root cause: https://github.com/MysteriousMilk/ExpertExplorer/blob/44d758818830d435ecaa18d8e7a3b239fed6ca91/ExpertExplorer/ExpertExplorer.cs#L24, the ExpertExplorer mod is only specifying two version digits instead of three. BepInEx handles this fine but Jotunn does not. Will reopen until fixed in Jotunn

@MSchmoecker MSchmoecker reopened this Oct 5, 2024
@MSchmoecker
Copy link
Member

Fixed in 24b426b, will be released with the 2.21.0 update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants