Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-Update #8

Closed
Devidian opened this issue Feb 6, 2021 · 4 comments · Fixed by #9
Closed

Auto-Update #8

Devidian opened this issue Feb 6, 2021 · 4 comments · Fixed by #9
Assignees
Labels
enhancement New feature or request

Comments

@Devidian
Copy link
Contributor

Devidian commented Feb 6, 2021

Hey man,

first of all thanks for the docker. I was close to create my own when i found yours instead. Working fine so far but it seems there is no update call to steamcmd if the entrypoint detects the game executable. Is there any way to upgrade the server?

I solved it in my case by completly removing the app and reinstall, of course i missed to backup my save before :D

Greeings
Devidian

@briandilley
Copy link

If you mounted the volumes from the sample you should just be able to pull a new image right?

@mbround18
Copy link
Owner

Yes, technically speaking if you only mount the save directory you should just be able to restart the container and it should redownload files. I haven't tested this functionality yet but the logic is there.

I can add some update functionality too :) you can just rerun install to download the update but I can create some additional functions

@mbround18 mbround18 self-assigned this Feb 6, 2021
@mbround18 mbround18 added the enhancement New feature or request label Feb 6, 2021
@Devidian
Copy link
Contributor Author

Devidian commented Feb 6, 2021

Oh i meant steamcmd should Just Check Files and Patch if possible, If you execute it at Startup. Others Steam Servers i Run do the Same. So i can Just Run docker-compile restart. Even with a mounted Game dir.

**Capital Letters Copyright by mobile correction

@mbround18
Copy link
Owner

@Devidian I removed the if check, rerunning odin install each start of the container will check for app updates and not force reinstalling the server.

mbround18 added a commit that referenced this issue Feb 7, 2021
* Auto Update Functions and clean up

* Fixed redundant start captures and fixed arguments

* Fixed output messages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants