Nextcloud version (eg, 18.0.2): 20.0.0.9
Operating system and version: Ubuntu 20.04 over docker
Apache or nginx version (eg, Apache 2.4.25): nginx (latest after update)
PHP version (eg, 7.1): 7.0
The issue you are facing:
When update i got :
root@c88cdc5bfb59:/var/www/html# sudo -u www-data php ./occ upgrade
An unhandled exception has been thrown:
OCP\AutoloadNotAllowedException: Autoload path not allowed: /var/www/html/custom_apps/user_external/lib/webdavauth.php in /var/www/html/lib/autoloader.php:140
Stack trace:
#0 /var/www/html/lib/autoloader.php(165): OC\Autoloader->isValidPath('/var/www/html/c...')
#1 [internal function]: OC\Autoloader->load('OCA\\User_Extern...')
#2 [internal function]: spl_autoload_call('OCA\\User_Extern...')
#3 /var/www/html/lib/private/legacy/OC_User.php(135): class_exists('\\OCA\\User_Exter...')
#4 /var/www/html/lib/base.php(720): OC_User::setupBackends()
#5 /var/www/html/lib/base.php(1092): OC::init()
#6 /var/www/html/console.php(49): require_once('/var/www/html/l...')
#7 /var/www/html/occ(11): require_once('/var/www/html/c...')
#8 {main}root@c88cdc5bfb59:/var/www/html# AutoloadNotAllowedException^C
I need the “user_external” app, i have no internal (not smart of me).
Is this the first time you’ve seen this error? (Y/N): yes
Steps to replicate it:
i did only the update off the docker container and run the update cli in the container
The output of your Nextcloud log in Admin > Logging:
{"reqId":"xYtruc5KsnhxfhHKBQP6","level":3,"time":"2020-10-14T20:47:27+00:00","remoteAddr":"172.19.0.8","user":"--","app":"index","method":"GET","url":"/","message":{"Exception":"OCP\\AutoloadNotAllowedException","Message":"Autoload path not allowed: /var/www/html/custom_apps/user_external/lib/webdavauth.php","Code":0,"Trace":[{"file":"/var/www/html/lib/autoloader.php","line":165,"function":"isValidPath","class":"OC\\Autoloader","type":"->","args":["/var/www/html/custom_apps/user_external/lib/webdavauth.php"]},{"function":"load","class":"OC\\Autoloader","type":"->","args":["OCA\\User_External\\WebDAVAuth"]},{"function":"spl_autoload_call","args":["OCA\\User_External\\WebDAVAuth"]},{"file":"/var/www/html/lib/private/legacy/OC_User.php","line":135,"function":"class_exists","args":["\\OCA\\User_External\\WebDAVAuth"]},{"file":"/var/www/html/lib/base.php","line":720,"function":"setupBackends","class":"OC_User","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":1092,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/index.php","line":35,"args":["/var/www/html/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/lib/autoloader.php","Line":140,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36","version":"20.0.0.9"}
{"reqId":"xYtruc5KsnhxfhHKBQP6","level":0,"time":"2020-10-14T20:47:27+00:00","remoteAddr":"172.19.0.8","user":"--","app":"files_sharing","method":"GET","url":"/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36","version":"20.0.0.9"}
{"reqId":"IZnf6auCLGyrvTqRmbZm","level":3,"time":"2020-10-14T20:48:01+00:00","remoteAddr":"172.19.0.8","user":"--","app":"index","method":"GET","url":"/","message":{"Exception":"OCP\\AutoloadNotAllowedException","Message":"Autoload path not allowed: /var/www/html/custom_apps/user_external/lib/webdavauth.php","Code":0,"Trace":[{"file":"/var/www/html/lib/autoloader.php","line":165,"function":"isValidPath","class":"OC\\Autoloader","type":"->","args":["/var/www/html/custom_apps/user_external/lib/webdavauth.php"]},{"function":"load","class":"OC\\Autoloader","type":"->","args":["OCA\\User_External\\WebDAVAuth"]},{"function":"spl_autoload_call","args":["OCA\\User_External\\WebDAVAuth"]},{"file":"/var/www/html/lib/private/legacy/OC_User.php","line":135,"function":"class_exists","args":["\\OCA\\User_External\\WebDAVAuth"]},{"file":"/var/www/html/lib/base.php","line":720,"function":"setupBackends","class":"OC_User","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":1092,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/index.php","line":35,"args":["/var/www/html/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/lib/autoloader.php","Line":140,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36","version":"20.0.0.9"}
{"reqId":"IZnf6auCLGyrvTqRmbZm","level":0,"time":"2020-10-14T20:48:01+00:00","remoteAddr":"172.19.0.8","user":"--","app":"files_sharing","method":"GET","url":"/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36","version":"20.0.0.9"}
{"reqId":"c2IjqFxfcgp6JBww1jI7","level":3,"time":"2020-10-14T20:48:01+00:00","remoteAddr":"172.19.0.8","user":"--","app":"cron","method":"GET","url":"/cron.php","message":{"Exception":"OCP\\AutoloadNotAllowedException","Message":"Autoload path not allowed: /var/www/html/custom_apps/user_external/lib/webdavauth.php","Code":0,"Trace":[{"file":"/var/www/html/lib/autoloader.php","line":165,"function":"isValidPath","class":"OC\\Autoloader","type":"->","args":["/var/www/html/custom_apps/user_external/lib/webdavauth.php"]},{"function":"load","class":"OC\\Autoloader","type":"->","args":["OCA\\User_External\\WebDAVAuth"]},{"function":"spl_autoload_call","args":["OCA\\User_External\\WebDAVAuth"]},{"file":"/var/www/html/lib/private/legacy/OC_User.php","line":135,"function":"class_exists","args":["\\OCA\\User_External\\WebDAVAuth"]},{"file":"/var/www/html/lib/base.php","line":720,"function":"setupBackends","class":"OC_User","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":1092,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/cron.php","line":42,"args":["/var/www/html/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/lib/autoloader.php","Line":140,"CustomMessage":"--"},"userAgent":"curl/7.58.0","version":"20.0.0.9"}
{"reqId":"pgNuTMAmNqPb35HqRsWG","level":3,"time":"2020-10-14T20:48:04+00:00","remoteAddr":"172.19.0.8","user":"--","app":"index","method":"GET","url":"/","message":{"Exception":"OCP\\AutoloadNotAllowedException","Message":"Autoload path not allowed: /var/www/html/custom_apps/user_external/lib/webdavauth.php","Code":0,"Trace":[{"file":"/var/www/html/lib/autoloader.php","line":165,"function":"isValidPath","class":"OC\\Autoloader","type":"->","args":["/var/www/html/custom_apps/user_external/lib/webdavauth.php"]},{"function":"load","class":"OC\\Autoloader","type":"->","args":["OCA\\User_External\\WebDAVAuth"]},{"function":"spl_autoload_call","args":["OCA\\User_External\\WebDAVAuth"]},{"file":"/var/www/html/lib/private/legacy/OC_User.php","line":135,"function":"class_exists","args":["\\OCA\\User_External\\WebDAVAuth"]},{"file":"/var/www/html/lib/base.php","line":720,"function":"setupBackends","class":"OC_User","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":1092,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/index.php","line":35,"args":["/var/www/html/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/lib/autoloader.php","Line":140,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36","version":"20.0.0.9"}
{"reqId":"pgNuTMAmNqPb35HqRsWG","level":0,"time":"2020-10-14T20:48:04+00:00","remoteAddr":"172.19.0.8","user":"--","app":"files_sharing","method":"GET","url":"/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36","version":"20.0.0.9"}
{"reqId":"ABsuP7iLKmgp3l45kH8s","level":3,"time":"2020-10-14T20:48:05+00:00","remoteAddr":"172.19.0.8","user":"--","app":"index","method":"GET","url":"/","message":{"Exception":"OCP\\AutoloadNotAllowedException","Message":"Autoload path not allowed: /var/www/html/custom_apps/user_external/lib/webdavauth.php","Code":0,"Trace":[{"file":"/var/www/html/lib/autoloader.php","line":165,"function":"isValidPath","class":"OC\\Autoloader","type":"->","args":["/var/www/html/custom_apps/user_external/lib/webdavauth.php"]},{"function":"load","class":"OC\\Autoloader","type":"->","args":["OCA\\User_External\\WebDAVAuth"]},{"function":"spl_autoload_call","args":["OCA\\User_External\\WebDAVAuth"]},{"file":"/var/www/html/lib/private/legacy/OC_User.php","line":135,"function":"class_exists","args":["\\OCA\\User_External\\WebDAVAuth"]},{"file":"/var/www/html/lib/base.php","line":720,"function":"setupBackends","class":"OC_User","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":1092,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/index.php","line":35,"args":["/var/www/html/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/lib/autoloader.php","Line":140,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36","version":"20.0.0.9"}
{"reqId":"ABsuP7iLKmgp3l45kH8s","level":0,"time":"2020-10-14T20:48:05+00:00","remoteAddr":"172.19.0.8","user":"--","app":"files_sharing","method":"GET","url":"/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36","version":"20.0.0.9"}
{"reqId":"hqKkI6beiTwBUxNjqaZe","level":3,"time":"2020-10-14T20:49:01+00:00","remoteAddr":"172.19.0.8","user":"--","app":"cron","method":"GET","url":"/cron.php","message":{"Exception":"OCP\\AutoloadNotAllowedException","Message":"Autoload path not allowed: /var/www/html/custom_apps/user_external/lib/webdavauth.php","Code":0,"Trace":[{"file":"/var/www/html/lib/autoloader.php","line":165,"function":"isValidPath","class":"OC\\Autoloader","type":"->","args":["/var/www/html/custom_apps/user_external/lib/webdavauth.php"]},{"function":"load","class":"OC\\Autoloader","type":"->","args":["OCA\\User_External\\WebDAVAuth"]},{"function":"spl_autoload_call","args":["OCA\\User_External\\WebDAVAuth"]},{"file":"/var/www/html/lib/private/legacy/OC_User.php","line":135,"function":"class_exists","args":["\\OCA\\User_External\\WebDAVAuth"]},{"file":"/var/www/html/lib/base.php","line":720,"function":"setupBackends","class":"OC_User","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":1092,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/cron.php","line":42,"args":["/var/www/html/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/lib/autoloader.php","Line":140,"CustomMessage":"--"},"userAgent":"curl/7.58.0","version":"20.0.0.9"}
{"reqId":"gUZ5r5EIiZDo5dlLhw3m","level":3,"time":"2020-10-14T20:50:02+00:00","remoteAddr":"172.19.0.8","user":"--","app":"cron","method":"GET","url":"/cron.php","message":{"Exception":"OCP\\AutoloadNotAllowedException","Message":"Autoload path not allowed: /var/www/html/custom_apps/user_external/lib/webdavauth.php","Code":0,"Trace":[{"file":"/var/www/html/lib/autoloader.php","line":165,"function":"isValidPath","class":"OC\\Autoloader","type":"->","args":["/var/www/html/custom_apps/user_external/lib/webdavauth.php"]},{"function":"load","class":"OC\\Autoloader","type":"->","args":["OCA\\User_External\\WebDAVAuth"]},{"function":"spl_autoload_call","args":["OCA\\User_External\\WebDAVAuth"]},{"file":"/var/www/html/lib/private/legacy/OC_User.php","line":135,"function":"class_exists","args":["\\OCA\\User_External\\WebDAVAuth"]},{"file":"/var/www/html/lib/base.php","line":720,"function":"setupBackends","class":"OC_User","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":1092,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/cron.php","line":42,"args":["/var/www/html/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/lib/autoloader.php","Line":140,"CustomMessage":"--"},"userAgent":"curl/7.58.0","version":"20.0.0.9"}
{"reqId":"JfZc1YGR7L9lB6jOrdXE","level":3,"time":"2020-10-14T20:51:01+00:00","remoteAddr":"172.19.0.8","user":"--","app":"cron","method":"GET","url":"/cron.php","message":{"Exception":"OCP\\AutoloadNotAllowedException","Message":"Autoload path not allowed: /var/www/html/custom_apps/user_external/lib/webdavauth.php","Code":0,"Trace":[{"file":"/var/www/html/lib/autoloader.php","line":165,"function":"isValidPath","class":"OC\\Autoloader","type":"->","args":["/var/www/html/custom_apps/user_external/lib/webdavauth.php"]},{"function":"load","class":"OC\\Autoloader","type":"->","args":["OCA\\User_External\\WebDAVAuth"]},{"function":"spl_autoload_call","args":["OCA\\User_External\\WebDAVAuth"]},{"file":"/var/www/html/lib/private/legacy/OC_User.php","line":135,"function":"class_exists","args":["\\OCA\\User_External\\WebDAVAuth"]},{"file":"/var/www/html/lib/base.php","line":720,"function":"setupBackends","class":"OC_User","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":1092,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/cron.php","line":42,"args":["/var/www/html/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/lib/autoloader.php","Line":140,"CustomMessage":"--"},"userAgent":"curl/7.58.0","version":"20.0.0.9"}
{"reqId":"RzN7miK6DPOiCmys0Tph","level":3,"time":"2020-10-14T20:52:01+00:00","remoteAddr":"172.19.0.8","user":"--","app":"cron","method":"GET","url":"/cron.php","message":{"Exception":"OCP\\AutoloadNotAllowedException","Message":"Autoload path not allowed: /var/www/html/custom_apps/user_external/lib/webdavauth.php","Code":0,"Trace":[{"file":"/var/www/html/lib/autoloader.php","line":165,"function":"isValidPath","class":"OC\\Autoloader","type":"->","args":["/var/www/html/custom_apps/user_external/lib/webdavauth.php"]},{"function":"load","class":"OC\\Autoloader","type":"->","args":["OCA\\User_External\\WebDAVAuth"]},{"function":"spl_autoload_call","args":["OCA\\User_External\\WebDAVAuth"]},{"file":"/var/www/html/lib/private/legacy/OC_User.php","line":135,"function":"class_exists","args":["\\OCA\\User_External\\WebDAVAuth"]},{"file":"/var/www/html/lib/base.php","line":720,"function":"setupBackends","class":"OC_User","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":1092,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/cron.php","line":42,"args":["/var/www/html/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/lib/autoloader.php","Line":140,"CustomMessage":"--"},"userAgent":"curl/7.58.0","version":"20.0.0.9"}
{"reqId":"wwQeSFXrguuZIsFWOTBF","level":3,"time":"2020-10-14T20:53:01+00:00","remoteAddr":"172.19.0.8","user":"--","app":"cron","method":"GET","url":"/cron.php","message":{"Exception":"OCP\\AutoloadNotAllowedException","Message":"Autoload path not allowed: /var/www/html/custom_apps/user_external/lib/webdavauth.php","Code":0,"Trace":[{"file":"/var/www/html/lib/autoloader.php","line":165,"function":"isValidPath","class":"OC\\Autoloader","type":"->","args":["/var/www/html/custom_apps/user_external/lib/webdavauth.php"]},{"function":"load","class":"OC\\Autoloader","type":"->","args":["OCA\\User_External\\WebDAVAuth"]},{"function":"spl_autoload_call","args":["OCA\\User_External\\WebDAVAuth"]},{"file":"/var/www/html/lib/private/legacy/OC_User.php","line":135,"function":"class_exists","args":["\\OCA\\User_External\\WebDAVAuth"]},{"file":"/var/www/html/lib/base.php","line":720,"function":"setupBackends","class":"OC_User","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":1092,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/cron.php","line":42,"args":["/var/www/html/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/lib/autoloader.php","Line":140,"CustomMessage":"--"},"userAgent":"curl/7.58.0","version":"20.0.0.9"}
{"reqId":"f4OJh3fGz1SPYT47SwYE","level":3,"time":"2020-10-14T20:54:02+00:00","remoteAddr":"172.19.0.8","user":"--","app":"cron","method":"GET","url":"/cron.php","message":{"Exception":"OCP\\AutoloadNotAllowedException","Message":"Autoload path not allowed: /var/www/html/custom_apps/user_external/lib/webdavauth.php","Code":0,"Trace":[{"file":"/var/www/html/lib/autoloader.php","line":165,"function":"isValidPath","class":"OC\\Autoloader","type":"->","args":["/var/www/html/custom_apps/user_external/lib/webdavauth.php"]},{"function":"load","class":"OC\\Autoloader","type":"->","args":["OCA\\User_External\\WebDAVAuth"]},{"function":"spl_autoload_call","args":["OCA\\User_External\\WebDAVAuth"]},{"file":"/var/www/html/lib/private/legacy/OC_User.php","line":135,"function":"class_exists","args":["\\OCA\\User_External\\WebDAVAuth"]},{"file":"/var/www/html/lib/base.php","line":720,"function":"setupBackends","class":"OC_User","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":1092,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/cron.php","line":42,"args":["/var/www/html/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/lib/autoloader.php","Line":140,"CustomMessage":"--"},"userAgent":"curl/7.58.0","version":"20.0.0.9"}
{"reqId":"xWlg2xm1s2epEgFnhlvb","level":3,"time":"2020-10-14T20:55:01+00:00","remoteAddr":"172.19.0.8","user":"--","app":"cron","method":"GET","url":"/cron.php","message":{"Exception":"OCP\\AutoloadNotAllowedException","Message":"Autoload path not allowed: /var/www/html/custom_apps/user_external/lib/webdavauth.php","Code":0,"Trace":[{"file":"/var/www/html/lib/autoloader.php","line":165,"function":"isValidPath","class":"OC\\Autoloader","type":"->","args":["/var/www/html/custom_apps/user_external/lib/webdavauth.php"]},{"function":"load","class":"OC\\Autoloader","type":"->","args":["OCA\\User_External\\WebDAVAuth"]},{"function":"spl_autoload_call","args":["OCA\\User_External\\WebDAVAuth"]},{"file":"/var/www/html/lib/private/legacy/OC_User.php","line":135,"function":"class_exists","args":["\\OCA\\User_External\\WebDAVAuth"]},{"file":"/var/www/html/lib/base.php","line":720,"function":"setupBackends","class":"OC_User","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":1092,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/cron.php","line":42,"args":["/var/www/html/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/lib/autoloader.php","Line":140,"CustomMessage":"--"},"userAgent":"curl/7.58.0","version":"20.0.0.9"}
{"reqId":"jqzxbt0HM5BfwIPSt00Z","level":3,"time":"2020-10-14T20:56:01+00:00","remoteAddr":"172.19.0.8","user":"--","app":"cron","method":"GET","url":"/cron.php","message":{"Exception":"OCP\\AutoloadNotAllowedException","Message":"Autoload path not allowed: /var/www/html/custom_apps/user_external/lib/webdavauth.php","Code":0,"Trace":[{"file":"/var/www/html/lib/autoloader.php","line":165,"function":"isValidPath","class":"OC\\Autoloader","type":"->","args":["/var/www/html/custom_apps/user_external/lib/webdavauth.php"]},{"function":"load","class":"OC\\Autoloader","type":"->","args":["OCA\\User_External\\WebDAVAuth"]},{"function":"spl_autoload_call","args":["OCA\\User_External\\WebDAVAuth"]},{"file":"/var/www/html/lib/private/legacy/OC_User.php","line":135,"function":"class_exists","args":["\\OCA\\User_External\\WebDAVAuth"]},{"file":"/var/www/html/lib/base.php","line":720,"function":"setupBackends","class":"OC_User","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":1092,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/cron.php","line":42,"args":["/var/www/html/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/lib/autoloader.php","Line":140,"CustomMessage":"--"},"userAgent":"curl/7.58.0","version":"20.0.0.9"}
{"reqId":"tyTxfbIloXKlHxY7kdbf","level":3,"time":"2020-10-14T20:57:02+00:00","remoteAddr":"172.19.0.8","user":"--","app":"cron","method":"GET","url":"/cron.php","message":{"Exception":"OCP\\AutoloadNotAllowedException","Message":"Autoload path not allowed: /var/www/html/custom_apps/user_external/lib/webdavauth.php","Code":0,"Trace":[{"file":"/var/www/html/lib/autoloader.php","line":165,"function":"isValidPath","class":"OC\\Autoloader","type":"->","args":["/var/www/html/custom_apps/user_external/lib/webdavauth.php"]},{"function":"load","class":"OC\\Autoloader","type":"->","args":["OCA\\User_External\\WebDAVAuth"]},{"function":"spl_autoload_call","args":["OCA\\User_External\\WebDAVAuth"]},{"file":"/var/www/html/lib/private/legacy/OC_User.php","line":135,"function":"class_exists","args":["\\OCA\\User_External\\WebDAVAuth"]},{"file":"/var/www/html/lib/base.php","line":720,"function":"setupBackends","class":"OC_User","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":1092,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/cron.php","line":42,"args":["/var/www/html/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/lib/autoloader.php","Line":140,"CustomMessage":"--"},"userAgent":"curl/7.58.0","version":"20.0.0.9"}
{"reqId":"d5HgZZoH8pWnIiKi2o4n","level":3,"time":"2020-10-14T20:58:01+00:00","remoteAddr":"172.19.0.8","user":"--","app":"cron","method":"GET","url":"/cron.php","message":{"Exception":"OCP\\AutoloadNotAllowedException","Message":"Autoload path not allowed: /var/www/html/custom_apps/user_external/lib/webdavauth.php","Code":0,"Trace":[{"file":"/var/www/html/lib/autoloader.php","line":165,"function":"isValidPath","class":"OC\\Autoloader","type":"->","args":["/var/www/html/custom_apps/user_external/lib/webdavauth.php"]},{"function":"load","class":"OC\\Autoloader","type":"->","args":["OCA\\User_External\\WebDAVAuth"]},{"function":"spl_autoload_call","args":["OCA\\User_External\\WebDAVAuth"]},{"file":"/var/www/html/lib/private/legacy/OC_User.php","line":135,"function":"class_exists","args":["\\OCA\\User_External\\WebDAVAuth"]},{"file":"/var/www/html/lib/base.php","line":720,"function":"setupBackends","class":"OC_User","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":1092,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/cron.php","line":42,"args":["/var/www/html/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/lib/autoloader.php","Line":140,"CustomMessage":"--"},"userAgent":"curl/7.58.0","version":"20.0.0.9"}
{"reqId":"ZPUSC95h894dZruRcxdf","level":3,"time":"2020-10-14T20:59:01+00:00","remoteAddr":"172.19.0.8","user":"--","app":"cron","method":"GET","url":"/cron.php","message":{"Exception":"OCP\\AutoloadNotAllowedException","Message":"Autoload path not allowed: /var/www/html/custom_apps/user_external/lib/webdavauth.php","Code":0,"Trace":[{"file":"/var/www/html/lib/autoloader.php","line":165,"function":"isValidPath","class":"OC\\Autoloader","type":"->","args":["/var/www/html/custom_apps/user_external/lib/webdavauth.php"]},{"function":"load","class":"OC\\Autoloader","type":"->","args":["OCA\\User_External\\WebDAVAuth"]},{"function":"spl_autoload_call","args":["OCA\\User_External\\WebDAVAuth"]},{"file":"/var/www/html/lib/private/legacy/OC_User.php","line":135,"function":"class_exists","args":["\\OCA\\User_External\\WebDAVAuth"]},{"file":"/var/www/html/lib/base.php","line":720,"function":"setupBackends","class":"OC_User","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":1092,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/cron.php","line":42,"args":["/var/www/html/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/lib/autoloader.php","Line":140,"CustomMessage":"--"},"userAgent":"curl/7.58.0","version":"20.0.0.9"}
{"reqId":"MYk54si2vhYsj3hAGhc9","level":3,"time":"2020-10-14T21:00:02+00:00","remoteAddr":"172.19.0.8","user":"--","app":"cron","method":"GET","url":"/cron.php","message":{"Exception":"OCP\\AutoloadNotAllowedException","Message":"Autoload path not allowed: /var/www/html/custom_apps/user_external/lib/webdavauth.php","Code":0,"Trace":[{"file":"/var/www/html/lib/autoloader.php","line":165,"function":"isValidPath","class":"OC\\Autoloader","type":"->","args":["/var/www/html/custom_apps/user_external/lib/webdavauth.php"]},{"function":"load","class":"OC\\Autoloader","type":"->","args":["OCA\\User_External\\WebDAVAuth"]},{"function":"spl_autoload_call","args":["OCA\\User_External\\WebDAVAuth"]},{"file":"/var/www/html/lib/private/legacy/OC_User.php","line":135,"function":"class_exists","args":["\\OCA\\User_External\\WebDAVAuth"]},{"file":"/var/www/html/lib/base.php","line":720,"function":"setupBackends","class":"OC_User","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":1092,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/cron.php","line":42,"args":["/var/www/html/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/lib/autoloader.php","Line":140,"CustomMessage":"--"},"userAgent":"curl/7.58.0","version":"20.0.0.9"}
{"reqId":"9IbjbTlZPNoPkXH2ctYE","level":3,"time":"2020-10-14T21:01:02+00:00","remoteAddr":"172.19.0.8","user":"--","app":"cron","method":"GET","url":"/cron.php","message":{"Exception":"OCP\\AutoloadNotAllowedException","Message":"Autoload path not allowed: /var/www/html/custom_apps/user_external/lib/webdavauth.php","Code":0,"Trace":[{"file":"/var/www/html/lib/autoloader.php","line":165,"function":"isValidPath","class":"OC\\Autoloader","type":"->","args":["/var/www/html/custom_apps/user_external/lib/webdavauth.php"]},{"function":"load","class":"OC\\Autoloader","type":"->","args":["OCA\\User_External\\WebDAVAuth"]},{"function":"spl_autoload_call","args":["OCA\\User_External\\WebDAVAuth"]},{"file":"/var/www/html/lib/private/legacy/OC_User.php","line":135,"function":"class_exists","args":["\\OCA\\User_External\\WebDAVAuth"]},{"file":"/var/www/html/lib/base.php","line":720,"function":"setupBackends","class":"OC_User","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":1092,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/cron.php","line":42,"args":["/var/www/html/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/lib/autoloader.php","Line":140,"CustomMessage":"--"},"userAgent":"curl/7.58.0","version":"20.0.0.9"}
{"reqId":"1blw6d6tqOoVgQI237i5","level":3,"time":"2020-10-14T21:02:03+00:00","remoteAddr":"172.19.0.8","user":"--","app":"cron","method":"GET","url":"/cron.php","message":{"Exception":"OCP\\AutoloadNotAllowedException","Message":"Autoload path not allowed: /var/www/html/custom_apps/user_external/lib/webdavauth.php","Code":0,"Trace":[{"file":"/var/www/html/lib/autoloader.php","line":165,"function":"isValidPath","class":"OC\\Autoloader","type":"->","args":["/var/www/html/custom_apps/user_external/lib/webdavauth.php"]},{"function":"load","class":"OC\\Autoloader","type":"->","args":["OCA\\User_External\\WebDAVAuth"]},{"function":"spl_autoload_call","args":["OCA\\User_External\\WebDAVAuth"]},{"file":"/var/www/html/lib/private/legacy/OC_User.php","line":135,"function":"class_exists","args":["\\OCA\\User_External\\WebDAVAuth"]},{"file":"/var/www/html/lib/base.php","line":720,"function":"setupBackends","class":"OC_User","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":1092,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/cron.php","line":42,"args":["/var/www/html/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/lib/autoloader.php","Line":140,"CustomMessage":"--"},"userAgent":"curl/7.58.0","version":"20.0.0.9"}
{"reqId":"Nxnl6fD6Loyj0v8JDyYk","level":3,"time":"2020-10-14T21:03:01+00:00","remoteAddr":"172.19.0.8","user":"--","app":"cron","method":"GET","url":"/cron.php","message":{"Exception":"OCP\\AutoloadNotAllowedException","Message":"Autoload path not allowed: /var/www/html/custom_apps/user_external/lib/webdavauth.php","Code":0,"Trace":[{"file":"/var/www/html/lib/autoloader.php","line":165,"function":"isValidPath","class":"OC\\Autoloader","type":"->","args":["/var/www/html/custom_apps/user_external/lib/webdavauth.php"]},{"function":"load","class":"OC\\Autoloader","type":"->","args":["OCA\\User_External\\WebDAVAuth"]},{"function":"spl_autoload_call","args":["OCA\\User_External\\WebDAVAuth"]},{"file":"/var/www/html/lib/private/legacy/OC_User.php","line":135,"function":"class_exists","args":["\\OCA\\User_External\\WebDAVAuth"]},{"file":"/var/www/html/lib/base.php","line":720,"function":"setupBackends","class":"OC_User","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":1092,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/cron.php","line":42,"args":["/var/www/html/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/lib/autoloader.php","Line":140,"CustomMessage":"--"},"userAgent":"curl/7.58.0","version":"20.0.0.9"}
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'allow_user_to_change_display_name' => false,
'lost_password_link' => '[REMOVED]',
'skeletondirectory' => '',
'overwritehost' => '[REMOVED]',
'overwriteprotocol' => 'https',
'memcache.local' => '\\OC\\Memcache\\APCu',
'apps_paths' =>
array (
0 =>
array (
'path' => '/var/www/html/apps',
'url' => '/apps',
'writable' => false,
),
1 =>
array (
'path' => '/var/www/html/custom_apps',
'url' => '/custom_apps',
'writable' => true,
),
),
'instanceid' => '[REMOVED]',
'passwordsalt' => '[REMOVED]',
'secret' => '[REMOVED]',
'trusted_domains' => [REMOVED],
'user_backends' =>
array (
0 =>
array (
'class' => '\\OCA\\User_External\\WebDAVAuth',
'arguments' =>
array (
0 => '[REMOVED]',
),
),
),
'datadirectory' => '/var/www/html/data',
'dbtype' => 'mysql',
'version' => '20.0.0.9',
'overwrite.cli.url' => '[REMOVED]',
'dbname' => 'nextcloud',
'dbhost' => 'dsrbe-mariadb',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => '[REMOVED]',
'dbpassword' => '[REMOVED]',
'installed' => true,
'app_install_overwrite' =>
array (
0 => 'caniupdate',
1 => 'files_clipboard',
2 => 'uploaddetails',
),
'mail_smtpmode' => 'smtp',
'mail_smtpsecure' => 'ssl',
'mail_sendmailmode' => 'smtp',
'mail_smtphost' => 'send.one.com',
'mail_smtpport' => '465',
'mail_smtpauth' => 1,
'mail_from_address' => 'robots',
'mail_domain' => '[REMOVED]',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpname' => '[REMOVED]',
'mail_smtppassword' => '[REMOVED]',
'loglevel' => 0,
'maintenance' => false,
'theme' => '',
);
The output of your Apache/nginx/system log in /var/log/____
:
I can't find this log