-
Notifications
You must be signed in to change notification settings - Fork 151
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 Report] MacOS - Get permission error, and can't load previous game data after Docker restart. Please help #105
Comments
After much effort, I successfully recovered the play data. The recovery was done by overlaying the save files onto the data created after running the server once. It seems there was an error due to a different checksum in a folder under Saved/SaveGames/0. However, the permission error still persists. For now, I'm continuing to play with the server restarted in this state. |
I dont have a Mac to test this, but when i read your errors, i think about chown/chmod permission problems. Also that config looks very weird. -> sed: preserving permissions for '/palworld/Pal/Saved/Config/LinuxServer/sedU77di2': Permission denied Here is my code regarding that https://github.com/jammsen/docker-palworld-dedicated-server/blob/master/servermanager.sh#L59 |
The same problem for macos users has not been solved yet Docker version: 24.0.7, build afdd53b The server can be started, and players can log in. The log is as follows:
|
Hello! I was able to reproduce this issue on a Mac. It appears there is a bug in the version of sed deployed in the Debian image that when making temporary files with inline commands (sed -i), it doesn't apply the correct umask. The result is a bunch of permission issues. This gets fixed in sed 4.8. The workaround for Docker Desktop on Mac that solved it for me was to instead use gRPC FUSE (not VirtioFS) |
Hello @beardenj - According to this https://packages.debian.org/bullseye/sed Sed 4.7.1 is used in oldstable. Bookworm uses 4.9.1 - https://packages.debian.org/search?keywords=sed&searchon=names&suite=bookworm§ion=all Not sure if @CM2Walki will deliver a "steamcmd image for Bookworm though. As far as i can see on master its Bullseye so Debian 11 only. You might want to consider a Feature Request over there. |
@beardenj @navishachiku Debian 12 support was added, i can look into upgrading the base-image in a few days. |
Have you read the Important information text above
Current behavior
Permission errors occur in the game folder or its subdirectories when restarting Docker after shutdown.
Attempted to apply permissions using chmod 777 -R but received a message that the folder could not be found.
However, ls -l confirms that 777 permissions are in effect. It's unclear if this is the issue, but the server fails to load previous data upon restart.
Desired behavior
Server starts with no permission errors and load previous game play data.
Links to screenshots
No response
To Reproduce
Software setup
Hardware setup
Additional context
Hello, I'm a React Native developer with limited Docker experience. I understand that it might be difficult to comprehend or answer a question from a developer like me, and I hesitated to ask, but I find myself in a tough situation that I can't resolve on my own. (Note: I'm using software for translation, so the sentences might be a bit off. Please bear with me.)
Here's the issue:
I'm running a server using Docker on a MacMini late2014 (Ram 16GB) with MacOS. Initially, when I ran Docker using the provided Docker file, the server started without any issues, and I played games on it for about two days. Then I remembered that the game client had been updated and thought the server might need updating too.
An hour ago, I stopped Docker using the Stop button in the desktop app to update it. After restarting, I repeatedly received messages like "sed: preserving permissions for '/palworld/Pal/Saved/Config/LinuxServer/seddc90fx'". Additionally, a system error occurred, causing the Docker container to shut down automatically.
So, I saved the backup files separately, deleted the Docker app and files on the Mac, and tried a fresh start, which seemed to work fine. However, errors seem to persist when I try to reload the backup files.
Initially, when I ran the "$ sudo chmod 777 -R game" command during setup, I received a message saying the folder couldn't be found. However, when I checked with the ls -l command, I confirmed that the game folder and its subfolders had 777 permissions, so it's hard for me to pinpoint the issue with my skills.
After several attempts, I confirmed that starting fresh with new local files, Docker files, and images seems to work fine. However, when I pasted the backed-up files - the folders created for running the game - back to their original location and restarted, the previous data did not load. I keep receiving permission error logs.
I would appreciate any help. Thank you.
Here is Docker log of current situation.
The text was updated successfully, but these errors were encountered: