Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
I swear, this has been the only helpful google search result throughout this entire process...
Can You explain this to me? You cannot run the PalServer.sh as Sudo in linux as the app will auto terminate. What file did you chown exactly? I would really appreciate your help. Is it the directory itself?
You will be setting up the server with a root account to make all the folders, etc. You then will switch ownership of files to your secondary, non-root server account. With sudo, you will give permission to your secondary account with
sudo chmod -R ServerAccount NameOfYourPalServerDirectory
where ServerAccount and NameOfYourPalServerDirectory are variables to where you installed everything and to what account, for example mine was
sudo chmod -R steam palworld
i got this error during process
Thats because they provided chmod, not chown. chmod changes the attributes of a file (e.g. making it executable), and chown will change the owner/group.
To resolve any potential issues with ownership if you created a user but ran the server as a different user, or even root (please don't!) you will type
chown executed with sudo will then change the owner, and group to "palworld" for the directory and all sub content of "/home/palworld" to the new specified owner/group and since this will be done from root it will not care, and do it anyway. This will resolve ownership issues, executable permissions may need to be adjusted with the below as the user who plans to run it and not every file needs +x (executable) just the shell scripts, or binaries for a game.
I mentioned in my the previous post. Running something as root is a BAD because if an exploit is ever found that exploit now allows the attacker FULL control of the system, and if you have private files, they're not private as root, they can now view -anything- or do -anything- or access -anything- on the system and if you're 24/7 connected or an actual server/VPS, you will likely be brought into part of a botnet.
Anyway, the solution is as follows
For windows based servers, your save files been blocked, For whatever reason AV, and the Windows 10/11/server inbuilt AV doesn't tell you this, you'd think even adding exceptions in to the malware protection folder portion but thats not it, its the actual files themselves. You need to go to their properties, and tick off the unblock section and then select okay/apply.
In my case i had to do so to level.sav , LevelMeta.sav LocalData.Sav and WorldOption.sav
For linux... its a user permission error, either your not using a dedicated user with read/write permissions, the world files are corrupt, or something happened (unexpected shutdown, and actual save corruption issue) where you'll need to rollback to a prior save.
Alot easier of what is to do, is to re-pull the files from the server you previously ran the files from, and just delete the entire save directory, and restore said files. In my case, i had to use one of the 3 solutions i've provided here to resolve my issue.
First being Unblock as the easiest solution first, before 2nd solution of repulling the server files from previous host, and last being to completely restore from backup due to corrupted save. (Never had a corrupted save, servers quite resilient in forced shutdown scenarios).
Edit: For the record i could 100% recreate these issues by doing the following (to corrupt/lockup permissions) on said save files mentioned.
Compress/move the files, during a active save process (while its being written too), Compress the save files while servers still running. Thats the only way i was able to recreate this issue.
But for the record, i was able to fix my own save files as well (as i have overwhelming backups in place for the VM, within the VM automated scripted backup, and a cloud sync system for the save files real time as they are modified). So.... yeah. lol.
Hope this helps everyone still encountering these issues even now.