Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Database upgrade via command line #2063

Closed
nebulade opened this issue Dec 12, 2023 · 2 comments
Closed

Database upgrade via command line #2063

nebulade opened this issue Dec 12, 2023 · 2 comments

Comments

@nebulade
Copy link

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?

@plegall
Copy link
Member

plegall commented Dec 12, 2023

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

@nebulade
Copy link
Author

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.

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

No branches or pull requests

2 participants