-
-
Notifications
You must be signed in to change notification settings - Fork 78
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]: Unable to install games into /mnt/games mounted Docker volume #57
Comments
As a troubleshooting step, I have tried completely removing all folders within the /mnt/games folder, to see what happened. |
After further digging, I was able to find the installer log here within the container: It showed the following log entry indicating it couldn't write to a missing folder:
By creating the
This is now a writable/usable folder. Can anything be done as part of the installer script to create this directory? If not, I can submit a PR to the instructions for docker-compose and close this issue. |
If we add that, we need to add it in a way that first checks if steam has been configured. It should only run to create the missing directories if that libraryconfig file is missing (so on the firat run). Otherwise the container will create this directory for everyone all the time even if they dont want it. |
PR submitted to address this. LMK if you have any better idea/way to accomplish this. |
Legend |
Describe the Bug
Problem: The container cannot write to the
/mnt/games
Docker volume mount, although permissions appear correct.Upon fresh install of the container using docker-compose, everything works except the /mnt/games folder is not visible in the Steam client.
After following the troubleshooting steps here, I was then able to see the games folder named: "Mounted Games", but unable to read/write to the folder, being met with the following error:
An error occurred while installing <game>: "disk write error"
Steps to Reproduce
sudo docker stop <container>
sudo docker rm <container>
sudo docker rmi <image>
cd /opt/container-data/steam-headless/home
sudo rm -rf ~/.local/share/flatpak
cd /opt/container-services/steam-headless
sudo docker-compose up -d --force-recreate
Expected Behavior
Being able to install games to the volume mount.
Screenshots
Relevant Settings
docker-compose relevant mount config:
Version
Build: [2023-07-10 08:33:45] [master] [3be80a9] [debian]
Platform
Relevant log output
The text was updated successfully, but these errors were encountered: