Skip to content

fix: restore CMD apache2-foreground so containers boot when image Cmd is cleared - #29

Merged
chuygarcia92 merged 1 commit into
mainfrom
fix/restore-nextcloud-cmd
Oct 22, 2026
Merged

chuygarcia92 merged 1 commit into
mainfrom
fix/restore-nextcloud-cmd

Conversation

@chuygarcia92

@chuygarcia92 chuygarcia92 commented Oct 22, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Release v0.1.1-50 built a Nextcloud image with a cleared image command (Cmd: None). Because the upstream /entrypoint.sh ends with a bare exec "$@" and docker-compose.yml does not set command:, fresh containers start with zero arguments and exit immediately, entering a crash loop.

Changes

  • nextcloud/Dockerfile: explicitly set CMD ["apache2-foreground"].
  • nextcloud/docker-entrypoint.dappnode.sh: default to apache2-foreground when the container is started with no command, so the wrapper is robust even if the image CMD is cleared by the build pipeline.

Test plan

  • The PR Build test job should pass with dappnodesdk build --skip_save.

Note: this PR targets dappnode:main and should be merged by a maintainer; it does not merge itself.

@chuygarcia92
chuygarcia92 merged commit 0e1f789 into main Oct 22, 2026
4 checks passed
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