mirror of
https://github.com/games-on-whales/unraid-plugin.git
synced 2026-10-15 21:12:04 +00:00
Labels
No labels
enhancement
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
games-on-whales/unraid-plugin#67
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/games-on-whales/unraid-plugin/pull/56
Author: @JBailes
Created: 6/14/2026
Status: ✅ Merged
Merged: 6/14/2026
Merged by: @JBailes
Base:
main← Head:fix/wolf-config-persistence-identity-mount📝 Commits (1)
123a8cbIdentity-mount appdata so Wolf config and pairing persist (#54)📊 Changes
2 files changed (+17 additions, -4 deletions)
View changed files
📝
gow.plg(+3 -0)📝
scripts/deploy.sh(+14 -4)📄 Description
Problem
Reported in #54: Wolf config and Moonlight pairing are lost on every container restart.
Wolf's container
startup.shunconditionally re-derives its config paths fromHOST_APPS_STATE_FOLDER:(So the
WOLF_CFG_FILEwe passed in the compose was already dead —startup.shoverrides it.)#46 set
HOST_APPS_STATE_FOLDERto the host appdata path but kept appdata mounted at/etc/wolfinside the container. Wolf then resolved its config folder to the host path (e.g./mnt/cache/gow/cfg), which isn't mounted in the container, so it wroteconfig.toml/key.pem/cert.pemto the ephemeral container layer and lost them on every restart. Symptom: re-pair Moonlight after each restart, and the bind-mountedcfg/stays empty on the host.Fix
Mount appdata at the same path inside the container as on the host (identity mount), matching Wolf's reference compose. Now the path Wolf derives from
HOST_APPS_STATE_FOLDERis the persistent bind mount, and is also valid when Wolf bind-mounts state into the app containers it spawns via the docker socket.${APPDATA}:/etc/wolf→${APPDATA}:${APPDATA},WOLF_CFG_FILEcorrected to${APPDATA}/cfg/config.toml./etc/wolfmount (hardcoded/etc/wolf/...paths in its appsettings, points at the same host dir).The persistent host config location is unchanged (
${APPDATA}/cfg/config.toml) — same place that worked before #46, so existing configs are picked up again. No migration needed.Credit to @shitfacevk for the diagnosis in #54.
Fixes #54
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.