Skip to content

Fix bootstrap flow when Nextcloud install fails#106

Merged
vitormattos merged 4 commits into
mainfrom
fix/nextcloud-bootstrap-install-failure
May 5, 2026
Merged

Fix bootstrap flow when Nextcloud install fails#106
vitormattos merged 4 commits into
mainfrom
fix/nextcloud-bootstrap-install-failure

Conversation

@vitormattos
Copy link
Copy Markdown
Member

Summary

  • stop the Nextcloud bootstrap flow immediately when occ maintenance:install fails
  • avoid running post-install occ config:* commands when the instance is not installed
  • fail container startup if occ status is not installed: true
  • improve reset guidance in FAQ to mention the persistent volumes used by this workspace
  • make the install-failure reset hint database-aware (mysql vs pgsql)

Why

When the database is reachable but contains previous state, installation can fail (for example, admin login already exists). Previously the script continued and printed misleading setup-success messages while Nextcloud remained uninstalled.

Validation

  • reviewed diff for .docker/scripts/entrypoint.sh and docs/faq.md
  • ensured script syntax/diagnostics show no errors after edit

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
@vitormattos vitormattos merged commit 8ce383a into main May 5, 2026
6 checks passed
@vitormattos vitormattos deleted the fix/nextcloud-bootstrap-install-failure branch May 5, 2026 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant