-
Notifications
You must be signed in to change notification settings - Fork 260
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
Error when installing or trying to update mail on nextcloud 20.0.14 #5761
Comments
[PHP] Error: require(): Failed opening required '/web/htdocs/www.gipainformatica.it/home/nx/apps/mail/vendor/composer/../../lib/functions.php' (include_path='/web/htdocs/www.gipainformatica.it/home/nx/apps/mail/vendor/pear-pear.horde.org/Horde_Crypt_Blowfish:/web/htdocs/www.gipainformatica.it/home/nx/apps/mail/vendor/pear-pear.horde.org/Horde_Date:/web/htdocs/www.gipainformatica.it/home/nx/apps/mail/vendor/pear-pear.horde.org/Horde_Exception:/web/htdocs/www.gipainformatica.it/home/nx/apps/mail/vendor/pear-pear.horde.org/Horde_Idna:/web/htdocs/www.gipainformatica.it/home/nx/apps/mail/vendor/pear-pear.horde.org/Horde_Imap_Client:/web/htdocs/www.gipainformatica.it/home/nx/apps/mail/vendor/pear-pear.horde.org/Horde_ListHeaders:/web/htdocs/www.gipainformatica.it/home/nx/apps/mail/vendor/pear-pear.horde.org/Horde_Mail:/web/htdocs/www.gipainformatica.it/home/nx/apps/mail/vendor/pear-pear.horde.org/Horde_ManageSieve:/web/htdocs/www.gipainformatica.it/home/nx/apps/mail/vendor/pear-pear.horde.org/Horde_Mime:/web/htdocs/www.gipainfo at /web/htdocs/www.gipainformatica.it/home/nx/apps/mail/vendor/composer/autoload_real.php#73 GET /nx/apps/mail/js/dashboard.js?v=80a0bb98-5 |
|
If you try to apply my patch nextcloud/server#29979 on your Nextcloud 20 installation and run |
./occ status
after applying the patch: In SimpleContainer.php line 115: Could not resolve OC\Repair\NC22\LookupServerSendCheck! Class OC\Repair\NC22\LookupServerSendCheck does not exist maintenance:repair [--include-expensive] |
Something is up with repair steps in Nextcloud 20. This one isn't even from Mail. But the one in Mail also can't be loaded for some people. |
After disabling mail and running some things I get these errors when trying to enable mail: root@vmi628252:/var/www/nextcloud# sudo -u www-data php ./occ app:enable mail The log fills with these messages ArgumentCountError: Too few arguments to function OCA\Mail\Migration\ProvisionAccounts::__construct(), 0 passed in /var/www/nextcloud/lib/private/Repair.php on line 129 and exactly 1 expected in /var/www/nextcloud/apps/mail/lib/Migration/ProvisionAccounts.php:37 |
For me I solved it by inaktivating and removing Mail. Then upgrading to NC21, and from there installing Mail. Fortunatley all configurations were still present and all mails restored. |
I tried to debug this with another contributor yesterday. It's a bug in Nextcloud server, not this app. Under certain conditions repair steps with constructor args can't be built by the DI container, server falls back to a instantiation with no parameters, which causes the type error. |
I hit this as well. After spending too much time on what's supposed to be an easy upgrade process, doing much as the above suggested, one error remains:
|
Recently on a nextcloud 20.0.14 distribution I tried to update the mail application to version 1.11.0 on my nextcloud 20.0.0.14 as indicated, receiving an error and leaving my nextcloud installation under maintenance. I had to remove the mail folder from the plugins, and even uninstalling it and trying to reinstall it I get a generic error of being unable to install it to some of you has it happened?
The text was updated successfully, but these errors were encountered: