Coder Social home page Coder Social logo

stardew-multiplayer-docker's People

Contributors

ecsport108 avatar humanoidsandvichdispenser avatar printfuck avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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

stardew-multiplayer-docker's Issues

Service 'valley' failed to build

Hello,

I've been trying to get this docker container to work however during the build process I'm getting the following error:

---> Running in 961ad92c402a The command '/bin/sh -c mkdir -p /data/Stardew && mkdir -p /data/nexus && wget https://eris.cc/Stardew_latest.tar.gz -qO /data/latest.tar.gz && tar xf /data/latest.tar.gz -C /data/Stardew && rm /data/latest.tar.gz'returned a non-zero code: 4 ERROR: Service 'valley' failed to build : Build failed

Any ideas?

Looks like it's having trouble wget'ing the file from eris.cc although I can download the file in a browser.

Temp-fix:
Downloaded file, scp to host. cp file to docker/
Edited docker/Dockerfile to the following:

# Game + ModLoader 1.5.6 3.18.2 RUN mkdir -p /data/Stardew && \ mkdir -p /data/nexus COPY latest.tar.gz /data/latest.tar.gz RUN tar xf /data/latest.tar.gz -C /data/Stardew && \ rm /data/latest.tar.gz

Arm64 Support

Greetings!

Would Arm64 support be possible?

Thanks!

bk.eris.cc

Hi,
entschuldige bitte den Spam, aber ich habe keine andere Kontaktmöglichkeit gefunden.
Kontaktiere mich doch mal - ich kann dir mit deinem BK Projekt behilflich sein!
Mail: bkfeedback[ at ]pm.me
Ich werde nicht sofort antworten, aber schon zeitnah!

Grüße, schönes Wochenende und nochmals entschuldigung für den Spam!

Error on `docker-compose up`

/usr/bin/xterm
valley_1  | /bin/sh: 1: i3status: Operation not permitted
valley_1  | [../../i3-wm-4.13/i3bar/src/child.c:339] ERROR: stdin: received EOF
valley_1  | [../../i3-wm-4.13/i3bar/src/child.c:339] ERROR: stdin: received EOF

Cannot launch Docker image

Title says all, I'm on Windows 10 using Docker Desktop and I'm unable to start it properly.

Starting stardew ... done
Attaching to stardew
stardew   | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
stardew   | [s6-init] ensuring user provided files have correct perms...exited 0.
stardew   | [fix-attrs.d] applying ownership & permissions fixes...
stardew   | [fix-attrs.d] done.
stardew   | [cont-init.d] executing container initialization scripts...
stardew   | [cont-init.d] 00-app-niceness.sh: executing...
stardew   | [cont-init.d] 00-app-niceness.sh: exited 0.
stardew   | [cont-init.d] 00-app-script.sh: executing...
stardew   | [cont-init.d] 00-app-script.sh: exited 0.
stardew   | [cont-init.d] 00-app-user-map.sh: executing...
stardew   | [cont-init.d] 00-app-user-map.sh: exited 0.
stardew   | [cont-init.d] 00-clean-logmonitor-states.sh: executing...
stardew   | [cont-init.d] 00-clean-logmonitor-states.sh: exited 0.
stardew   | [cont-init.d] 00-clean-tmp-dir.sh: executing...
stardew   | [cont-init.d] 00-clean-tmp-dir.sh: exited 0.
stardew   | [cont-init.d] 00-set-app-deps.sh: executing...
stardew   | [cont-init.d] 00-set-app-deps.sh: exited 0.
stardew   | [cont-init.d] 00-set-home.sh: executing...
stardew   | [cont-init.d] 00-set-home.sh: exited 0.
stardew   | [cont-init.d] 00-take-config-ownership.sh: executing...
stardew   | [cont-init.d] 00-take-config-ownership.sh: exited 0.
stardew   | [cont-init.d] 00-xdg-runtime-dir.sh: executing...
stardew   | [cont-init.d] 00-xdg-runtime-dir.sh: exited 0.
stardew   | [cont-init.d] 10-certs.sh: executing...
stardew   | [cont-init.d] 10-certs.sh: exited 0.
stardew   | [cont-init.d] 10-cjk-font.sh: executing...
stardew   | [cont-init.d] 10-cjk-font.sh: exited 0.
stardew   | [cont-init.d] 10-nginx.sh: executing...
stardew   | [cont-init.d] 10-nginx.sh: exited 0.
stardew   | [cont-init.d] 10-vnc-password.sh: executing...
stardew   | stored passwd in file: /root/.vncpass
stardew   | [cont-init.d] 10-vnc-password.sh: exited 0.
stardew   | [cont-init.d] 10-web-index.sh: executing...
stardew   | [cont-init.d] 10-web-index.sh: exited 0.
stardew   | [cont-init.d] done.
stardew   | [services.d] starting services
stardew   | [services.d] starting s6-fdholderd...
stardew   | [services.d] starting nginx...
stardew   | [services.d] starting certsmonitor...
stardew   | [nginx] starting...
stardew   | [services.d] starting xvfb...
stardew   | [certsmonitor] disabling service: secure connection not enabled.
stardew   | [xvfb] starting...
stardew   | [services.d] starting openbox...
stardew   | [openbox] starting...
stardew   | [services.d] starting logmonitor...
stardew   | [services.d] starting x11vnc...
stardew   | [logmonitor] no file to monitor: disabling service...
stardew   | [services.d] starting statusmonitor...
stardew   | [services.d] starting app...
stardew   | [statusmonitor] no file to monitor: disabling service...
stardew   | [x11vnc] starting...
stardew   | 19/06/2022 14:20:05 passing arg to libvncserver: -rfbport
stardew   | 19/06/2022 14:20:05 passing arg to libvncserver: 5900
stardew   | 19/06/2022 14:20:05 passing arg to libvncserver: -rfbportv6
stardew   | 19/06/2022 14:20:05 passing arg to libvncserver: -1
stardew   | 19/06/2022 14:20:05 passing arg to libvncserver: -httpportv6
stardew   | 19/06/2022 14:20:05 passing arg to libvncserver: -1
stardew   | 19/06/2022 14:20:05 passing arg to libvncserver: -desktop
stardew   | 19/06/2022 14:20:05 passing arg to libvncserver: StardewValley
stardew   | 19/06/2022 14:20:05 passing arg to libvncserver: -rfbauth
stardew   | 19/06/2022 14:20:05 passing arg to libvncserver: /root/.vncpass
stardew   | 19/06/2022 14:20:05 x11vnc version: 0.9.14 lastmod: 2015-11-14  pid: 815
stardew   | [app] starting StardewValley...
stardew   | 19/06/2022 14:20:05 Using X display :0
stardew   | 19/06/2022 14:20:05 rootwin: 0x388 reswin: 0x400001 dpy: 0x304fde0
stardew   | s6-applyuidgid: fatal: unable to exec /startapp.sh: No such file or directory
stardew   | 19/06/2022 14:20:05
stardew   | 19/06/2022 14:20:05 ------------------ USEFUL INFORMATION ------------------
stardew   | [services.d] done.
stardew   | 19/06/2022 14:20:05 X DAMAGE available on display, using it for polling hints.
stardew   | 19/06/2022 14:20:05   To disable this behavior use: '-noxdamage'
stardew   | 19/06/2022 14:20:05
stardew   | 19/06/2022 14:20:05   Most compositing window managers like 'compiz' or 'beryl'
stardew   | 19/06/2022 14:20:05   cause X DAMAGE to fail, and so you may not see any screen
stardew   | 19/06/2022 14:20:05   updates via VNC.  Either disable 'compiz' (recommended) or
stardew   | 19/06/2022 14:20:05   supply the x11vnc '-noxdamage' command line option.
stardew   | 19/06/2022 14:20:05 X COMPOSITE available on display, using it for window polling.
stardew   | 19/06/2022 14:20:05   To disable this behavior use: '-noxcomposite'
stardew   | 19/06/2022 14:20:05
stardew   | 19/06/2022 14:20:05 Wireframing: -wireframe mode is in effect for window moves.
stardew   | 19/06/2022 14:20:05   If this yields undesired behavior (poor response, painting
stardew   | 19/06/2022 14:20:05   errors, etc) it may be disabled:
stardew   | 19/06/2022 14:20:05    - use '-nowf' to disable wireframing completely.
stardew   | 19/06/2022 14:20:05    - use '-nowcr' to disable the Copy Rectangle after the
stardew   | 19/06/2022 14:20:05      moved window is released in the new position.
stardew   | 19/06/2022 14:20:05   Also see the -help entry for tuning parameters.
stardew   | 19/06/2022 14:20:05   You can press 3 Alt_L's (Left "Alt" key) in a row to
stardew   | 19/06/2022 14:20:05   repaint the screen, also see the -fixscreen option for
stardew   | 19/06/2022 14:20:05   periodic repaints.
stardew   | 19/06/2022 14:20:05 GrabServer control via XTEST.
stardew   | 19/06/2022 14:20:05
stardew   | 19/06/2022 14:20:05 Scroll Detection: -scrollcopyrect mode is in effect to
stardew   | 19/06/2022 14:20:05   use RECORD extension to try to detect scrolling windows
stardew   | 19/06/2022 14:20:05   (induced by either user keystroke or mouse input).
stardew   | 19/06/2022 14:20:05   If this yields undesired behavior (poor response, painting
stardew   | 19/06/2022 14:20:05   errors, etc) it may be disabled via: '-noscr'
stardew   | 19/06/2022 14:20:05   Also see the -help entry for tuning parameters.
stardew   | 19/06/2022 14:20:05   You can press 3 Alt_L's (Left "Alt" key) in a row to
stardew   | 19/06/2022 14:20:05   repaint the screen, also see the -fixscreen option for
stardew   | 19/06/2022 14:20:05   periodic repaints.
stardew   | 19/06/2022 14:20:05
stardew   | 19/06/2022 14:20:05 XKEYBOARD: number of keysyms per keycode 7 is greater
stardew   | 19/06/2022 14:20:05   than 4 and 51 keysyms are mapped above 4.
stardew   | 19/06/2022 14:20:05   Automatically switching to -xkb mode.
stardew   | 19/06/2022 14:20:05   If this makes the key mapping worse you can
stardew   | 19/06/2022 14:20:05   disable it with the "-noxkb" option.
stardew   | 19/06/2022 14:20:05   Also, remember "-remap DEAD" for accenting characters.
stardew   | 19/06/2022 14:20:05
stardew   | 19/06/2022 14:20:05 X FBPM extension not supported.
stardew   | Xlib:  extension "DPMS" missing on display ":0".
stardew   | 19/06/2022 14:20:05 X display is not capable of DPMS.
stardew   | 19/06/2022 14:20:05 --------------------------------------------------------
stardew   | 19/06/2022 14:20:05
stardew   | 19/06/2022 14:20:05 Default visual ID: 0x21
stardew   | 19/06/2022 14:20:05 Read initial data from X display into framebuffer.
stardew   | 19/06/2022 14:20:05 initialize_screen: fb_depth/fb_bpp/fb_Bpl 24/32/3200
stardew   | 19/06/2022 14:20:05
stardew   | 19/06/2022 14:20:05 X display :0 is 32bpp depth=24 true color
stardew   | 19/06/2022 14:20:05
stardew   | 19/06/2022 14:20:05 Listening for VNC connections on TCP port 5900
stardew   | 19/06/2022 14:20:05
stardew   | 19/06/2022 14:20:05 Xinerama is present and active (e.g. multi-head).
stardew   | 19/06/2022 14:20:05 Xinerama: number of sub-screens: 1
stardew   | 19/06/2022 14:20:05 Xinerama: no blackouts needed (only one sub-screen)
stardew   | 19/06/2022 14:20:05
stardew   | 19/06/2022 14:20:05 fb read rate: 868 MB/sec
stardew   | 19/06/2022 14:20:05 fast read: reset -wait  ms to: 10
stardew   | 19/06/2022 14:20:05 fast read: reset -defer ms to: 10
stardew   | 19/06/2022 14:20:05 The X server says there are 10 mouse buttons.
stardew   | 19/06/2022 14:20:05 screen setup finished.
stardew   | 19/06/2022 14:20:05
stardew   |
stardew   | The VNC desktop is:      baf69f968e3d:0
stardew   | PORT=5900
stardew   |
stardew   | ******************************************************************************
stardew   | Have you tried the x11vnc '-ncache' VNC client-side pixel caching feature yet?
stardew   |
stardew   | The scheme stores pixel data offscreen on the VNC viewer side for faster
stardew   | retrieval.  It should work with any VNC viewer.  Try it by running:
stardew   |
stardew   |     x11vnc -ncache 10 ...
stardew   |
stardew   | One can also add -ncache_cr for smooth 'copyrect' window motion.
stardew   | More info: http://www.karlrunge.com/x11vnc/faq.html#faq-client-caching
stardew   |
stardew   | [services.d] stopping services
stardew   | [services.d] stopping app...
stardew   | [services.d] stopping statusmonitor...
stardew   | [services.d] stopping x11vnc...
stardew   | caught signal: 15
stardew   | 19/06/2022 14:20:06 deleted 25 tile_row polling images.
stardew   | [services.d] stopping logmonitor...
stardew   | [services.d] stopping openbox...
stardew   | [services.d] stopping xvfb...
stardew   | [services.d] stopping certsmonitor...
stardew   | [services.d] stopping nginx...
stardew   | [services.d] stopping s6-fdholderd...
stardew   | [cont-finish.d] executing container finish scripts...
stardew   | [cont-finish.d] done.
stardew   | [s6-finish] syncing disks.
stardew   | [s6-finish] sending all processes the TERM signal.
stardew   | [s6-finish] sending all processes the KILL signal and exiting.
stardew exited with code 111

Update to 1.5

Is there any chance we could get update instructions added to the README for posterity/forkability?

Server out of date

The hosted server tar.gz is out of date with the current version of SV. I don't mind hosting my own, but the vanilla download doesn't seem to have the right files. Do you have a process for creating your hosted Stardew_latest.tar.gz content that you could share?

unable to bring it up

tried using docker compose and ansible-localhost. it fails to come up

valley_1 | 25/03/2020 17:59:53 x11vnc version: 0.9.13 lastmod: 2011-08-10 pid: 24
valley_1 | 25/03/2020 17:59:53 XOpenDisplay(":10") failed.
valley_1 | 25/03/2020 17:59:53 Trying again with XAUTHLOCALHOSTNAME=localhost ...
valley_1 |
valley_1 | 25/03/2020 17:59:53 ***************************************
valley_1 | 25/03/2020 17:59:53 *** XOpenDisplay failed (:10)
valley_1 |
valley_1 | *** x11vnc was unable to open the X DISPLAY: ":10", it cannot continue.
valley_1 | *** There may be "Xlib:" error messages above with details about the failure.
valley_1 |
valley_1 | Some tips and guidelines:
valley_1 |
valley_1 | ** An X server (the one you wish to view) must be running before x11vnc is
valley_1 | started: x11vnc does not start the X server. (however, see the -create
valley_1 | option if that is what you really want).
valley_1 |
valley_1 | ** You must use -display , -OR- set and export your $DISPLAY
valley_1 | environment variable to refer to the display of the desired X server.
valley_1 | - Usually the display is simply ":0" (in fact x11vnc uses this if you forget
valley_1 | to specify it), but in some multi-user situations it could be ":1", ":2",
valley_1 | or even ":137". Ask your administrator or a guru if you are having
valley_1 | difficulty determining what your X DISPLAY is.
valley_1 |
valley_1 | ** Next, you need to have sufficient permissions (Xauthority)
valley_1 | to connect to the X DISPLAY. Here are some Tips:
valley_1 |
valley_1 | - Often, you just need to run x11vnc as the user logged into the X session.
valley_1 | So make sure to be that user when you type x11vnc.
valley_1 | - Being root is usually not enough because the incorrect MIT-MAGIC-COOKIE
valley_1 | file may be accessed. The cookie file contains the secret key that
valley_1 | allows x11vnc to connect to the desired X DISPLAY.
valley_1 | - You can explicitly indicate which MIT-MAGIC-COOKIE file should be used
valley_1 | by the -auth option, e.g.:
valley_1 | x11vnc -auth /home/someuser/.Xauthority -display :0
valley_1 | x11vnc -auth /tmp/.gdmzndVlR -display :0
valley_1 | you must have read permission for the auth file.
valley_1 | See also '-auth guess' and '-findauth' discussed below.
valley_1 |
valley_1 | ** If NO ONE is logged into an X session yet, but there is a greeter login
valley_1 | program like "gdm", "kdm", "xdm", or "dtlogin" running, you will need
valley_1 | to find and use the raw display manager MIT-MAGIC-COOKIE file.
valley_1 | Some examples for various display managers:
valley_1 |
valley_1 | gdm: -auth /var/gdm/:0.Xauth
valley_1 | -auth /var/lib/gdm/:0.Xauth
valley_1 | kdm: -auth /var/lib/kdm/A:0-crWk72
valley_1 | -auth /var/run/xauth/A:0-crWk72
valley_1 | xdm: -auth /var/lib/xdm/authdir/authfiles/A:0-XQvaJk
valley_1 | dtlogin: -auth /var/dt/A:0-UgaaXa
valley_1 |
valley_1 | Sometimes the command "ps wwwwaux | grep auth" can reveal the file location.
valley_1 |
valley_1 | Starting with x11vnc 0.9.9 you can have it try to guess by using:
valley_1 |
valley_1 | -auth guess
valley_1 |
valley_1 | (see also the x11vnc -findauth option.)
valley_1 |
valley_1 | Only root will have read permission for the file, and so x11vnc must be run
valley_1 | as root (or copy it). The random characters in the filenames will of course
valley_1 | change and the directory the cookie file resides in is system dependent.
valley_1 |
valley_1 | See also: http://www.karlrunge.com/x11vnc/faq.html
valley_1 |
valley_1 | --- x11vnc loop: sleeping 2000 ms ---
valley_1 |
valley_1 | command
valley_1 | /usr/bin/xterm
valley_1 | i3: Cannot open display
valley_1 |
valley_1 | Warning: This program is an suid-root program or is being run by the root user.
valley_1 | The full text of the error or warning message cannot be safely formatted
valley_1 | in this environment. You may get a more descriptive message by running the
valley_1 | program as a non-root user or by removing the suid bit on the executable.
valley_1 | xterm: Xt error: Can't open display: %s

Windows git client sent me down a rabbithole

I cloned this repo in my windows environment, which converted line endings to windows style... but of course we want these scripts to run inside the unix based docker container. For a while I couldn't tell what was wrong until I made a bash entrypoint and actually examined startapp.sh and the scripts in /opt. I have a work in progress branch that simply adds dos2unix to the image and runs a few extra steps on the container, is there any interest in me putting up a PR?

Option to pause the server while no one is playing

Hey, love your work! I just got my server started and I was wondering if we could pause it when no one is inside. It might be a stupid idea, I have not been playing the game at all yet but at first glance I feel like having the time pass by while not playing is not desirable.

I was thinking of using a docker pause type command when the server sees that there are no local players which is actually easily accessible in the logs. There would need to be some kind of UI to unpause it when someone wants to log in again. I'm thinking of a second container for that UI and I'm still looking for the best way to enable it to pause/unpause the other container without giving it too much rights (e.g. the complete docker socket).

Any thoughts on the overall idea and implementation?

Cant Add Stardew Valley Expanded

at first i am New at Git so sorry when i am in the wrong section

I add the Mods in Env
Enable_STARDEW_VALLEY_EXPANDED_MOD True
But it doesnt show ingame

the Other Mods ive Add work

Poor screen resolution in VNC

When I first loaded the server through the web UI, the menu was displaying incorrectly, some options were outside the frame, some buttons overlapped etc ...

Fixed it by using 1600x1280 resolution in the docker-compose environment variable but that might not be the most universal option. Should it become the default?

Getting booted after festivals

I keep getting booted after the festivals when playing multiplayer. I'm guessing it has something to do with the automod? When I log into tightVNC it says in chat with the automod bot something along the lines of "switch to single player". This usually occurs as soon as the festival is about to start (ie dance/ main event).

Any idea what could be causing this or any work arounds? I originally changed the count down timers to 3 minutes as 10 mins was too long to wait, and we are unable to start the festival on our own. I can't see any other things that may be contributing.

Thanks again for the great mod. My friends and me have really been enjoying it just this one issue.

EDIT: It seems to disconnect everyone at the end of the festival even when the automod is off. It says "switching to single player" and everyone gets disconnected except the server player.

Cant connect via VNC or access web interface

Hi!

I cloned the repo and run docker-compose up.

Now when i need to access the game i cant connect either via VNC or find it in my localhost:5800 on the browser as the intructions list.

This is the output of my docker-compose up to get the image running in case you can find something is off:

stardew-multiplayer-docker master took 2m11s ❯ docker-compose up                                                                                       (base)
Recreating stardew ... done
Attaching to stardew
stardew   | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
stardew   | [s6-init] ensuring user provided files have correct perms...exited 0.
stardew   | [fix-attrs.d] applying ownership & permissions fixes...
stardew   | [fix-attrs.d] done.
stardew   | [cont-init.d] executing container initialization scripts...
stardew   | [cont-init.d] 00-app-niceness.sh: executing... 
stardew   | [cont-init.d] 00-app-niceness.sh: exited 0.
stardew   | [cont-init.d] 00-app-script.sh: executing... 
stardew   | [cont-init.d] 00-app-script.sh: exited 0.
stardew   | [cont-init.d] 00-app-user-map.sh: executing... 
stardew   | [cont-init.d] 00-app-user-map.sh: exited 0.
stardew   | [cont-init.d] 00-clean-logmonitor-states.sh: executing... 
stardew   | [cont-init.d] 00-clean-logmonitor-states.sh: exited 0.
stardew   | [cont-init.d] 00-clean-tmp-dir.sh: executing... 
stardew   | [cont-init.d] 00-clean-tmp-dir.sh: exited 0.
stardew   | [cont-init.d] 00-set-app-deps.sh: executing... 
stardew   | [cont-init.d] 00-set-app-deps.sh: exited 0.
stardew   | [cont-init.d] 00-set-home.sh: executing... 
stardew   | [cont-init.d] 00-set-home.sh: exited 0.
stardew   | [cont-init.d] 00-take-config-ownership.sh: executing... 
stardew   | [cont-init.d] 00-take-config-ownership.sh: exited 0.
stardew   | [cont-init.d] 00-xdg-runtime-dir.sh: executing... 
stardew   | [cont-init.d] 00-xdg-runtime-dir.sh: exited 0.
stardew   | [cont-init.d] 10-certs.sh: executing... 
stardew   | [cont-init.d] 10-certs.sh: exited 0.
stardew   | [cont-init.d] 10-cjk-font.sh: executing... 
stardew   | [cont-init.d] 10-cjk-font.sh: exited 0.
stardew   | [cont-init.d] 10-nginx.sh: executing... 
stardew   | [cont-init.d] 10-nginx.sh: exited 0.
stardew   | [cont-init.d] 10-vnc-password.sh: executing... 
stardew   | stored passwd in file: /root/.vncpass
stardew   | [cont-init.d] 10-vnc-password.sh: exited 0.
stardew   | [cont-init.d] 10-web-index.sh: executing... 
stardew   | [cont-init.d] 10-web-index.sh: exited 0.
stardew   | [cont-init.d] done.
stardew   | [services.d] starting services
stardew   | [services.d] starting s6-fdholderd...
stardew   | [services.d] starting nginx...
stardew   | [services.d] starting certsmonitor...
stardew   | [services.d] starting xvfb...
stardew   | [nginx] starting...
stardew   | [certsmonitor] disabling service: secure connection not enabled.
stardew   | [xvfb] starting...
stardew   | [services.d] starting statusmonitor...
stardew   | [services.d] starting x11vnc...
stardew   | [statusmonitor] no file to monitor: disabling service...
stardew   | [services.d] starting logmonitor...
stardew   | [services.d] starting openbox...
stardew   | [logmonitor] no file to monitor: disabling service...
stardew   | [x11vnc] starting...
stardew   | [openbox] starting...
stardew   | 03/02/2023 21:34:17 passing arg to libvncserver: -rfbport
stardew   | 03/02/2023 21:34:17 passing arg to libvncserver: 5900
stardew   | 03/02/2023 21:34:17 passing arg to libvncserver: -rfbportv6
stardew   | 03/02/2023 21:34:17 passing arg to libvncserver: -1
stardew   | 03/02/2023 21:34:17 passing arg to libvncserver: -httpportv6
stardew   | 03/02/2023 21:34:17 passing arg to libvncserver: -1
stardew   | 03/02/2023 21:34:17 passing arg to libvncserver: -desktop
stardew   | 03/02/2023 21:34:17 passing arg to libvncserver: StardewValley
stardew   | 03/02/2023 21:34:17 passing arg to libvncserver: -rfbauth
stardew   | 03/02/2023 21:34:17 passing arg to libvncserver: /root/.vncpass
stardew   | 03/02/2023 21:34:17 x11vnc version: 0.9.14 lastmod: 2015-11-14  pid: 771
stardew   | 03/02/2023 21:34:17 Using X display :0
stardew   | 03/02/2023 21:34:17 rootwin: 0x388 reswin: 0x200001 dpy: 0x138bede0
stardew   | 03/02/2023 21:34:17 
stardew   | 03/02/2023 21:34:17 ------------------ USEFUL INFORMATION ------------------
stardew   | 03/02/2023 21:34:17 X DAMAGE available on display, using it for polling hints.
stardew   | 03/02/2023 21:34:17   To disable this behavior use: '-noxdamage'
stardew   | 03/02/2023 21:34:17 
stardew   | 03/02/2023 21:34:17   Most compositing window managers like 'compiz' or 'beryl'
stardew   | 03/02/2023 21:34:17   cause X DAMAGE to fail, and so you may not see any screen
stardew   | 03/02/2023 21:34:17   updates via VNC.  Either disable 'compiz' (recommended) or
stardew   | 03/02/2023 21:34:17   supply the x11vnc '-noxdamage' command line option.
stardew   | 03/02/2023 21:34:17 X COMPOSITE available on display, using it for window polling.
stardew   | 03/02/2023 21:34:17   To disable this behavior use: '-noxcomposite'
stardew   | 03/02/2023 21:34:17 
stardew   | 03/02/2023 21:34:17 Wireframing: -wireframe mode is in effect for window moves.
stardew   | 03/02/2023 21:34:17   If this yields undesired behavior (poor response, painting
stardew   | 03/02/2023 21:34:17   errors, etc) it may be disabled:
stardew   | 03/02/2023 21:34:17    - use '-nowf' to disable wireframing completely.
stardew   | 03/02/2023 21:34:17    - use '-nowcr' to disable the Copy Rectangle after the
stardew   | 03/02/2023 21:34:17      moved window is released in the new position.
stardew   | 03/02/2023 21:34:17   Also see the -help entry for tuning parameters.
stardew   | 03/02/2023 21:34:17   You can press 3 Alt_L's (Left "Alt" key) in a row to 
stardew   | 03/02/2023 21:34:17   repaint the screen, also see the -fixscreen option for
stardew   | 03/02/2023 21:34:17   periodic repaints.
stardew   | 03/02/2023 21:34:17 GrabServer control via XTEST.
stardew   | 03/02/2023 21:34:17 
stardew   | 03/02/2023 21:34:17 Scroll Detection: -scrollcopyrect mode is in effect to
stardew   | 03/02/2023 21:34:17   use RECORD extension to try to detect scrolling windows
stardew   | 03/02/2023 21:34:17   (induced by either user keystroke or mouse input).
stardew   | 03/02/2023 21:34:17   If this yields undesired behavior (poor response, painting
stardew   | 03/02/2023 21:34:17   errors, etc) it may be disabled via: '-noscr'
stardew   | 03/02/2023 21:34:17   Also see the -help entry for tuning parameters.
stardew   | 03/02/2023 21:34:17   You can press 3 Alt_L's (Left "Alt" key) in a row to 
stardew   | 03/02/2023 21:34:17   repaint the screen, also see the -fixscreen option for
stardew   | 03/02/2023 21:34:17   periodic repaints.
stardew   | 03/02/2023 21:34:17 
stardew   | 03/02/2023 21:34:17 XKEYBOARD: number of keysyms per keycode 7 is greater
stardew   | 03/02/2023 21:34:17   than 4 and 51 keysyms are mapped above 4.
stardew   | 03/02/2023 21:34:17   Automatically switching to -xkb mode.
stardew   | 03/02/2023 21:34:17   If this makes the key mapping worse you can
stardew   | 03/02/2023 21:34:17   disable it with the "-noxkb" option.
stardew   | 03/02/2023 21:34:17   Also, remember "-remap DEAD" for accenting characters.
stardew   | 03/02/2023 21:34:17 
stardew   | 03/02/2023 21:34:17 X FBPM extension not supported.
stardew   | Xlib:  extension "DPMS" missing on display ":0".
stardew   | 03/02/2023 21:34:17 X display is not capable of DPMS.
stardew   | 03/02/2023 21:34:17 --------------------------------------------------------
stardew   | 03/02/2023 21:34:17 
stardew   | 03/02/2023 21:34:17 Default visual ID: 0x21
stardew   | 03/02/2023 21:34:17 Read initial data from X display into framebuffer.
stardew   | 03/02/2023 21:34:17 initialize_screen: fb_depth/fb_bpp/fb_Bpl 24/32/3200
stardew   | 03/02/2023 21:34:17 
stardew   | 03/02/2023 21:34:17 X display :0 is 32bpp depth=24 true color
stardew   | 03/02/2023 21:34:17 
stardew   | 03/02/2023 21:34:17 Listening for VNC connections on TCP port 5900
stardew   | 03/02/2023 21:34:17 
stardew   | 03/02/2023 21:34:17 Xinerama is present and active (e.g. multi-head).
stardew   | 03/02/2023 21:34:17 Xinerama: number of sub-screens: 1
stardew   | 03/02/2023 21:34:17 Xinerama: no blackouts needed (only one sub-screen)
stardew   | 03/02/2023 21:34:17 
stardew   | 03/02/2023 21:34:17 fb read rate: 3125 MB/sec
stardew   | 03/02/2023 21:34:17 fast read: reset -wait  ms to: 10
stardew   | 03/02/2023 21:34:17 fast read: reset -defer ms to: 10
stardew   | 03/02/2023 21:34:17 The X server says there are 10 mouse buttons.
stardew   | 03/02/2023 21:34:17 screen setup finished.
stardew   | 03/02/2023 21:34:17 
stardew   | 
stardew   | The VNC desktop is:      85276f715287:0
stardew   | PORT=5900
stardew   | 
stardew   | ******************************************************************************
stardew   | Have you tried the x11vnc '-ncache' VNC client-side pixel caching feature yet?
stardew   | 
stardew   | The scheme stores pixel data offscreen on the VNC viewer side for faster
stardew   | retrieval.  It should work with any VNC viewer.  Try it by running:
stardew   | 
stardew   |     x11vnc -ncache 10 ...
stardew   | 
stardew   | One can also add -ncache_cr for smooth 'copyrect' window motion.
stardew   | More info: http://www.karlrunge.com/x11vnc/faq.html#faq-client-caching
stardew   | 
stardew   | [services.d] starting app...
stardew   | [app] starting StardewValley...
stardew   | [services.d] done.
stardew   | Configuring /data/Stardew/Stardew Valley/Mods/Always On Server/config.json
stardew   | Configuring /data/Stardew/Stardew Valley/Mods/AutoLoadGame/config.json
stardew   | Removing /data/Stardew/Stardew Valley/Mods/ChatCommands/ (ENABLE_CHATCOMMANDS_MOD=false)
stardew   | Removing /data/Stardew/Stardew Valley/Mods/ConsoleCommands/ (ENABLE_CONSOLECOMMANDS_MOD=false)
stardew   | Removing /data/Stardew/Stardew Valley/Mods/CropsAnytimeAnywhere/ (ENABLE_CROPSANYTIMEANYWHERE_MOD=false)
stardew   | Removing /data/Stardew/Stardew Valley/Mods/ErrorHandler/ (ENABLE_ERRORHANDLER_MOD=)
stardew   | Removing /data/Stardew/Stardew Valley/Mods/FriendsForever/ (ENABLE_FRIENDSFOREVER_MOD=false)
stardew   | Removing /data/Stardew/Stardew Valley/Mods/NoFenceDecay/ (ENABLE_NOFENCEDECAY_MOD=false)
stardew   | Removing /data/Stardew/Stardew Valley/Mods/NonDestructiveNPCs/ (ENABLE_NONDESTRUCTIVENPCS_MOD=false)
stardew   | Configuring /data/Stardew/Stardew Valley/Mods/RemoteControl/config.json
stardew   | Removing /data/Stardew/Stardew Valley/Mods/TimeSpeed/ (ENABLE_TIMESPEED_MOD=false)
stardew   | Configuring /data/Stardew/Stardew Valley/Mods/UnlimitedPlayers/config.json
stardew   | -- SMAPI Log: Starting
stardew   | -- SMAPI Log:  Tailing
stardew   | [21:29:44 INFO  SMAPI] Type 'help' for help, or 'help <cmd>' for a command's usage
stardew   | [21:29:44 ALERT SMAPI] You can update SMAPI to 3.18.2: https://smapi.io
stardew   | [21:29:44 TRACE SMAPI]    Checking for updates to 4 mods...
stardew   | [21:29:44 TRACE game] Window_ClientSizeChanged(); Window.ClientBounds={X:0 Y:0 Width:800 Height:640}
stardew   | [21:29:45 TRACE SMAPI] Got update-check errors for some mods:
stardew   |    Armi's Unlimited Players: The CurseForge mod with ID '362847' has no valid versions.
stardew   |    Remote Control: Found no GitHub release for this ID.
stardew   | 
stardew   | [21:29:45 ALERT SMAPI] You can update 1 mod:
stardew   | [21:29:45 ALERT SMAPI]    Armi's Unlimited Players 2021.2.27: https://github.com/Armitxes/StardewValley_UnlimitedPlayers/releases
stardew   | /usr/bin/xterm

