Skip to content

Commit

Permalink
Reset incomplete startup flag on provisioning
Browse files Browse the repository at this point in the history
Also support new 1.10.0 flag file.
  • Loading branch information
foosel committed Jul 18, 2023
1 parent cbfb38f commit 810f78a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions configs/e2e/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ plugins:
enabled: true
server:
firstRun: false
incompleteStartup: false
onlineCheck:
enabled: false
pluginBlacklist:
Expand Down
1 change: 1 addition & 0 deletions configs/with_acl/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ plugins:
enabled: false
server:
firstRun: false
incompleteStartup: false
onlineCheck:
enabled: false
pluginBlacklist:
Expand Down
2 changes: 2 additions & 0 deletions fabfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -903,6 +903,8 @@ def octopi_provision(
):
"""provisions instance: start version, config, release channel, release patcher"""
octopi_octoservice("stop")
run("rm .octoprint/.incomplete_startup")

if version is not None:
octopi_patch_python_env()
octopi_install("OctoPrint=={}".format(version))
Expand Down

0 comments on commit 810f78a

Please sign in to comment.