TrueNAS SCALE Docker with ich777 Sons of the forest can't get storage permissions to work

RavenNAS

Dabbler
Joined
Mar 7, 2022
Messages
34
Hello all,

Lately I have been trying to use the built-in launch docker to setup a game server for Sons of the forest. I've been having bad luck. Basically can get the server to run without storage, but after a restart of the app, it will have to pull and setup the whole thing all over.

so I have been trying to use storage, but can't for the life of me get the permissions correct for it to be able to use the dataset.

I have tried many things, currently I have made a user "SOTF" in truenas which is the owner of the dataset and I set the environmental settings to the same UID. and the storage addresses, but no dice.

Really odd, cus there is over 300mb writen to the dataset.
Anyone have any ideas?

here is the docker image

some of the app logs,
2023-09-04 02:12:53.306306+00:00---Ensuring UID: 3002 matches user---
2023-09-04 02:12:53.374787+00:00---Ensuring GID: 3002 matches user---
2023-09-04 02:12:53.403537+00:00usermod: no changes
2023-09-04 02:12:53.403604+00:00---Setting umask to 000---
2023-09-04 02:12:53.403635+00:00---Checking for optional scripts---
2023-09-04 02:12:53.406064+00:00---No optional script found, continuing---
2023-09-04 02:12:53.406090+00:00---Taking ownership of data...---
2023-09-04 02:12:53.425811+00:00---Starting...---
2023-09-04 02:12:53.431678+00:00SteamCMD not found!
2023-09-04 02:12:53.438379+00:00/serverdata/steamcmd/steamcmd_linux.tar.gz: No such file or directory
2023-09-04 02:12:53.440500+00:00tar (child): /serverdata/steamcmd/steamcmd_linux.tar.gz: Cannot open: No such file or directory
2023-09-04 02:12:53.440522+00:00tar (child): Error is not recoverable: exiting now
2023-09-04 02:12:53.440619+00:00tar: Child returned status 2
2023-09-04 02:12:53.440640+00:00tar: Error is not recoverable: exiting now
2023-09-04 02:12:53.441483+00:00rm: cannot remove '/serverdata/steamcmd/steamcmd_linux.tar.gz': No such file or directory
2023-09-04 02:12:53.441618+00:00---Update SteamCMD---
2023-09-04 02:12:53.441870+00:00/opt/scripts/start-server.sh: line 12: /serverdata/steamcmd/steamcmd.sh: No such file or directory
2023-09-04 02:12:53.442005+00:00---Update Server---
2023-09-04 02:12:53.442281+00:00/opt/scripts/start-server.sh: line 32: /serverdata/steamcmd/steamcmd.sh: No such file or directory
2023-09-04 02:12:53.442385+00:00---Prepare Server---
2023-09-04 02:12:53.442442+00:00---Checking if WINE workdirectory is present---
2023-09-04 02:12:53.442475+00:00---WINE workdirectory not found, creating please wait...---
2023-09-04 02:12:53.443319+00:00mkdir: cannot create directory ‘/serverdata/serverfiles/WINE64’: No such file or directory
2023-09-04 02:12:53.443419+00:00---Checking if WINE is properly installed---
2023-09-04 02:12:53.443437+00:00---Setting up WINE---
2023-09-04 02:12:53.443527+00:00/opt/scripts/start-server.sh: line 70: cd: /serverdata/serverfiles: No such file or directory
2023-09-04 02:13:08.452153+00:00---Checking for 'dedicatedserver.cfg'---
2023-09-04 02:13:08.452222+00:00---'dedicatedserver.cfg' not found downloading---
2023-09-04 02:13:08.656110+00:00dedicatedserver.cfg 0%[ ] 0 --.-KB/s dedicatedserver.cfg 100%[===================>] 532 --.-KB/s in 0s
2023-09-04 02:13:08.656926+00:00---Successfully downloaded 'dedicatedserver.cfg'---
2023-09-04 02:13:08.658638+00:00---Checking for old display lock files---
2023-09-04 02:13:08.662706+00:00---Server ready---
2023-09-04 02:13:08.662732+00:00---Start Server---
2023-09-04 02:13:08.774420+00:00wine: created the configuration directory '/serverdata/serverfiles/WINE64'
2023-09-04 02:13:08.786483+00:00002c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
2023-09-04 02:13:09.106071+00:000048:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
2023-09-04 02:13:09.106494+00:000050:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
 

Attachments

  • sonsoftheforestsetup.jpg
    sonsoftheforestsetup.jpg
    108.7 KB · Views: 114
  • sons datatset.jpg
    sons datatset.jpg
    174.1 KB · Views: 116
Last edited:

RavenNAS

Dabbler
Joined
Mar 7, 2022
Messages
34
Just to add, I have also tried with user group and apps. doesn't seem like any combinations work. it can write some files to the drive but can't take control or change them and errors
 

RavenNAS

Dabbler
Joined
Mar 7, 2022
Messages
34
Screenshot, just strange
 

Attachments

  • Screenshot_20230904_173323_Chrome.jpg
    Screenshot_20230904_173323_Chrome.jpg
    148 KB · Views: 119

LarsR

Guru
Joined
Oct 23, 2020
Messages
719
Just saw on the truecharts GitHub that one of their maintainers startes to work on a sons of the forest App. Maybe you could ask him some questions regarding your Problems on the truecharts discord
 

RavenNAS

Dabbler
Joined
Mar 7, 2022
Messages
34
Just saw on the truecharts GitHub that one of their maintainers startes to work on a sons of the forest App. Maybe you could ask him some questions regarding your Problems on the truecharts discord
Brilliant, I'll see what I can do to help, thanks for pointing that out
 
Top