Komola Posted January 5 Report Posted January 5 Hi I've installed the vintage story server on debian 12 and have followed all of the instructions, however running ./server.sh start gives the following error: Fatal! [USER] failed to adjust data privileges. Aborting. When running it with sudo permissions I get: Starting VintagestoryServer.dll ... bash: line 1: cd: /home/[USER]/server: Permission denied Warning! Problems with VintagestoryServer.dll! Make sure user vintagestory has read/write access. VintagestoryServer.dll is not running. Error! User vintagestory could not start VintagestoryServer.dll! Please check /var/vintagestory/data/Logs. There is nothing at var/vintagestory/data/Logs. I've tried giving user vintagestory owner of all files in ~/server and still nothing will work. I can start the server with dotnet VintagestoryServer.dll, but cannot enter the server console. Any troubleshooting or help would be appreciated. If this is in the wrong place let me know and I will move it.
Crow of Minerva Posted January 11 Report Posted January 11 (edited) Same situation here (arch, version 1.20-rc8). The server does start if running as sudo, but it will complain that the buffer overflowed and will refuse any further command Edited January 11 by Crow of Minerva
traugdor Posted January 11 Report Posted January 11 (edited) your entire vintagestory folders need to be owned by the vintagestory user. When you run the script and it fails please show the output of these following commands: > whoami (inside the /var/vintagestory directory) > ls -al This might give you a clue to the problem. Edited January 11 by traugdor
Komola Posted Saturday at 06:35 AM Author Report Posted Saturday at 06:35 AM whoami gives me my server-user for all paths but vintage story is nologin according to the wiki so I won't be able to switch to it regardless no? All the vintage story files are owned by vitnagestory, user and group. ls -la for the server folder drwxr-xr-x 5 vintagestory vintagestory 4096 Jan 18 00:20 . drwx------ 13 server-user server-user 4096 Jan 18 00:23 .. drwxr-xr-x 5 vintagestory vintagestory 4096 Oct 27 19:16 assets -rw-r--r-- 1 vintagestory vintagestory 9694 May 17 2024 credits.txt drwxr-xr-x 2 vintagestory vintagestory 4096 Oct 27 19:16 Lib drwxr-xr-x 2 vintagestory vintagestory 4096 Oct 27 19:16 Mods -rwxr-xr-x 1 vintagestory vintagestory 11252 Oct 27 19:50 server.sh -rw-r--r-- 1 vintagestory vintagestory 1844224 May 17 2024 VintagestoryAPI.dll -rw-r--r-- 1 vintagestory vintagestory 676572 May 17 2024 VintagestoryAPI.pdb -rw-r--r-- 1 vintagestory vintagestory 1816463 May 17 2024 VintagestoryAPI.xml -rw-r--r-- 1 vintagestory vintagestory 2609152 May 17 2024 VintagestoryLib.dll -rw-r--r-- 1 vintagestory vintagestory 937192 May 17 2024 VintagestoryLib.pdb -rwxr-xr-x 1 vintagestory vintagestory 181016 May 17 2024 VintagestoryServer -rw-r--r-- 1 vintagestory vintagestory 40018 May 17 2024 VintagestoryServer.deps.json -rw-r--r-- 1 vintagestory vintagestory 94720 May 17 2024 VintagestoryServer.dll -rw-r--r-- 1 vintagestory vintagestory 12780 May 17 2024 VintagestoryServer.pdb -rw-r--r-- 1 vintagestory vintagestory 253 May 17 2024 VintagestoryServer.runtimeconfig.json -rw-r--r-- 1 vintagestory vintagestory 32058681 May 17 2024 vs_server_linux-x64_1.19.8.tar.gz Despite being owned by vintage story trying to run the start command still gives this error: "Warning! Problems with VintagestoryServer.dll! Make sure user vintagestory has read/write access. VintagestoryServer.dll is not running." ls -la for /var/vintage story drwxr-xr-x 3 root root 4096 Oct 27 19:51 . drwxr-xr-x 14 root root 4096 Nov 21 21:54 .. drwxrwxr-x 2 vintagestory vintagestory 4096 Oct 27 19:51 data
frost11111 Posted Saturday at 06:06 PM Report Posted Saturday at 06:06 PM I had a similar issue. In my case I had .NET 9.0 runtime installed instead of .NET 7.0. My fix was to edit VintagestoryServer.runtimeconfig.json to use .NET 9.0.
Recommended Posts