-
Notifications
You must be signed in to change notification settings - Fork 65
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
Breaking changes in Nextcloud 21 #165
Comments
Please note that we just merged a PR with our own constants for the types, so the app can be fully independent of any 3rdparty libraries: nextcloud/server#25089. |
Thanks for raising the issue! |
Could you possibly open a forum post? I can try to get some attention on this but I can't promise more. No worries if you don't have time for the maintenance anymore, it's a lot of work and you did this in your free time. ✌️ |
The only reference I found is in the migration step, which, of all types, only uses Type::String. Do you suggest changing references to \Doctrine\DBAL\Types\Type::* to \OCP\DB\Types:: as suggested here [1] ? |
yes, please follow the upgrade guide |
by trying to install user_external app on a fresh nextcloud 21 setup, I already did: Now this is what I receive: sudo -u apache php occ app:enable user_externalAn unhandled exception has been thrown: What else? |
You use a |
that file is the one supplied by default with the app. I don't know where and how to change it. |
and this is the function in which the error is reported:
the fault is in: |
Hi there,
I found that your app uses some classes of Nextcloud's third party libraries. Since an upgrade of those for php8 compatibility, your app will have to be adjusted as well. See https://docs.nextcloud.com/server/latest/developer_manual/app_publishing_maintenance/upgrade-guide.html#doctrine-dbal for details. Your app uses
Doctrine\DBAL\Types\Type
which lost the old constants: https://github.com/doctrine/dbal/blob/3.0.x/UPGRADE.md#deprecated-type-constants.Cheers
The text was updated successfully, but these errors were encountered: