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

0.8 Linux Server not loading BepInEx #41

Closed
maximum-pixels opened this issue Feb 19, 2021 · 9 comments
Closed

0.8 Linux Server not loading BepInEx #41

maximum-pixels opened this issue Feb 19, 2021 · 9 comments

Comments

@maximum-pixels
Copy link

maximum-pixels commented Feb 19, 2021

I installed a fresh copy of the valheim dedicated server via steamCMD, then applied the files from the 0.8 UnixServer.zip release.

When running ./run_bepinx.sh I get this console output immediately and then the server proceeds to start normally.

Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.AIModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.AccessibilityModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.AndroidJNIModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.AnimationModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.AssetBundleModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.AudioModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.ClothModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.ClusterInputModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.ClusterRendererModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.CoreModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.CrashReportingModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.DSPGraphModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.DirectorModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.GameCenterModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.GridModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.HotReloadModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.IMGUIModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.ImageConversionModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.InputModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.InputLegacyModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.JSONSerializeModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.LocalizationModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.ParticleSystemModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.PerformanceReportingModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.PhysicsModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.Physics2DModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.ProfilerModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.ScreenCaptureModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.SharedInternalsModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.SpriteMaskModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.SpriteShapeModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.StreamingModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.SubstanceModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.SubsystemsModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.TLSModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.TerrainModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.TerrainPhysicsModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.TextCoreModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.TextRenderingModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.TilemapModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.UIModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.UIElementsModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.UNETModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.UmbraModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.UnityAnalyticsModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.UnityConnectModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.UnityTestProtocolModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.UnityWebRequestModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.UnityWebRequestAssetBundleModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.UnityWebRequestAudioModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.UnityWebRequestTextureModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.UnityWebRequestWWWModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.VFXModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.VRModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.VehiclesModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.VideoModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.WindModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.XRModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/assembly_steamworks.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/assembly_lux.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/assembly_valheim.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/assembly_guiutils.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.UI.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/assembly_sunshafts.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/assembly_googleanalytics.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/assembly_postprocessing.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/assembly_simplemeshcombine.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/assembly_utils.dll.so

Note: the characters between Mono/ and /mono/aot-cache change every startup.

When connecting with a client that has mod version 0.8 and the same config installed (as verified in the startup screen of the game), I get this message when trying to connect (on the server log):

02/19/2021 18:10:40: Got session request from 76561198011578452

(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

02/19/2021 18:10:44: Got handshake from client 76561198011578452

(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

02/19/2021 18:10:47: VERSION check their:0.145.6@0.8@E9BFFE8258E79DAA3B251E217620484F  mine:0.145.6

(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

02/19/2021 18:10:47: Peer 76561198011578452 has incompatible version, mine:0.145.6 remote 0.145.6@0.8@E9BFFE8258E79DAA3B251E217620484F

This results in a "Incompatible Version" error when trying to join the server.

How I setup the server (ubuntu 20.04 LTS):

  • Install SteamCMD
  • Use steamcmd to install the dedicated server to /home/gamesusers/serverfiles/ (i.e. valheim_server.x86_64 is in that folder)
  • Download the 0.8 UNIX_server.zip onto my PC, extract it, modify config values to match what I had in 0.6)
  • rsync that folder up to the server so that /home/gamesusers/serverfiles/BepInEx and so on exist
  • chowned all files and folders in /home/gamesusers/serverfiles/ to gamesuser:gamesuser
  • run /home/gamesusers/serverfiles/run_bepinx.sh
@maximum-pixels
Copy link
Author

cfg excerpt (same on client and server)

[Server]
enabled=false
maxPlayers=10
disableServerPassword=false
enforceConfiguration=false
enforceMod=false

@maximum-pixels
Copy link
Author

Update, having the [Server] settings disabled and using the regular launch script, not run_bepinx.sh, will let me connect to the server and all the mod things work (food, forge, map sharing, etc.)

@Quadzi
Copy link

Quadzi commented Feb 19, 2021

I'm seeing almost the exact same thing too. Including the "mine:0.145.6 remote 0.145.6@0.8" portion of the log that seems to mean it isn't loading on the server.

image

@nxPublic
Copy link
Member

nxPublic commented Feb 19, 2021

This is a issue with your unix environment. Please check the install notes for it in README.md.
I will leave this open for a few days since i do not provide support for unix servers and you might get solutions from people with similar problems. I hope you can understand that i cannot troubleshoot unix issues when it has nothing to do with the mod itself.

@spencersager
Copy link

Update, having the [Server] settings disabled and using the regular launch script, not run_bepinx.sh, will let me connect to the server and all the mod things work (food, forge, map sharing, etc.)

Where/how did you disable the [Server] settings?

@maximum-pixels
Copy link
Author

[Server]
enabled=false
maxPlayers=10
disableServerPassword=false
enforceConfiguration=false
enforceMod=false

in both client and server valheim_plus.cfg

@Quadzi
Copy link

Quadzi commented Feb 20, 2021

This has been resolved for me. In the README.md file for 8.1 it says "Uses libc6-dev" so you just need to install that package. For Ubuntu that would be:

sudo apt-get install libc6-dev

@shannon-nii
Copy link

shannon-nii commented Feb 22, 2021

Got the same issue on a server running on Manjaro (arch based distro). Unfortunately there is no libc6-dev package there, could not find any equivalent package there. glibc seems to include the headers as mentioned but might not be the right version.

libc6 is present:

/lib64/libc.so.6 --version
GNU C Library (GNU libc) release release version 2.33.
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 10.2.0.
libc ABIs: UNIQUE IFUNC ABSOLUTE
For bug reporting instructions, please see:
<https://bugs.archlinux.org/>.

@shannon-nii
Copy link

0.8.5 seems to address this as well, thanks

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

5 participants