Upgrading
Quick Upgrade
For most users with Docker images:
docker compose pull
docker compose down
docker compose up -dYour save files and configuration are stored in Docker volumes and will be preserved.
Upgrade Notes
Empty VNC_PASSWORD no longer aborts startup unconditionally
Earlier versions exited at startup whenever VNC_PASSWORD was empty. The current release surfaces it as a warning and aborts only when an insecure setup is detected (empty VNC_PASSWORD, or empty API_KEY with the API enabled). Set ALLOW_INSECURE_SETUP=true on closed networks to keep the warnings but skip the abort. See ALLOW_INSECURE_SETUP.
Using Preview Builds
Preview builds contain the latest changes from the master branch. Use these when:
- The latest stable release has known issues
- You want to test new features before official release
Enable Preview Builds
Set the image version in your .env file:
IMAGE_VERSION=previewThen pull and restart:
docker compose pull
docker compose down
docker compose up -dWARNING
Preview builds may contain experimental features or bugs. Back up your saves before switching.
Return to Stable
Remove or comment out the IMAGE_VERSION line in .env (defaults to latest):
# IMAGE_VERSION=previewThen pull and restart as above.
Updating Game Files
To download the latest Stardew Valley game files or SMAPI updates:
1. Stop the server
docker compose down2. Remove the game volume
docker volume rm server_game-dataVolume Names
Docker prefixes volume names with your project directory name. Run docker volume ls to see actual names.
Save Data is Safe
This only removes game files. Your save data in the saves volume is not affected.
3. Restart the server
docker compose up -dThe server automatically downloads the latest game files on startup.
Version Checking
Check your versions via CLI:
docker compose exec server attach-cli
# Type: infoOr look at the SMAPI console output in VNC when the server starts.
Upgrade Checklist
Before upgrading:
- [ ] Backup saves: Always backup the
savesvolume before major updates - [ ] Check mod compatibility: Verify mods work with new game versions
- [ ] Read release notes: Check the changelog for breaking changes
- [ ] Test first: For production servers, test in development first
Rollback
If you need to revert to a previous version:
1. Specify version in .env
IMAGE_VERSION=1.0.0Replace 1.0.0 with your desired version from GitHub Releases.
2. Pull and restart
docker compose pull
docker compose down
docker compose up -dTroubleshooting
Server Won't Start After Upgrade
- Check logs:
docker compose logs -f - Verify
.envconfiguration is valid - Ensure Steam credentials are correct
- Try removing and recreating the game volume
Mods Not Working After Update
- Check SMAPI console for mod errors
- Update mods to latest versions
- Remove incompatible mods temporarily
- Check mod pages for version compatibility
For Local Build Users
If building from source:
git pull origin master
git submodule update --recursive
make upSee Building from Source for details.