For the VNC option I downloaded vncviewer and try to connec to localhost:5900 but connection is refused.

Thanks!

Host account trigger commands?

I don't know what mod is this pack using for this, but is there, or can be implemented a feature where you type in a command to trigger the automated host to do? Like when there's the egg festival, if we type /skip /go or !skip !go and the event is started by the host/admin/owner player?

Loading other mods

Thanks for this docker! I am trying to add my own mods into the mods folder, but it only loads the default mods you put. How can I add my own mods?

Questions for UnRaid Setup

I am trying to configure this on unRaid, and many of your guidances say "You can control the ... with environment variables in the docker-compose.yml file."

Do you have a description of what variables are in the docker-compose file, or could be added. I would like to apply a save game I already have, but am not sure how to pass in the parameter. Also, how could I edit the "config.json" file as I do not see anywhere on the system the data is written?

How can I use my own legitimate game as the host?

The game will be pulled from my servers

I'm sorry but I can't understand this. Did the game files come from your Steam account, or using a pirated version of the game? If it's the former, would using this Docker container interfere with your gameplay? I have more than one Steam account and this game. By using Steam, I can use services like cloud saves. So, if I want to use a legitimate game purchased on Steam as the host, how should I modify the Dockerfile?

How to join?

Hello! I successfully set the thing up, and the vnc is working, but can someone tell me, how to join? Like when I try to use the VPS's IP adress, it fails to connect, is there a specific port to it?

