Skip to content

Fix Docker on-premise migration blockers (issue #5238)#5248

Closed
nilsteampassnet wants to merge 1 commit into
masterfrom
fix/5238-docker-migration
Closed

Fix Docker on-premise migration blockers (issue #5238)#5248
nilsteampassnet wants to merge 1 commit into
masterfrom
fix/5238-docker-migration

Conversation

@nilsteampassnet

@nilsteampassnet nilsteampassnet commented Jun 13, 2026

Copy link
Copy Markdown
Owner
  • entrypoint: keep public/install until DB version matches image version so /install/upgrade.php stays reachable during a pending upgrade
  • entrypoint: read DB version from legacy cpassman_version key as a fallback so migrated 3.1.5.x databases are detected
  • entrypoint: force nginx:nginx 0640 on the persistent settings.php and make the storage/ root writable; create storage/backups
  • Dockerfile: add storage/backups to the directory/permission baseline
  • php.ini: stop disabling exec (required by the scheduler, crontab setup and background-task trigger); keep the other shell functions disabled
  • upgrade_ajax.php: guard the crontab step with function_exists('exec') and catch \Throwable so it can never abort the upgrade response

Fixes #5238.

- entrypoint: keep public/install until DB version matches image version so /install/upgrade.php stays reachable during a pending upgrade
- entrypoint: read DB version from legacy cpassman_version key as a fallback so migrated 3.1.5.x databases are detected
- entrypoint: force nginx:nginx 0640 on the persistent settings.php and make the storage/ root writable; create storage/backups
- Dockerfile: add storage/backups to the directory/permission baseline
- php.ini: stop disabling exec (required by the scheduler, crontab setup and background-task trigger); keep the other shell functions disabled
- upgrade_ajax.php: guard the crontab step with function_exists('exec') and catch \Throwable so it can never abort the upgrade response
@nilsteampassnet

Copy link
Copy Markdown
Owner Author

Merged in develop

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.

[BUG] on-premise to docker

1 participant