-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Unable to enable "External storage support" app #2678
Comments
Any news on this? |
Are you sure you updated the code of the app as well? |
Just redownloaded the NC archive, deleted apps/files_external on the server, extracted whole 'files_external' directory to it's place, adjusted owner and tried to enable. |
Getting same problems while trying to enable external authentication app! I just have a fresh install of NC11.0.1. Do you @Revertron have the same problem if trying to install anything else? Nothing I can find in the logs that would make sense for this kind of error.. |
I figured it out. At least in my case memcache broke it. At first I figured maybe memcache has old data stored. So I restarted it and reenabled the files_external app again. Still the same problem. So I downloaded a clean nextcloud 11.0.1 and started to test. I had another app in mind that breaks something but even with only the default apps enabled it didn't work. So then I thought about memcache. Just disabling memcache in the config doesn't help. This is what I did:
If you get errors when enabling external storage connect to your database and drop the PREFIX_external_* tables. Also delete all values from PREFIX_appconfig where the appid is "files_external". After that enable it again. I now tested it with redis and redis does not break it. So I guess for now redis is the way to go. Cu |
Steps to reproduce
Expected behaviour
The app would be enabled
Actual behaviour
It says: Error while enabling app
Server configuration
Operating system: Debian 8 x86_64
Web server: Nginx 1.11
Database: MariaDB 10+
PHP version: 7.0.14
Nextcloud version: 11.0.0.10
Updated from an older Nextcloud/ownCloud or fresh install: Updated from 9 and 10
Where did you install Nextcloud from: nextcloud.com
Signing status:
No errors have been found.
List of activated apps:
App list
Enabled: - activity: 2.4.1 - admin_audit: 1.1.0 - apporder: 0.3.3 - bookmarks: 0.9.1 - calendar: 1.4.1 - comments: 1.1.0 - contacts: 1.5.2 - dav: 1.1.1 - direct_menu: 0.9.3 - federatedfilesharing: 1.1.1 - federation: 1.1.1 - files: 1.6.1 - files_clipboard: 0.5.0 - files_pdfviewer: 1.0.1 - files_retention: 1.0.1 - files_sharing: 1.1.1 - files_texteditor: 2.2 - files_trashbin: 1.1.0 - files_versions: 1.4.0 - files_videoplayer: 1.0.0 - firstrunwizard: 2.0 - gallery: 16.0.0 - logreader: 2.0.0 - lookup_server_connector: 1.0.0 - news: true - nextcloud_announcements: 1.0 - notifications: 1.0.1 - ownnote: 1.08 - password_policy: 1.1.0 - previewgenerator: 1.0.1 - provisioning_api: 1.1.0 - serverinfo: 1.1.1 - sharebymail: 1.0.1 - sharerenamer: 1.1 - spreed: 1.1.2 - survey_client: 0.1.5 - systemtags: 1.1.3 - templateeditor: 0.2 - theming: 1.1.1 - twofactor_backupcodes: 1.0.0 - updatenotification: 1.1.1 - workflowengine: 1.1.1The content of config/config.php:
Config report
Are you using external storage, if yes which one: I can't because of this problem
Are you using encryption: no
Are you using an external user-backend, if yes which one: No
Client configuration
Browser:
50.0.2
Operating system:
Win 7 x86_64
Logs
Nextcloud log (data/nextcloud.log)
Nextcloud log
``` {"reqId":"ui3aRT\/\/bCmDxYljoFRE","remoteAddr":"1.2.3.4","app":"index","message":"Exception: {\"Exception\":\"TypeError\",\"Message\":\"Argument 1 passed to OC\\\\App\\\\DependencyAnalyzer::analyze() must be of the type array, null given, called in \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/legacy\\\/app.php on line 1339\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/legacy\\\/app.php(1339): OC\\\\App\\\\DependencyAnalyzer->analyze(NULL)\\n#1 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/legacy\\\/app.php(385): OC_App::checkAppDependencies(Object(OC\\\\AllConfig), Object(OC\\\\L10N\\\\L10N), NULL)\\n#2 \\\/var\\\/www\\\/nextcloud\\\/settings\\\/ajax\\\/enableapp.php(44): OC_App->enable('files_external', NULL)\\n#3 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/Route\\\/Route.php(155) : runtime-created function(1): require_once('\\\/var\\\/www\\\/nextcl...')\\n#4 [internal function]: __lambda_func()\\n#5 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/Route\\\/Router.php(299): call_user_func('\\\\x00lambda_448', Array)\\n#6 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/base.php(1010): OC\\\\Route\\\\Router->match('\\\/settings\\\/ajax\\\/...')\\n#7 \\\/var\\\/www\\\/nextcloud\\\/index.php(40): OC::handleRequest()\\n#8 {main}\",\"File\":\"\\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/App\\\/DependencyAnalyzer.php\",\"Line\":55}","level":3,"time":"2016-12-14T17:14:31+00:00","method":"POST","url":"\/index.php\/settings\/ajax\/enableapp.php","user":"Revertron","version":"11.0.0.10"} ```And from another try
``` {"reqId":"x+AXvYKK3tUitEgFvbim","remoteAddr":"1.2.3.4","app":"no app in context","message":"Exception: {\"Exception\":\"Error\",\"Message\":\"Class 'OCA\\\\Files_External\\\\AppInfo\\\\Application' not found\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/legacy\\\/app.php(214): require_once()\\n#1 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/legacy\\\/app.php(155): OC_App::requireAppFile('files_external')\\n#2 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/legacy\\\/app.php(125): OC_App::loadApp('files_external')\\n#3 \\\/var\\\/www\\\/nextcloud\\\/ocs\\\/v1.php(56): OC_App::loadApps()\\n#4 \\\/var\\\/www\\\/nextcloud\\\/ocs\\\/v2.php(23): require_once('\\\/var\\\/www\\\/nextcl...')\\n#5 {main}\",\"File\":\"\\\/var\\\/www\\\/nextcloud\\\/apps\\\/files_external\\\/appinfo\\\/app.php\",\"Line\":35}","level":3,"time":"2016-12-14T17:42:29+00:00","method":"GET","url":"\/ocs\/v2.php\/apps\/notifications\/api\/v2\/notifications","user":"Revertron","version":"11.0.0.10"} ```The text was updated successfully, but these errors were encountered: