-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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 14.0.3.0 Failed - Autoload path not allowed #11854
Comments
I have managed to gain access again to the nextcloud installation enabling the zimbra plugin via database and, lately, removing it from the installation. |
cc @nickvergessen @rullzer Any idea how to prevent this? I would love to not kill the server here and properly disable the app during the upgrade. |
Enabling Zimbra Drive (update oc_appconfig set configvalue="yes" where appid="zimbradrive" and configkey="enabled";) fixed the issue for me as well. |
Closing as resolved |
Steps to reproduce
Expected behaviour
Tell us what should happen
The upgrade should have gone smootly
Actual behaviour
Tell us what happens instead
The server has broken
Server configuration
Operating system:
Debian 9
Web server:
Apache 2.4.25
Database:
10.1.26-MariaDB-0+deb9u1 Debian 9.1
PHP version:
PHP 7.0.30-0+deb9u1
Nextcloud version: (see Nextcloud admin page)
14.0.3.0
Updated from an older Nextcloud/ownCloud or fresh install:
Upgraded from a 13.0.x Nextcloud version
Where did you install Nextcloud from:
Webpage
Signing status:
Signing status
Unable do to that, I still receive the Internal Server error even if I try to get to https://xxx/index.php/settings/integrity/failed
List of activated apps:
App list
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...')Nextcloud configuration:
Config report
Are you using external storage, if yes which one: local/smb/sftp/...
Yes, local in /opt/nextcloud/
Are you using encryption: yes/no
Yes
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
No, but I had configured to use also a Zimbra LDAP
LDAP configuration (delete this part if not used)
LDAP config
MariaDB [nextclouddb]> SELECT * FROM
oc_appconfig
WHEREappid
= 'user_ldap';Empty set (0.00 sec)
MariaDB [nextclouddb]>
Client configuration
Browser:
Firefox 62.0.3
Operating system:
Windows 10 Pro
Logs
Web server error log
Web server error log
Nextcloud log (data/nextcloud.log)
Nextcloud log
{"reqId":"BQnC1gKosIb4iJcJ6p9Q","level":3,"time":"2018-10-15T19:14:55+00:00","remoteAddr":"95.229.249.38","user":"--","app":"index","method":"GET","url":"/","message":{"Exception":"OCP\AutoloadNotAllowedException","Message":"Autoload path not allowed: /var/www/html/nextcloud/apps/zimbradrive/lib/auth/zimbrausersbackend.php","Code":0,"Trace":[{"file":"/var/www/html/nextcloud/lib/autoloader.php","line":162,"function":"isValidPath","class":"OC\Autoloader","type":"->","args":["/var/www/html/nextcloud/apps/zimbradrive/lib/auth/zimbrausersbackend.php"]},{"function":"load","class":"OC\Autoloader","type":"->","args":["OCA\ZimbraDrive\Auth\ZimbraUsersBackend"]},{"function":"spl_autoload_call","args":["OCA\ZimbraDrive\Auth\ZimbraUsersBackend"]},{"file":"/var/www/html/nextcloud/lib/private/legacy/user.php","line":138,"function":"class_exists","args":["OCA\ZimbraDrive\Auth\ZimbraUsersBackend"]},{"file":"/var/www/html/nextcloud/lib/base.php","line":721,"function":"setupBackends","class":"OC_User","type":"::","args":[]},{"file":"/var/www/html/nextcloud/lib/base.php","line":1068,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/nextcloud/index.php","line":40,"args":["/var/www/html/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/nextcloud/lib/autoloader.php","Line":137,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0","version":"14.0.3.0"}
{"reqId":"kv8ogsY1lOwH1inKZc6V","level":3,"time":"2018-10-15T19:14:56+00:00","remoteAddr":"95.229.249.38","user":"--","app":"index","method":"GET","url":"/index.php/js/core/merged-template-prepend.js?v=92e07cb2-0","message":{"Exception":"OCP\AutoloadNotAllowedException","Message":"Autoload path not allowed: /var/www/html/nextcloud/apps/zimbradrive/lib/auth/zimbrausersbackend.php","Code":0,"Trace":[{"file":"/var/www/html/nextcloud/lib/autoloader.php","line":162,"function":"isValidPath","class":"OC\Autoloader","type":"->","args":["/var/www/html/nextcloud/apps/zimbradrive/lib/auth/zimbrausersbackend.php"]},{"function":"load","class":"OC\Autoloader","type":"->","args":["OCA\ZimbraDrive\Auth\ZimbraUsersBackend"]},{"function":"spl_autoload_call","args":["OCA\ZimbraDrive\Auth\ZimbraUsersBackend"]},{"file":"/var/www/html/nextcloud/lib/private/legacy/user.php","line":138,"function":"class_exists","args":["OCA\ZimbraDrive\Auth\ZimbraUsersBackend"]},{"file":"/var/www/html/nextcloud/lib/base.php","line":721,"function":"setupBackends","class":"OC_User","type":"::","args":[]},{"file":"/var/www/html/nextcloud/lib/base.php","line":1068,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/nextcloud/index.php","line":40,"args":["/var/www/html/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/nextcloud/lib/autoloader.php","Line":137,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0","version":"14.0.3.0"}
{"reqId":"QsljJJfrBYALhYYNKk7s","level":3,"time":"2018-10-15T19:15:02+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","message":{"Exception":"OCP\AutoloadNotAllowedException","Message":"Autoload path not allowed: /var/www/html/nextcloud/apps/zimbradrive/lib/auth/zimbrausersbackend.php","Code":0,"Trace":[{"file":"/var/www/html/nextcloud/lib/autoloader.php","line":162,"function":"isValidPath","class":"OC\Autoloader","type":"->","args":["/var/www/html/nextcloud/apps/zimbradrive/lib/auth/zimbrausersbackend.php"]},{"function":"load","class":"OC\Autoloader","type":"->","args":["OCA\ZimbraDrive\Auth\ZimbraUsersBackend"]},{"function":"spl_autoload_call","args":["OCA\ZimbraDrive\Auth\ZimbraUsersBackend"]},{"file":"/var/www/html/nextcloud/lib/private/legacy/user.php","line":138,"function":"class_exists","args":["OCA\ZimbraDrive\Auth\ZimbraUsersBackend"]},{"file":"/var/www/html/nextcloud/lib/base.php","line":721,"function":"setupBackends","class":"OC_User","type":"::","args":[]},{"file":"/var/www/html/nextcloud/lib/base.php","line":1068,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/nextcloud/cron.php","line":41,"args":["/var/www/html/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/nextcloud/lib/autoloader.php","Line":137,"CustomMessage":"--"},"userAgent":"--","version":"14.0.3.0"}
Browser log
Browser log
Errore interno del server
Il server non è stato in grado di completare la tua richiesta.
Se ciò si verifca nuovamente, invia i seguenti dettagli tecnici all'amministratore del server.
Ulteriori dettagli sono disponibili nel log del server.
Dettagli tecnici
The text was updated successfully, but these errors were encountered: