-
Notifications
You must be signed in to change notification settings - Fork 20
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
Upgrade from 13.10.1.3 to 13.10.2 fails on Ubuntu. #726
Comments
Moved from owncloud/core#41057 (comment). |
This issue still persists with Core 10.13.3.4. |
The reason is most likely this change in #711: https://github.com/owncloud/updater/blob/master/src%2FCommand%2FBackupDbCommand.php#L46 The method now returns 1 and stops the update. Before, it returned nothing. Same for the "restartwebserver" command. Ref.: #713 |
@phil-davis Maybe the methods should return 0, i.e., fail silently? At least this seems to be how it was handled before #711. For now, we have the output that the methods are not implemented, which is quite good to know for anyone using the updater. |
PR #730 puts the behavior back, so that things that are not-yet-implemented will return command line status It won't end up in a release until the next core release (some time in 2024, I suppose). Existing installations would need to apply that change "manually" if they want to use the updater. |
Thanks! Running the updater from the command line will however not be possible as you described. |
Fixed in core 10.15. |
Steps to reproduce
Run update via /.../updater/application.php
Error: upgrade:backupDBlb command is not implemented
Updater exits.
Run update via webUI admin panel.
Update is successfull, but aborts with error: upgrade:restartWebServer command is not implemented.
UI is stuck and upgrade appears to not be finished.
Actually, update was successful.
Expected behaviour
The upgrade runs smoothly...
Actual behaviour
The upgrade fails at the first step or is successfull but shows an error.
Server configuration
Operating system: Ubuntu 20.04.6 LTS
Web server: Apache
Database: MariaDB
PHP version: 7.4
ownCloud version: 10.13.1.3
Updated from an older ownCloud or fresh install: Updated.
The text was updated successfully, but these errors were encountered: