valheim-server-docker icon indicating copy to clipboard operation
valheim-server-docker copied to clipboard

New install - Bepinex mods not loading

Open dcgsteve opened this issue 3 years ago • 1 comments

Hiya - was playing fine but now moved to new server so re-installing from scratch, i.e. clean config & data directories

docker-compose.yml:

version: "3"

services:
  valheim:
    image: ghcr.io/lloesche/valheim-server
    container_name: valheim1
    cap_add:
      - sys_nice
    volumes:
      - /mnt/nas1/cluster/data/valheim/config:/config
      - /mnt/nas1/cluster/data/valheim/data:/opt/valheim
    ports:
      - "2456-2457:2456-2457/udp"
      - "8011:9001/tcp"
    restart: unless-stopped
    stop_grace_period: 2m
    env_file:
      - ./valheim.env

valheim.env:

WORLD_NAME=Wolves3
SERVER_PASS=xxxxxx
SERVER_PUBLIC=false
UPDATE_CRON=*/45 * * * *
UPDATE_IF_IDLE=true
TZ=Europe/London
BACKUPS_CRON=56 * * * *
BACKUPS_MAX_AGE=21
VALHEIM_PLUS=false
PUID=1000
PGID=1000
BEPINEX=true

BepInEx is triggered:

Dec 23 13:47:04 supervisord: valheim-updater DEBUG - [40] - BepInEx is enabled - running updater
Dec 23 13:47:04 supervisord: valheim-updater INFO - Valheim Server was updated from Steam - signaling BepInEx updater to merge updated files
Dec 23 13:47:04 supervisord: valheim-updater INFO - Fresh BepInEx install
Dec 23 13:47:04 supervisord: valheim-updater DEBUG - [166] - Downloading https://valheim.thunderstore.io/package/download/denikson/BepInExPack_Valheim/5.4.1901/ to /opt/valheim/dl/bepinex/BepInEx.zip
Dec 23 13:47:04 supervisord: valheim-updater INFO - Valheim dedicated server or BepInEx mod got updated - extracting and merging installation files
Dec 23 13:47:04 supervisord: valheim-updater DEBUG - [166] - Extracting downloaded ZIP archive
Dec 23 13:47:04 supervisord: valheim-updater Archive:  BepInEx.zip
Dec 23 13:47:04 supervisord: valheim-updater    creating: extracted/BepInExPack_Valheim/
........

Mods are synced to directory ok:

Dec 23 13:47:22 supervisord: valheim-updater INFO - Syncing BepInEx plugins from /config/bepinex/plugins/ -> /opt/valheim/bepinex.tmp/BepInEx/plugins
Dec 23 13:47:22 supervisord: valheim-updater .d..t...... ./
Dec 23 13:47:22 supervisord: valheim-updater >f+++++++++ AnyPortal.dll
Dec 23 13:47:22 supervisord: valheim-updater >f+++++++++ Jotunn.dll

BepInEx seemed to be installed ok:

Dec 23 13:47:22 supervisord: valheim-updater DEBUG - [166] - Successfully installed BepInEx mod

But Jotunn.dll and AnyPortal.dll are not loaded :(

The sync has worked ok (I've bash'd inside the container and they are sitting in both directories)

Any ideas what's happened here and why they don't load?

dcgsteve avatar Dec 23 '22 14:12 dcgsteve

i also cant get mods working in a dedicated linux server BUT it works in windows. the log says bepinex is loaded but no plugins.

XDM-Inc avatar Apr 06 '23 06:04 XDM-Inc