Skip to content

Commit

Permalink
refactor: moved bootstrap hook to after crontab is initialized (fixes #…
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-fabian-pittroff committed Sep 27, 2024
1 parent ad2e4dd commit cb474e6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,12 +186,16 @@ again. If you want to keep the current savegame, make sure to make a backup befo
```bash
docker compose exec enshrouded supervisorctl start enshrouded-reset-roles
```
* **Restart Enshrouded Server:** (can be used for periodic restarts)
```bash
docker compose exec enshrouded supervisorctl restart enshrouded-server
```

## Known Issues

* The server doesn't start (not logging `'HostOnline' (up)!`) or the update fails with following error:
```
Error! App '2278520' state is 0x202 after update job.
```
This means there is probably something wrong with your file permissions. Make sure the UID and GID are correct and the
files are owned by the correct user.
This means there is probably something wrong with your file permissions, or you don't have enough disk space left.
Make sure the UID and GID are correct and the files are owned by the correct user.
2 changes: 1 addition & 1 deletion scripts/proton/enshrouded-bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ main() {
prepareEnshroudedAppFolders
updateOrCreateEnshroudedServerConfig
prepareSteamA2sPythonLibrary
bootstrapHook

# no proton bootstrap needed

initCrontab
bootstrapHook
supervisorctl start enshrouded-updater
info "Bootstrap complete"
}
Expand Down
2 changes: 1 addition & 1 deletion scripts/wine/enshrouded-bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ main() {
prepareEnshroudedAppFolders
updateOrCreateEnshroudedServerConfig
prepareSteamA2sPythonLibrary
bootstrapHook

bootstrapWine

initCrontab
bootstrapHook
supervisorctl start enshrouded-updater
info "Bootstrap complete"
}
Expand Down

0 comments on commit cb474e6

Please sign in to comment.