Cant connect to VNC, or Web Player

Ran the server, it built fine, however when I attempt to connect to the VNC or Webserver, via either localhost or LAN, nothing happens. In both cases it just says "Refused connection" or something along those lines. When I run docker log , the latest log is always

[<time> TRACE game] Disconnected: ServerOfflineMode]

Any ideas for a fix anyone?

Docker not starting?

Im new to docker things so it is most likely my issue, but I keep getting this error everytime I try to start the server, I'm using unraid if that's any help I can vnc and webui into it just fine but this pops up am I missing my steam creds somewhere or something else like that?

image

Can't access the server even though the container is running

Hi, I'm trying to host an always on Stardew server using Docker on Linux (Raspberry Pi ARM Debian).
I have managed to get the docker container running, but I don't exactly how to continue now.
The webinterface is running on my local IP (which Docker runs on) on port 5801, but it only shows a black screen after logging in with my VNC credentials.

Would it be possible to run the container without VNC (I don't mind portforwarding)?

I also cannot access the server using localip:24642, it just shows that it cannot connect. Also tried using localhost.

What do I need to do in order to access the server, what serveraddress/port should I be using? And do I need to configure/start anything else?

i can't get the docker working at all need help

this is the log from it

Waiting for display

05/06/2021 13:30:34 passing arg to libvncserver: -rfbport

05/06/2021 13:30:34 passing arg to libvncserver: 5900

05/06/2021 13:30:34 passing arg to libvncserver: -rfbportv6

05/06/2021 13:30:34 passing arg to libvncserver: -1

05/06/2021 13:30:34 passing arg to libvncserver: -httpportv6

05/06/2021 13:30:34 passing arg to libvncserver: -1

05/06/2021 13:30:34 passing arg to libvncserver: -desktop

05/06/2021 13:30:34 passing arg to libvncserver: StardewValley

05/06/2021 13:30:34 passing arg to libvncserver: -passwd

05/06/2021 13:30:34 x11vnc version: 0.9.13 lastmod: 2011-08-10 pid: 29

05/06/2021 13:30:34 Using X display :10

05/06/2021 13:30:34 rootwin: 0x388 reswin: 0x200001 dpy: 0x7c638360

05/06/2021 13:30:34

05/06/2021 13:30:34 ------------------ USEFUL INFORMATION ------------------

05/06/2021 13:30:34 X DAMAGE available on display, using it for polling hints.

05/06/2021 13:30:34 To disable this behavior use: '-noxdamage'

05/06/2021 13:30:34

05/06/2021 13:30:34 Most compositing window managers like 'compiz' or 'beryl'

05/06/2021 13:30:34 cause X DAMAGE to fail, and so you may not see any screen

05/06/2021 13:30:34 updates via VNC. Either disable 'compiz' (recommended) or

05/06/2021 13:30:34 supply the x11vnc '-noxdamage' command line option.

05/06/2021 13:30:34

05/06/2021 13:30:34 Wireframing: -wireframe mode is in effect for window moves.

05/06/2021 13:30:34 If this yields undesired behavior (poor response, painting

05/06/2021 13:30:34 errors, etc) it may be disabled:

05/06/2021 13:30:34 - use '-nowf' to disable wireframing completely.

05/06/2021 13:30:34 - use '-nowcr' to disable the Copy Rectangle after the

05/06/2021 13:30:34 moved window is released in the new position.

05/06/2021 13:30:34 Also see the -help entry for tuning parameters.

05/06/2021 13:30:34 You can press 3 Alt_L's (Left "Alt" key) in a row to

05/06/2021 13:30:34 repaint the screen, also see the -fixscreen option for

05/06/2021 13:30:34 periodic repaints.

05/06/2021 13:30:34 GrabServer control via XTEST.

05/06/2021 13:30:34

05/06/2021 13:30:34 Scroll Detection: -scrollcopyrect mode is in effect to

05/06/2021 13:30:34 use RECORD extension to try to detect scrolling windows

05/06/2021 13:30:34 (induced by either user keystroke or mouse input).

05/06/2021 13:30:34 If this yields undesired behavior (poor response, painting

05/06/2021 13:30:34 errors, etc) it may be disabled via: '-noscr'

05/06/2021 13:30:34 Also see the -help entry for tuning parameters.

05/06/2021 13:30:34 You can press 3 Alt_L's (Left "Alt" key) in a row to

05/06/2021 13:30:34 repaint the screen, also see the -fixscreen option for

05/06/2021 13:30:34 periodic repaints.

05/06/2021 13:30:34

05/06/2021 13:30:34 XKEYBOARD: number of keysyms per keycode 7 is greater

05/06/2021 13:30:34 than 4 and 51 keysyms are mapped above 4.

05/06/2021 13:30:34 Automatically switching to -xkb mode.

05/06/2021 13:30:34 If this makes the key mapping worse you can

05/06/2021 13:30:34 disable it with the "-noxkb" option.

05/06/2021 13:30:34 Also, remember "-remap DEAD" for accenting characters.

05/06/2021 13:30:34

05/06/2021 13:30:34 X FBPM extension not supported.

Xlib: extension "DPMS" missing on display ":10".

05/06/2021 13:30:34 X display is not capable of DPMS.

05/06/2021 13:30:34 --------------------------------------------------------

05/06/2021 13:30:34

05/06/2021 13:30:34 Default visual ID: 0x21

05/06/2021 13:30:34 Read initial data from X display into framebuffer.

05/06/2021 13:30:34 initialize_screen: fb_depth/fb_bpp/fb_Bpl 24/32/6320

05/06/2021 13:30:34 *** unrecognized option(s) ***

05/06/2021 13:30:34 [1] 20

05/06/2021 13:30:34 For a list of options run: x11vnc -opts

05/06/2021 13:30:34 or for the full help: x11vnc -help

05/06/2021 13:30:34

05/06/2021 13:30:34 Here is a list of removed or obsolete options:

05/06/2021 13:30:34

05/06/2021 13:30:34 removed: -hints, -nohints

05/06/2021 13:30:34 removed: -cursorposall

05/06/2021 13:30:34 removed: -nofilexfer, now the default.

05/06/2021 13:30:34

05/06/2021 13:30:34 renamed: -old_copytile, use -onetile

05/06/2021 13:30:34 renamed: -mouse, use -cursor

05/06/2021 13:30:34 renamed: -mouseX, use -cursor X

05/06/2021 13:30:34 renamed: -X, use -cursor X

05/06/2021 13:30:34 renamed: -nomouse, use -nocursor

05/06/2021 13:30:34 renamed: -old_pointer, use -pointer_mode 1

command

/usr/bin/xterm

[libi3] ../../i3-wm-4.16.1/libi3/font.c Using Pango font monospace, size 8

[libi3] ../../i3-wm-4.16.1/libi3/font.c Using Pango font monospace, size 8

[libi3] ../../i3-wm-4.16.1/libi3/font.c Using Pango font monospace, size 8

/bin/sh: 1: i3status: Operation not permitted

[../../i3-wm-4.16.1/i3bar/src/child.c:468] ERROR: Child (pid: 75) unexpectedly exited with status 2

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.