jammsen/docker-the-forest-dedicated-server

wine: chdir to /winedata/WINE64 : No such file or directory

pandalanax opened this issue · 3 comments

Hi!
Thanks for this project. Unfortunately when i try to start the docker via:

docker run --rm -i -t -e 'SERVER_STEAM_ACCOUNT_TOKEN=MY_TOKEN_REMOVED' -p 8766:8766/tcp -p 8766:8766/udp -p 27015:27015/tcp -p 27015:27015/udp -p 27016:27016/tcp -p 27016:27016/udp -v /opt/forest/srv/tfds/steamcmd:/steamcmd -v /opt/forest/srv/tfds/game:/theforest --name the-forest-dedicated-server jammsen/the-forest-dedicated-server:latest

i get an error:

wine: chdir to /winedata/WINE64 : No such file or directory
wine: chdir to /winedata/WINE64 : No such file or directory

Also it was not clear if i need additional files for srv/tfds/game & srv/tfds/steamcmd. I added TheForestDedicatedServer.exe to the srv/tfds/game because i got following output in the first run:

Checking if Wine is set in bashrc
Setting up Wine in bashrc
Setting up WineConfig and waiting 15 seconds
linux32/
linux32/libstdc++.so.6
linux32/steamcmd
steamcmd.sh
steam.sh
Redirecting stderr to '/root/Steam/logs/stderr.txt'
ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt".
[  0%] Checking for available update...
[  0%] Downloading update (0 of 81133 KB)...
[  0%] Downloading update (6488 of 81133 KB)...
[  7%] Downloading update (12239 of 81133 KB)...
[ 15%] Downloading update (17311 of 81133 KB)...
[ 21%] Downloading update (22458 of 81133 KB)...
[ 27%] Downloading update (27811 of 81133 KB)...
[ 34%] Downloading update (32935 of 81133 KB)...
[ 40%] Downloading update (38044 of 81133 KB)...
[ 46%] Downloading update (43077 of 81133 KB)...
[ 53%] Downloading update (48205 of 81133 KB)...
[ 59%] Downloading update (52689 of 81133 KB)...
[ 64%] Downloading update (55510 of 81133 KB)...
[ 68%] Downloading update (58095 of 81133 KB)...
[ 71%] Downloading update (60659 of 81133 KB)...
[ 74%] Downloading update (63511 of 81133 KB)...
[ 78%] Downloading update (66053 of 81133 KB)...
[ 81%] Downloading update (68529 of 81133 KB)...
[ 84%] Downloading update (70970 of 81133 KB)...
[ 87%] Downloading update (73782 of 81133 KB)...
[ 90%] Downloading update (76312 of 81133 KB)...
[ 94%] Downloading update (78864 of 81133 KB)...
[ 97%] Downloading update (81133 of 81133 KB)...
[100%] Downloading update (81133 of 81133 KB)...
[100%] Download Complete.
[----] Applying update...
[----] Extracting package...
[----] Extracting package...
[----] Extracting package...
[----] Extracting package...
[----] Installing update...
[----] Installing update...
[----] Failed to apply update, reverting...
[----] Verifying installation...
[  0%] Downloading Update...
[  0%] Checking for available update...
[  0%] Download Complete.
[----] Extracting package...
[----] Extracting package...
[----] Extracting package...
[----] Extracting package...
[----] Installing update...
[----] Installing update...
[----] Failed to apply update, reverting...
[----] !!! Fatal Error: Failed to load libsteam.so
wine: cannot find L"/theforest/TheForestDedicatedServer.exe"

but now i am stuck at wine: chdir to /winedata/WINE64 : No such file or directory.
Help appreciated! Thanks in advance!

Same error found in closed Issue:
#20 (comment)

I tried a fresh install, it works for me, are you sure you did everything fresh?
Look here, the installscript should create the directory and also should run winecfg which initialized everything:
https://github.com/jammsen/docker-the-forest-dedicated-server/blob/master/usr/bin/servermanager.sh#L24:L38

I added TheForestDedicatedServer.exe to the srv/tfds/game

Thats totally the wrong way, that way the bash-script identifies if the server has to be installed, for reference look at the functions installServer and isWineinBashRcExistent in the script above.

The steam error looks like the install failed, maybe the api endpoint for your transfer was offline, just try clean again with no caches.

i had to set it up natively. Thanks for your time though!