Zimbra Open Drive issues after updating Nextcloud

All about Zimbra Drive
Post Reply
yohoho
Posts: 35
Joined: Sat Mar 09, 2019 10:22 pm

Zimbra Open Drive issues after updating Nextcloud

Post by yohoho »

Steps to reproduce
1. Update Nextcloud 12 to 13

Code: Select all

An unhandled exception has been thrown:
OCP\AutoloadNotAllowedException: Autoload path not allowed: /var/www/html/nextcloud/apps/zimbradrive/lib/auth/zimbrausersbackend.php in /var/www/html/nextcloud/lib/autoloader.php:137
Stack trace:
#0 /var/www/html/nextcloud/lib/autoloader.php(162): OC\Autoloader->isValidPath('/var/www/html/n...')
#1 [internal function]: OC\Autoloader->load('OCA\\ZimbraDrive...')
#2 [internal function]: spl_autoload_call('OCA\\ZimbraDrive...')
#3 /var/www/html/nextcloud/lib/private/legacy/user.php(138): class_exists('OCA\\ZimbraDrive...')
#4 /var/www/html/nextcloud/lib/base.php(721): OC_User::setupBackends()
#5 /var/www/html/nextcloud/lib/base.php(1068): OC::init()
#6 /var/www/html/nextcloud/console.php(46): require_once('/var/www/html/n...')
#7 /var/www/html/nextcloud/occ(11): require_once('/var/www/html/n...')
#8 {main}root@cloud:/var/www/html/nextcloud# nano lib/auth/zimbrausersbackend.ph
Steps to solve
1. lib/autoloader.php
return true; //throw new AutoloadNotAllowedException($fullPath);

What should I do? Both of them are crucial. Zimbra and Nextcloud. I am not an IT guy, I don't understand the consequence of editing lib/autoloader.php AutoloadNotallowedException. I wish to put it back. Is there any other solution for this?
Post Reply