-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
[Bug]: Warning while upgrading from 24 to 25: Table 'oc_photos_albums' doesn't exist #35287
Comments
Saw a similar issue while upgrading from 24.0.7 to 25.0.1:
Ubuntu 20.04.5 LTS |
so the photos app did get updated to 2.0, not sure why it would not create that table @artonge can you double check the migrations for this upgrade path ? |
Looks like a hook in the photos app is triggered by the deletion of a folder by the theming app migration. @PVince81 is it possible to check if an app migration is done, or should a simply wrap the code in a try/catch ? |
@artonge it might be possible to check still, I'm a bit worried that other apps might fail due to hooks being triggered do you have the code location from the stack trace which is triggering that ? maybe we can prevent hook triggering there ? another thing: I believe that the theme migration only operates in "appdata_*", maybe your hook handler could detect that, or even the emitter should not fire thoughts ? @CarlSchwan @icewind1991 |
Do those, who were affected by this issue need to do anything now? |
Bug description
When upgrading from 24 to 25, the following warning appears. I don't know if this is expected or not.
Steps to reproduce
Expected behavior
No errors or warnings.
Installation method
Community Manual installation with Archive
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.1
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Updated to a major version (ex. 22.2.3 to 23.0.1)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
No response
List of activated Apps
Nextcloud Signing status
No response
Nextcloud Logs
Additional info
No response
The text was updated successfully, but these errors were encountered: