Can't add any application (Directory name must not be empty.)

Hello, after upgrade from 10.0 to 10.0.1 I can’t reactivate apps like Calendar, Contacts, etc. I am always getting error message: “Directory name must not be empty.”

Please see log messages below:

Error     core     Directory name must not be empty.     04 October, 2016 19:28:46
Error     PHP     Undefined variable: folder at /var/www/nextcloud/lib/private/App/CodeChecker/CodeChecker.php#91     04 October, 2016 19:28:46
Error     PHP     Undefined variable: folder at /var/www/nextcloud/lib/private/App/CodeChecker/CodeChecker.php#87     04 October, 2016 19:28:46
Error     PHP     Missing argument 2 for OC\App\CodeChecker\CodeChecker::analyseFolder(), called in /var/www/nextcloud/lib/private/Installer.php on line 617 and defined at /var/www/nextcloud/lib/private/App/CodeChecker/CodeChecker.php#79     04 October, 2016 19:28:46
Error     core     Directory name must not be empty.     04 October, 2016 19:26:48

Any idea what could be wrong?

1 Like

I have the very same problem. I solved it short-term by placing the plugins manually in the apps/ directory of my nextcloud installation.

I wonder how this got into a final release when it was even reported as a bug in RC1. I do not believe “not our fault” is an appropriate response if it will break a great deal of installations.

And it’s not even with some obscure one-off plugin. It’s the calendar, for crying out loud?

1 Like

Sorry guys, but… Thats all?
“Wait until we fix it”?

there is an oficial Version released, and there is a major Bug in it which keeps people from using it.

And its not someting like “Oh, yeah whoops” - Its a bug which affects all plugins. TOTP, Encryption, All syncs beside Filesync and so on.

Ok - for everyone which also get this error:

  1. open your config/config.php
  2. add
    ’appcodechecker’ => false,
  3. safe anc reload your nextcloud.
  • If you use a php cache, restart your webserver/empty your cache

WARNING!
Try to avoid using unsigned Apps.

Related Issue: