Coder Social home page Coder Social logo

nuxy / docker-steamcmd-wine Goto Github PK

View Code? Open in Web Editor NEW
23.0 23.0 5.0 34 KB

:whale: Run a Steam powered Windows game server in Docker.

Home Page: https://hub.docker.com/r/marcsbrooks/docker-steamcmd-wine

License: MIT License

Dockerfile 54.59% Shell 45.41%
docker hosting server steam-games windows

docker-steamcmd-wine's People

Contributors

nuxy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

docker-steamcmd-wine's Issues

Steam workshop: ERROR! Download item XXXXXXX (Failure).

While I haven't been able to identify the exact release (Value forces an update when the CLI is executed manually), I do know that this issue did not occur in SteamCMD version 1669935972 and earlier releases.

Steam Workshop failures

It seems that there was changes in both Windows/Linux releases that break workshop downloads that are either initiated on the command-line or in-game using the steam_ugc=<PublishedID> configuration parameter.

Example

The following will fail regardless of whether using Steam account credentials or anonymous mode.

$ steamcmd.exe + login anonymous +workshop_download_item 302200 278739322 +exit

This will result with the log entry:

> Steam/logs/workshop_log.txt

Loading workshop items for 0 installed apps for user [U:1:STEAMUSERID]:
[TIMESTAMP] [AppID 302200] Loaded workshop items in "Steam/steamapps/workshop" (0 installed, 1 needed)
[TIMESTAMP] [AppID 302200] Download item 278739322 requested by app
[TIMESTAMP] [AppID 302200] Starting Workshop download job (requested item 278739322)
[TIMESTAMP] [AppID 302200] Failed to get item info: Access Denied
[TIMESTAMP] [AppID 302200] Update canceled: Updating workshop item info failed (Missing configuration)
[TIMESTAMP] [AppID 302200] Download item 278739322 result : Failure

Notes

  • There currently is no known fix available (at the mercy of Valve development).
  • If you do not import a Steam Workshop the game should run without issue.

ERROR: failed to solve: process "/bin/sh -c mv /usr/games/.config/user-dirs.conf /etc/xdg/user-dirs.defaults" did not complete successfully"

Getting the following error. System: Debian 11 bullseye LXC container for ProxMox 7.4-3 (CT debian-11-standard_11.6-1_amd64) running on Debian 11 host.

ERROR [16/17] RUN mv /usr/games/.config/user-dirs.conf /etc/xdg/user-dirs.defaults

[16/17] RUN mv /usr/games/.config/user-dirs.conf /etc/xdg/user-dirs.defaults:
#0 0.391 mv: cannot move '/usr/games/.config/user-dirs.conf' to a subdirectory of itself, '/etc/xdg/user-dirs.defaults'

Full output of build attempt:

root@portainer-lxc:~/vrising-docker-steamcmd-wine# docker build -t vrising-docker . --build-arg APPID=1829350 --build-arg RUNCMD="-persistentDataPath /usr/games/files"

