DomiStyle / docker-eldewrito

ElDewrito dedicated server
https://hub.docker.com/r/domistyle/eldewrito/
MIT License
27 stars 9 forks source link

wine start issues #9

Closed Scrxtchy closed 5 years ago

Scrxtchy commented 6 years ago

When composing, I get this errors in the log. It ends abruptly as so

eldewrito_1  | Starting dedicated server
eldewrito_1  | 000b:fixme:winediag:start_process Wine Staging 3.6 is a testing version containing experimental patches.
eldewrito_1  | 000b:fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
eldewrito_1  | 0009:fixme:kerberos:kerberos_SpInstanceInit 65536,0x7da3e3a0,(nil): stub

Are there dependencies missing? My machine is based on Ubuntu 16.04, but I also had this issue same on Debian 9.4

DomiStyle commented 6 years ago

Please upgrade your image to domistyle/eldewrito:0.6-test6

Scrxtchy commented 6 years ago

Have upgraded the image to test6 Same error

Creating eldewrito_eldewrito_1
root@cool-ranch:~/eldewrito# docker ps
CONTAINER ID        IMAGE                           COMMAND                  CREATED             STATUS              PORTS                                                            NAMES
90a6542f76c2        domistyle/eldewrito:0.6-test6   "/bin/sh -c /start.sh"   25 seconds ago      Up 24 seconds       0.0.0.0:11774->11774/udp, 0.0.0.0:11775-11777->11775-11777/tcp   eldewrito_eldewrito_1
root@cool-ranch:~/eldewrito# docker-compose logs
Attaching to eldewrito_eldewrito_1
eldewrito_1  | Initializing v0.3 for ElDewrito 0.6
eldewrito_1  | Taking ownership of folders
eldewrito_1  | Changing folder permissions
eldewrito_1  | Changing file permissions
eldewrito_1  | Creating user
eldewrito_1  | Switching to eldewrito user
eldewrito_1  | Running in single instance mode.
eldewrito_1  | Could not find an existing dewrito_prefs.cfg. Using default.
eldewrito_1  | Make sure to adjust important settings like your RCon password!
eldewrito_1  | Copying default dewrito_prefs.cfg.
eldewrito_1  | Copying default veto/voting json.
eldewrito_1  | Cleaning up
eldewrito_1  | Starting virtual frame buffer
eldewrito_1  | Starting dedicated server
eldewrito_1  | 000b:fixme:winediag:start_process Wine Staging 3.6 is a testing version containing experimental patches.
eldewrito_1  | 000b:fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
eldewrito_1  | 0009:fixme:kerberos:kerberos_SpInstanceInit 65536,0x7da5c3a0,(nil): stub
DomiStyle commented 6 years ago

Strange. Can you confirm that your game folder is owned by root:root?

Can you send me the output of ll (LL) or ls -la from the folder where your docker-compose.yml is as well as your docker-compose.yml?

Scrxtchy commented 6 years ago

Game folder is owned by dew:dew, a seperate user of which is referenced in PUID and GUID. I did try using them from root as well

root@cool-ranch:~/eldewrito# cat docker-compose.yml
version: '2'

services:
  eldewrito:
    image: domistyle/eldewrito:0.6-test6
    restart: always
    ports:
      - 11774:11774/udp
      - 11775:11775/tcp
      - 11776:11776/tcp
      - 11777:11777/tcp
    volumes:
      - /home/dew/game:/game
      - /home/dew/config:/config
      - /home/dew/logs:/logs
    cap_add:
      - SYS_PTRACE
    environment:
      - PUID=1000
      - PGID=1000
#      - INSTANCE_ID=srv1
root@cool-ranch:~/eldewrito# ls -la
total 12
drwxr-xr-x 2 root root 4096 Apr 27 17:41 .
drwx------ 6 root root 4096 Apr 27 17:40 ..
-rw-r--r-- 1 root root  420 Apr 27 17:41 docker-compose.yml
root@cool-ranch:~/eldewrito# ls -la /home/dew/game/
total 121152
drwxr-xr-x 5 dew dew     4096 Apr 27 17:32 .
drwxr-xr-x 6 dew dew     4096 Apr 27 17:32 ..
-rw-r-xr-x 1 dew dew   227328 Apr 27 17:29 binkw32.dll
-rw-r-xr-x 1 dew dew   433664 Apr 27 17:29 chrome_elf.dll
-rw-r-xr-x 1 dew dew  4661760 Apr 27 17:29 crashmodule.bin
-rw-r-xr-x 1 dew dew   419840 Apr 27 17:29 custom_menu.exe
-rw-r-xr-x 1 dew dew    12858 Apr 27 17:29 custom_menu.log
-rw-r-xr-x 1 dew dew  2106216 Apr 27 17:29 d3dcompiler_43.dll
-rw-r-xr-x 1 dew dew  3747512 Apr 27 17:29 d3dcompiler_47.dll
-rw-r-xr-x 1 dew dew     8553 Apr 27 17:32 dewrito_prefs.cfg
-rw-r-xr-x 1 dew dew 23015424 Apr 27 17:29 eldorado.exe
-rw-r-xr-x 1 dew dew      456 Apr 27 17:29 eldorado.visualelementsmanifest.xml
-rw-r-xr-x 1 dew dew 10166816 Apr 27 17:29 icudtl.dat
-rw-r-xr-x 1 dew dew 68189184 Apr 27 17:29 libcef.dll
-rw-r-xr-x 1 dew dew    80384 Apr 27 17:29 libEGL.dll
-rw-r-xr-x 1 dew dew  2918912 Apr 27 17:29 libGLESv2.dll
drwxr-xr-x 2 dew dew     4096 Apr 27 17:15 Logs
drwxr-xr-x 3 dew dew     4096 Apr 27 17:21 maps
drwxr-xr-x 7 dew dew     4096 Apr 27 17:29 mods
-rw-r-xr-x 1 dew dew  4661760 Apr 27 17:29 mtndew.dll
-rw-r-xr-x 1 dew dew   262947 Apr 27 17:29 natives_blob.bin
-rw-r-xr-x 1 dew dew  1098960 Apr 27 17:29 snapshot_blob.bin
-rw-r-xr-x 1 dew dew   317136 Apr 27 17:29 tile.png
-rw-r-xr-x 1 dew dew    90796 Apr 27 17:29 tile-small.png
-rw-r-xr-x 1 dew dew  1351680 Apr 27 17:29 updater.exe
-rw-r-xr-x 1 dew dew     1698 Apr 27 17:29 updater.exe.config
-rw-r-xr-x 1 dew dew   216576 Apr 27 17:29 widevinecdmadapter.dll
DomiStyle commented 6 years ago

I was able to reproduce this. You can set PUID and PGID to 0 while I'm looking into it.

Scrxtchy commented 6 years ago

image 😕

it did change the file permissions game is now owned by root

DomiStyle commented 6 years ago

Yes, the permissions get updated automatically.

I can't reproduce this issue with PUID and PGID set to 0 though.

Did you wait a few seconds after that message appears?

DomiStyle commented 6 years ago

Can you try again but with the :latest image? Remove both PUID and PGID from your environment variables and let the container use the default.

Scrxtchy commented 6 years ago

Updated the docker-compose as you asked. It pulled the changes fine, but I'm still seeing the same repeating output from docker-compose logs

It's harder to debug internally when the container is being stopped and started as soon as wine throws the error

Scrxtchy commented 6 years ago

Might have fixed something Gave the machine some more RAM image

Scrxtchy commented 6 years ago

Yup, I can successfully contact the server over HTTP