Support intro
Sorry to hear you’re facing problems
help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.
In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:
example
Or for longer, use three backticks above and below the code snippet:
longer
example
here
Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can
Nextcloud version (eg, 18.0.2): 19.0.0
Operating system and version (eg, Ubuntu 20.04): Linux 4.19.107-Unraid x86_64
Apache or nginx version (eg, Apache 2.4.25):
PHP version (eg, 7.1):
The issue you are facing:
I just installed nextcloud on my unraid docker yesterday and got it all up and running. I was able to share some files. All was fine. Today when accessing Nextcloud, I am not able to share any files or photos. The sharing option is gone. I can’t figure this out and not able to see where I can renable this or what happened.
Is this the first time you’ve seen this error? (Y/N):
Steps to replicate it:
The output of your Nextcloud log in Admin > Logging:
Error index OCP\Files\NotPermittedException: Could not create folder 2020-06-25T11:56:14-0400
OCP\Files\NotPermittedException: Could not create folder
/config/www/nextcloud/lib/private/Files/AppData/AppData.php - line 157:
OC\Files\Node\Folder->newFolder("4/d/2/8/9/c/1/9907")
/config/www/nextcloud/lib/private/Preview/Storage/Root.php - line 58:
OC\Files\AppData\AppData->newFolder("4/d/2/8/9/c/1/9907")
/config/www/nextcloud/lib/private/Preview/Generator.php - line 462:
OC\Preview\Storage\Root->newFolder("9907")
/config/www/nextcloud/lib/private/Preview/Generator.php - line 133:
OC\Preview\Generator->getPreviewFolder(OC\Files\Node\File {})
/config/www/nextcloud/lib/private/Preview/Generator.php - line 107:
OC\Preview\Generator->generatePreviews(OC\Files\Node\File {}, [ { width: 3 ... }], "text/markdown")
/config/www/nextcloud/lib/private/PreviewManager.php - line 190:
OC\Preview\Generator->getPreview(OC\Files\Node\File {}, 32, 32, true, "fill", null)
/config/www/nextcloud/core/Controller/PreviewController.php - line 170:
OC\PreviewManager->getPreview(OC\Files\Node\File {}, 32, 32, true, "fill")
/config/www/nextcloud/core/Controller/PreviewController.php - line 143:
OC\Core\Controller\PreviewController->fetchPreview(OC\Files\Node\File {}, 32, 32, false, true, "fill")
/config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 170:
OC\Core\Controller\PreviewController->getPreviewByFileId(9907, 32, 32, false, true, "fill")
/config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 100:
OC\AppFramework\Http\Dispatcher->executeController(OC\Core\Cont ... {}, "getPreviewByFileId")
/config/www/nextcloud/lib/private/AppFramework/App.php - line 137:
OC\AppFramework\Http\Dispatcher->dispatch(OC\Core\Cont ... {}, "getPreviewByFileId")
/config/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47:
OC\AppFramework\App::main("OC\\Core\\C ... r", "getPreviewByFileId", OC\AppFramew ... {}, { _route: "c ... "})
<<closure>>
OC\AppFramework\Routing\RouteActionHandler->__invoke({ _route: "c ... "})
/config/www/nextcloud/lib/private/Route/Router.php - line 297:
call_user_func(OC\AppFramew ... {}, { _route: "c ... "})
/config/www/nextcloud/lib/base.php - line 1007:
OC\Route\Router->match("/core/preview")
/config/www/nextcloud/index.php - line 37:
OC::handleRequest()
Error index OCP\Files\NotPermittedException: Could not create folder 2020-06-25T11:56:13-0400
Error sharebymail Swift_RfcComplianceException: Address in mailbox given [My Okavango@localhost.localdomain] does not comply with RFC 2822, 3.6.2. 2020-06-25T11:27:29-0400
Error text OCP\Files\NotFoundException: 2020-06-24T21:28:07-0400
Error text OCP\Files\NotFoundException: 2020-06-24T21:28:06-0400
Error PHP session_start(): A session had already been started - ignoring at /config/www/nextcloud/lib/private/Session/Internal.php#209 2020-06-24T18:00:20-0400
Error PHP session_start(): A session had already been started - ignoring at /config/www/nextcloud/lib/private/Session/Internal.php#209 2020-06-24T17:50:00-0400
Error PHP session_start(): A session had already been started - ignoring at /config/www/nextcloud/lib/private/Session/Internal.php#209 2020-06-24T17:00:06-0400
Warning no app in context Login failed: nextcloud (Remote IP: 99.229.32.254) 2020-06-24T16:27:45-0400
Error cron Exception: Not installed 2020-06-22T22:30:01-0400
Error jsresourceloader Could not find resource js/setup.js to load 2020-06-22T22:28:56-0400
Warning no app in context Host 192.168.1.138 was not connected to because it violates local access rules 2020-06-22T22:28:56-0400
Warning no app in context Host 192.168.1.138 was not connected to because it violates local access rules 2020-06-22T22:28:56-0400
Error PHP session_start(): A session had already been started - ignoring at /config/www/nextcloud/lib/private/Session/Internal.php#209 2020-06-22T22:28:56-0400
Warning no app in context Could not detect any host in http:///data/htaccesstest.txt 2020-06-22T22:27:55-0400
Warning no app in context Could not detect any host in https:///data/htaccesstest.txt 2020-06-22T22:27:55-0400
Error PHP session_start(): A session had already been started - ignoring at /config/www/nextcloud/lib/private/Session/Internal.php#209 2020-06-22T22:27:55-0400
Error jsresourceloader Could not find resource js/setup.js to load 2020-06-22T22:26:35-0400
Warning no app in context Could not detect any host in http:///data/htaccesstest.txt 2020-06-22T22:26:35-0400
Warning no app in context Could not detect any host in https:///data/htaccesstest.txt 2020-06-22T22:26:35-0400
Error jsresourceloader Could not find resource js/setup.js to load 2020-06-22T22:26:35-0400
Error PHP session_start(): A session had already been started - ignoring at /config/www/nextcloud/lib/private/Session/Internal.php#209 2020-06-22T22:26:35-0400
Warning no app in context Could not detect any host in http:///data/htaccesstest.txt 2020-06-22T22:26:35-0400
Warning no app in context Could not detect any host in https:///data/htaccesstest.txt 2020-06-22T22:26:35-0400
Error PHP session_start(): A session had already been started - ignoring at /config/www/nextcloud/lib/private/Session/Internal.php#209 2020-06-22T22:26:35-0400
Error cron Exception: Not installed 2020-06-22T22:10:01-0400
Error jsresourceloader Could not find resource js/setup.js to load 2020-06-22T22:09:50-0400
Error no app in context Doctrine\DBAL\DBALException: Failed to connect to the database: An exception occurred in driver: SQLSTATE[HY000] [1044] Access denied for user 'nextcloud'@'%' to database 'nextcloud' 2020-06-22T22:09:50-0400
Error mysql.setup Doctrine\DBAL\Exception\ConnectionException: An exception occurred while executing 'CREATE DATABASE IF NOT EXISTS `nextcloud` CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;': SQLSTATE[42000]: Syntax error or access violation: 1044 Access denied for user 'nextcloud'@'%' to database 'nextcloud' 2020-06-22T22:09:50-0400
Warning no app in context Host 192.168.1.138 was not connected to because it violates local access rules 2020-06-22T22:09:50-0400
Warning no app in context Host 192.168.1.138 was not connected to because it violates local access rules 2020-06-22T22:09:50-0400
Error PHP session_start(): A session had already been started - ignoring at /config/www/nextcloud/lib/private/Session/Internal.php#209 2020-06-22T22:09:50-0400
Error jsresourceloader Could not find resource js/setup.js to load 2020-06-22T22:08:05-0400
Warning no app in context Host 192.168.1.138 was not connected to because it violates local access rules 2020-06-22T22:08:05-0400
Warning no app in context Host 192.168.1.138 was not connected to because it violates local access rules 2020-06-22T22:08:05-0400
Error PHP session_start(): A session had already been started - ignoring at /config/www/nextcloud/lib/private/Session/Internal.php#209 2020-06-22T22:08:05-0400
Error jsresourceloader Could not find resource js/setup.js to load 2020-06-22T22:06:51-0400
Warning no app in context Host 192.168.1.138 was not connected to because it violates local access rules 2020-06-22T22:06:51-0400
Warning no app in context Host 192.168.1.138 was not connected to because it violates local access rules 2020-06-22T22:06:51-0400
Error PHP session_start(): A session had already been started - ignoring at /config/www/nextcloud/lib/private/Session/Internal.php#209 2020-06-22T22:06:51-0400
Error jsresourceloader Could not find resource js/setup.js to load 2020-06-22T22:06:09-0400
Warning no app in context Host 192.168.1.138 was not connected to because it violates local access rules 2020-06-22T22:06:09-0400
Warning no app in context Host 192.168.1.138 was not connected to because it violates local access rules 2020-06-22T22:06:09-0400
Error PHP session_start(): A session had already been started - ignoring at /config/www/nextcloud/lib/private/Session/Internal.php#209 2020-06-22T22:06:09-0400
Error cron Exception: Not installed 2020-06-22T22:05:01-0400
Error jsresourceloader Could not find resource js/setup.js to load 2020-06-22T22:04:56-0400
Warning no app in context Host 192.168.1.138 was not connected to because it violates local access rules 2020-06-22T22:04:55-0400
Warning no app in context Host 192.168.1.138 was not connected to because it violates local access rules 2020-06-22T22:04:55-0400
Error PHP session_start(): A session had already been started - ignoring at /config/www/nextcloud/lib/private/Session/Internal.php#209 2020-06-22T22:04:55-0400
Error jsresourceloader Could not find resource js/setup.js to load 2020-06-22T22:03:21-0400
Warning no app in context Host 192.168.1.138 was not connected to because it violates local access rules 2020-06-22T22:03:21-0400
Warning no app in context Host 192.168.1.138 was not connected to because it violates local access rules 2020-06-22T22:03:21-0400
Error PHP session_start(): A session had already been started - ignoring at /config/www/nextcloud/lib/private/Session/Internal.php#209 2020-06-22T22:03:21-0400
Error jsresourceloader Could not find resource js/setup.js to load 2020-06-22T22:02:03-0400
Error no app in context Doctrine\DBAL\DBALException: Failed to connect to the database: An exception occurred in driver: SQLSTATE[HY000] [1044] Access denied for user 'nextcloud'@'%' to database 'nextcloud' 2020-06-22T22:02:03-0400
Error mysql.setup Doctrine\DBAL\Exception\ConnectionException: An exception occurred while executing 'CREATE DATABASE IF NOT EXISTS `nextcloud` CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;': SQLSTATE[42000]: Syntax error or access violation: 1044 Access denied for user 'nextcloud'@'%' to database 'nextcloud' 2020-06-22T22:02:03-0400
Warning no app in context Host 192.168.1.138 was not connected to because it violates local access rules 2020-06-22T22:02:03-0400
Warning no app in context Host 192.168.1.138 was not connected to because it violates local access rules 2020-06-22T22:02:03-0400
Error PHP session_start(): A session had already been started - ignoring at /config/www/nextcloud/lib/private/Session/Internal.php#209 2020-06-22T22:02:03-0400
Error cron Exception: Not installed 2020-06-22T22:00:01-0400
Error jsresourceloader Could not find resource js/setup.js to load 2020-06-22T21:59:46-0400
Error no app in context Doctrine\DBAL\DBALException: Failed to connect to the database: An exception occurred in driver: SQLSTATE[HY000] [1044] Access denied for user 'nextcloud'@'%' to database 'nextcloud' 2020-06-22T21:59:46-0400
Error mysql.setup Doctrine\DBAL\Exception\ConnectionException: An exception occurred while executing 'CREATE DATABASE IF NOT EXISTS `nextcloud` CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;': SQLSTATE[42000]: Syntax error or access violation: 1044 Access denied for user 'nextcloud'@'%' to database 'nextcloud' 2020-06-22T21:59:46-0400
Warning no app in context Could not detect any host in http:///data/htaccesstest.txt 2020-06-22T21:59:46-0400
Warning no app in context Could not detect any host in https:///data/htaccesstest.txt 2020-06-22T21:59:46-0400
Error PHP session_start(): A session had already been started - ignoring at /config/www/nextcloud/lib/private/Session/Internal.php#209 2020-06-22T21:59:46-0400
Error jsresourceloader Could not find resource js/setup.js to load 2020-06-22T21:58:46-0400
Warning no app in context Could not detect any host in http:///data/htaccesstest.txt 2020-06-22T21:58:46-0400
Warning no app in context Could not detect any host in https:///data/htaccesstest.txt 2020-06-22T21:58:46-0400
Error PHP session_start(): A session had already been started - ignoring at /config/www/nextcloud/lib/private/Session/Internal.php#209 2020-06-22T21:58:46-0400
Error jsresourceloader Could not find resource js/setup.js to load 2020-06-22T21:52:28-0400
Error no app in context Doctrine\DBAL\DBALException: Failed to connect to the database: An exception occurred in driver: SQLSTATE[HY000] [1044] Access denied for user 'nextcloud'@'%' to database 'nextcloud' 2020-06-22T21:52:28-0400
Error mysql.setup Doctrine\DBAL\Exception\ConnectionException: An exception occurred while executing 'CREATE DATABASE IF NOT EXISTS `nextcloud` CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;': SQLSTATE[42000]: Syntax error or access violation: 1044 Access denied for user 'nextcloud'@'%' to database 'nextcloud' 2020-06-22T21:52:28-0400
Warning no app in context Host 192.168.1.138 was not connected to because it violates local access rules 2020-06-22T21:52:28-0400
Warning no app in context Host 192.168.1.138 was not connected to because it violates local access rules 2020-06-22T21:52:28-0400
Error PHP session_start(): A session had already been started - ignoring at /config/www/nextcloud/lib/private/Session/Internal.php#209 2020-06-22T21:52:28-0400
Error jsresourceloader Could not find resource js/setup.js to load 2020-06-22T21:51:31-0400
Warning no app in context Host 192.168.1.138 was not connected to because it violates local access rules 2020-06-22T21:51:31-0400
Warning no app in context Host 192.168.1.138 was not connected to because it violates local access rules 2020-06-22T21:51:31-0400
Error PHP session_start(): A session had already been started - ignoring at /config/www/nextcloud/lib/private/Session/Internal.php#209 2020-06-22T21:51:31-0400
Error jsresourceloader Could not find resource js/setup.js to load 2020-06-22T21:50:04-0400
Error no app in context Doctrine\DBAL\DBALException: Failed to connect to the database: An exception occurred in driver: SQLSTATE[HY000] [1044] Access denied for user 'nextcloud'@'%' to database 'nextcloud' 2020-06-22T21:50:04-0400
Error mysql.setup Doctrine\DBAL\Exception\ConnectionException: An exception occurred while executing 'CREATE DATABASE IF NOT EXISTS `nextcloud` CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;': SQLSTATE[42000]: Syntax error or access violation: 1044 Access denied for user 'nextcloud'@'%' to database 'nextcloud' 2020-06-22T21:50:04-0400
Warning no app in context Host 192.168.1.138 was not connected to because it violates local access rules 2020-06-22T21:50:04-0400
Warning no app in context Host 192.168.1.138 was not connected to because it violates local access rules 2020-06-22T21:50:04-0400
Error PHP session_start(): A session had already been started - ignoring at /config/www/nextcloud/lib/private/Session/Internal.php#209 2020-06-22T21:50:04-0400
Error cron Exception: Not installed 2020-06-22T21:50:00-0400
Error jsresourceloader Could not find resource js/setup.js to load 2020-06-22T21:49:05-0400
Error no app in context Doctrine\DBAL\DBALException: Failed to connect to the database: An exception occurred in driver: SQLSTATE[HY000] [1044] Access denied for user 'nextcloud'@'%' to database 'nextcloud' 2020-06-22T21:49:05-0400
Error mysql.setup Doctrine\DBAL\Exception\ConnectionException: An exception occurred while executing 'CREATE DATABASE IF NOT EXISTS `nextcloud` CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;': SQLSTATE[42000]: Syntax error or access violation: 1044 Access denied for user 'nextcloud'@'%' to database 'nextcloud' 2020-06-22T21:49:05-0400
Warning no app in context Host 192.168.1.138 was not connected to because it violates local access rules 2020-06-22T21:49:05-0400
Warning no app in context Host 192.168.1.138 was not connected to because it violates local access rules 2020-06-22T21:49:05-0400
Error PHP session_start(): A session had already been started - ignoring at /config/www/nextcloud/lib/private/Session/Internal.php#209 2020-06-22T21:49:05-0400
Error jsresourceloader Could not find resource js/setup.js to load 2020-06-22T21:47:15-0400
Warning no app in context Host 192.168.1.138 was not connected to because it violates local access rules 2020-06-22T21:47:15-0400
Warning no app in context Host 192.168.1.138 was not connected to because it violates local access rules 2020-06-22T21:47:15-0400
Error PHP session_start(): A session had already been started - ignoring at /config/www/nextcloud/lib/private/Session/Internal.php#209 2020-06-22T21:47:14-0400
Error jsresourceloader Could not find resource js/setup.js to load 2020-06-22T21:47:08-0400
Warning no app in context Host 192.168.1.138 was not connected to because it violates local access rules 2020-06-22T21:47:08-0400
Warning no app in context Host 192.168.1.138 was not connected to because it violates local access rules 2020-06-22T21:47:08-0400
Error PHP session_start(): A session had already been started - ignoring at /config/www/nextcloud/lib/private/Session/Internal.php#209 2020-06-22T21:47:08-0400
Error jsresourceloader Could not find resource js/setup.js to load 2020-06-22T21:47:08-0400
Warning no app in context Host 192.168.1.138 was not connected to because it violates local access rules 2020-06-22T21:47:08-0400
Warning no app in context Host 192.168.1.138 was not connected to because it violates local access rules 2020-06-22T21:47:08-0400
Error PHP session_start(): A session had already been started - ignoring at /config/www/nextcloud/lib/private/Session/Internal.php#209 2020-06-22T21:47:08-0400
Error jsresourceloader Could not find resource js/setup.js to load 2020-06-22T21:47:07-0400
Warning no app in context Could not detect any host in http:///data/htaccesstest.txt 2020-06-22T21:46:07-0400
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'memcache.local' => '\\OC\\Memcache\\APCu',
'datadirectory' => '/data',
'instanceid' => 'oc9nxl46klgc',
'passwordsalt' => 'Yvj8b23omP1LHBwH3AEuIOckCep3A9',
'secret' => '93d5G6f0gzNgIjJ8Pm8EajsjgMWgQzp84zWk9J9y3V9+gkKK',
'trusted_domains' =>
array (
0 => '192.168.1.138:444',
1 => 'okavangonextcloud.duckdns.org',
),
'dbtype' => 'mysql',
'version' => '19.0.0.12',
'overwrite.cli.url' => 'https://okavangonextcloud.duckdns.org',
'overwritehost' => 'okavangonextcloud.duckdns.org',
'overwriteprotocol' => 'https',
'dbname' => 'nextcloud',
'dbhost' => '192.168.1.138:3306',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'xxxxx',
'dbpassword' => 'xxxx',
'installed' => true,
The output of your Apache/nginx/system log in /var/log/____
:
PASTE HERE