Start Build
[+] Building 91.8s (20/21)                                                                                                                                                                                         
 => [internal] load .dockerignore                                                                                                                                                                             0.0s
 => => transferring context: 2B                                                                                                                                                                               0.0s
 => [internal] load build definition from Dockerfile                                                                                                                                                          0.0s
 => => transferring dockerfile: 1.76kB                                                                                                                                                                        0.0s
 => [internal] load metadata for docker.io/scottyhardy/docker-wine:latest                                                                                                                                     1.3s
 => [ 1/17] FROM docker.io/scottyhardy/docker-wine@sha256:d8e4475a7a58660221097be4bb6f886373fac94a360a2d4e1f5ab4d2b971d31e                                                                                   28.4s
 => => resolve docker.io/scottyhardy/docker-wine@sha256:d8e4475a7a58660221097be4bb6f886373fac94a360a2d4e1f5ab4d2b971d31e                                                                                      0.0s
 => => sha256:f514df9e2066d99e9258609e5ccfde2214b6b74d113bd94692b9b53c20638cca 2.77kB / 2.77kB                                                                                                                0.0s
 => => sha256:4c67ac859a6ba5a62f306445b5632ea6c6b31edd2cfe00ac32914906aa41bfe0 7.35kB / 7.35kB                                                                                                                0.0s
 => => sha256:8142be1d7640b2609c749c8b33689becd1b9cf7b7968434c9422ff14987fee95 272.13MB / 272.13MB                                                                                                            5.1s
 => => sha256:2691a0c36c42b91e61af585632f4933c5f1769fc4fb26b88924e3ad754c333c7 863.68kB / 863.68kB                                                                                                            0.6s
 => => sha256:ca1778b6935686ad781c27472c4668fc61ec3aeb85494f72deb1921892b9d39e 27.50MB / 27.50MB                                                                                                              0.4s
 => => sha256:d8e4475a7a58660221097be4bb6f886373fac94a360a2d4e1f5ab4d2b971d31e 856B / 856B                                                                                                                    0.0s
 => => extracting sha256:ca1778b6935686ad781c27472c4668fc61ec3aeb85494f72deb1921892b9d39e                                                                                                                     0.4s
 => => sha256:f365d802bc44a6ad12882eb4d65c923dc581896d9211598f0a6fcc13dd415e0e 75.21kB / 75.21kB                                                                                                              0.6s
 => => sha256:1610a2a20e2e6edc88de59c552431c6c5f4c952f0b5f3860fd4bf36a84ba4bed 396B / 396B                                                                                                                    0.8s
 => => sha256:253f4d9d62d1dcde17221764cad8a6730a4e65caf09e086e53b9154ec95967f5 65.02MB / 65.02MB                                                                                                              2.1s
 => => sha256:eb8a848ba9121c881d4cd0f77e97b58319b20058c83693d1a0d197b706d1a111 579.40MB / 579.40MB                                                                                                           10.9s
 => => sha256:e5da18124cc8ae8db4caa90b5f052116fa68b6e058c717259cb5252d4addd046 171.62kB / 171.62kB                                                                                                            2.3s
 => => sha256:515f8cd27a372807a993910898cdc309c80ba205e8085716d578257661e59074 827B / 827B                                                                                                                    2.5s
 => => sha256:84c35afd7ff237f4273e5c035d333058b4cd702425363abc1d8d013f5ac92727 196.78MB / 196.78MB                                                                                                            8.0s
 => => sha256:aed635b11e9aa855e41fa90d660ff1a079d37e66edf02fff34606661856ea1dd 863.47kB / 863.47kB                                                                                                            5.2s
 => => extracting sha256:8142be1d7640b2609c749c8b33689becd1b9cf7b7968434c9422ff14987fee95                                                                                                                     5.5s
 => => sha256:e5e90ebfb41ba0be3922b7e3696711cc410ec6533d1f91a7aebf65dc0efccb14 328B / 328B                                                                                                                    5.4s
 => => sha256:162c6388688c70f96d2b3682d1d2f21e72891283f1a38a78267d8533d51cd557 1.90kB / 1.90kB                                                                                                                5.7s
 => => extracting sha256:2691a0c36c42b91e61af585632f4933c5f1769fc4fb26b88924e3ad754c333c7                                                                                                                     0.0s
 => => extracting sha256:f365d802bc44a6ad12882eb4d65c923dc581896d9211598f0a6fcc13dd415e0e                                                                                                                     0.0s
 => => extracting sha256:1610a2a20e2e6edc88de59c552431c6c5f4c952f0b5f3860fd4bf36a84ba4bed                                                                                                                     0.0s
 => => extracting sha256:253f4d9d62d1dcde17221764cad8a6730a4e65caf09e086e53b9154ec95967f5                                                                                                                     0.8s
 => => extracting sha256:eb8a848ba9121c881d4cd0f77e97b58319b20058c83693d1a0d197b706d1a111                                                                                                                     6.6s
 => => extracting sha256:e5da18124cc8ae8db4caa90b5f052116fa68b6e058c717259cb5252d4addd046                                                                                                                     0.0s
 => => extracting sha256:515f8cd27a372807a993910898cdc309c80ba205e8085716d578257661e59074                                                                                                                     0.0s
 => => extracting sha256:84c35afd7ff237f4273e5c035d333058b4cd702425363abc1d8d013f5ac92727                                                                                                                     0.6s
 => => extracting sha256:aed635b11e9aa855e41fa90d660ff1a079d37e66edf02fff34606661856ea1dd                                                                                                                     0.0s
 => => extracting sha256:e5e90ebfb41ba0be3922b7e3696711cc410ec6533d1f91a7aebf65dc0efccb14                                                                                                                     0.0s
 => => extracting sha256:162c6388688c70f96d2b3682d1d2f21e72891283f1a38a78267d8533d51cd557    
=> [internal] load build context                                                                                                                                                                             0.0s
 => => transferring context: 14.01kB                                                                                                                                                                          0.0s
 => [ 2/17] RUN mkdir -p "/usr/games/.wine/drive_c/Program Files (x86)"                                                                                                                                       0.2s
 => [ 3/17] WORKDIR /usr/games                                                                                                                                                                                3.9s
 => [ 4/17] RUN wget https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip && unzip steamcmd.zip -d "/usr/games/.wine/drive_c/Program Files (x86)"/Steam && rm steamcmd.zip                           0.3s
 => [ 5/17] RUN wine "/usr/games/.wine/drive_c/Program Files (x86)"/Steam/steamcmd.exe +login "anonymous" "" "" +app_update "1829350" +quit 2> /dev/null ; exit 0                                            18.6s
 => [ 6/17] RUN ln -s "/usr/games/.wine/drive_c/Program Files (x86)"/Steam /usr/games/Steam                                                                                                                   0.4s 
 => [ 7/17] COPY files /usr/games/files                                                                                                                                                                       4.7s 
 => [ 8/17] RUN mkdir -p /usr/games/Steam/steamapps/common                                                                                                                                                    0.2s 
 => [ 9/17] RUN find /usr/games/Steam/steamapps/common -maxdepth 0 -not -name "Steamworks Shared" | xargs -I{} cp -rf files/* {} && rm -rf files                                                              0.4s 
 => [10/17] RUN chown -R games:games /usr/games                                                                                                                                                              27.5s 
 => [11/17] COPY init.d/game-server /etc/init.d/game-server                                                                                                                                                   0.0s 
 => [12/17] RUN update-rc.d game-server defaults && echo "HEADLESS=yes\nRUNCMD=$(cat <<EOL\n-persistentDataPath /usr/games/files\nEOL\n)" > .game-server                                                      0.4s
 => [13/17] RUN if [ "no" = yes ]; then usermod --password "$(openssl passwd -1 -salt $(openssl rand -base64 6) games)" --shell /bin/bash games; fi                                                           0.4s
 => [14/17] COPY config /usr/games/.config                                                                                                                                                                    4.3s
 => [15/17] RUN sed -i 's/allow_channels=true/allow_channels=false/g' /etc/xrdp/xrdp.ini                                                                                                                      0.2s
 => ERROR [16/17] RUN mv /usr/games/.config/user-dirs.conf /etc/xdg/user-dirs.defaults                                                                                                                        0.4s
------
 **> [16/17] RUN mv /usr/games/.config/user-dirs.conf /etc/xdg/user-dirs.defaults:
#0 0.391 mv: cannot move '/usr/games/.config/user-dirs.conf' to a subdirectory of itself, '/etc/xdg/user-dirs.defaults'**
------
Dockerfile:48
--------------------
  46 |     COPY config /usr/games/.config
  47 |     RUN sed -i 's/allow_channels=true/allow_channels=false/g' /etc/xrdp/xrdp.ini
  48 | >>> RUN mv /usr/games/.config/user-dirs.conf /etc/xdg/user-dirs.defaults
  49 |     
  50 |     COPY launch.sh /usr/games/launch.sh
--------------------
ERROR: failed to solve: process "/bin/sh -c mv /usr/games/.config/user-dirs.conf /etc/xdg/user-dirs.defaults" did not complete successfully: exit code: 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.