Server update makes items disappear | CRLF issues on BSD

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Darkrain

New Member
Jul 29, 2019
4
0
0
Hi everyone,

I am hosting a DW20-Server and everytime I update, some users complain about being dead after the update, missing items in their inventories/chests, etc. Lately they seemed to lose all their Ars Magicka Spells during the update. All I do when updating is removing the "config", "libraries" and "mods" folders and replacing them with the new ones. If there is a new .jar version I replace that, too. As far as I know, ALL playerdata should be stored in the mapfolder which I do no touch at all during updates, so why are these things happening? Is there a better way to update the server?

Second thing is that I always have to convert the Windows version CR;LFs at the end of each line (shows as '^M') since I am running a FreeBSD Server. Nothing big, since it can be easily done with sed, but it makes me worry about the integrity of my files, since I am only doing the conversion for the configfiles in the "config" folder. The server is running fine as far as I can tell (after converting all configs of course), but I am not entierly sure if this might have caused corrupt files in other places that I did not check. Is there any way to get the server files in the correct format, instead of "Windows-only", or do I have to convert them manually each time?