Database upgrade via command line #1792

Closed
opened 2026-10-05 00:56:48 +02:00 by adam · 2 comments
Owner

Hi, I was just looking into updating the Cloudron Piwigo package to 14. Firstly, thanks for the great release :)
So once the code is updated, it will present the upgrade.php page in the browser, which asks for admin credentials to submit that form to run the database migration as I understand. In our case the app is updated automatically on behalf of the user, so unless the database migration is run automatically other users will incur some downtime until the admin gets to it. Is there any way this could also be run on the server itself via some commandline?

Hi, I was just looking into updating the Cloudron Piwigo package to 14. Firstly, thanks for the great release :) So once the code is updated, it will present the upgrade.php page in the browser, which asks for admin credentials to submit that form to run the database migration as I understand. In our case the app is updated automatically on behalf of the user, so unless the database migration is run automatically other users will incur some downtime until the admin gets to it. Is there any way this could also be run on the server itself via some commandline? <!-- github-sync-id:2037796668 -->
adam closed this issue 2026-10-05 00:56:48 +02:00
Author
Owner

You mean "without providing credentials", the answer is no. There is no "command line only" tool in Piwigo, that would require no authentication.

You mean "without providing credentials", the answer is no. There is no "command line only" tool in Piwigo, that would require no authentication. <!-- github-comment-id:1852112065 -->
Author
Owner

Thanks for the quick answer. Looks like we have to then wait for the admin of that app to come online to perform that step then and accept the potential downtime for other users.

Thanks for the quick answer. Looks like we have to then wait for the admin of that app to come online to perform that step then and accept the potential downtime for other users. <!-- github-comment-id:1852165680 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#1792