Nextcloud version (eg, 12.0.2): 16.0.1
Operating system and version (eg, Ubuntu 17.04): Ubuntu 18.04
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.29
PHP version (eg, 7.1):7.2
The issue you are facing:
NC installation set up
access via mydomain.com gets me
apache default page
Is this the first time you’ve seen this error? (Y/N): N
Steps to replicate it:
The output of your Nextcloud log in Admin > Logging:
[core] Error: ImagickException: not authorized `/tmp/oc_tmp_B22kzm-.pdf' @ error/constitute.c/ReadImage/412 at <<closure>>
0. /var/www/nextcloud/lib/private/Preview/Bitmap.php line 87
Imagick->readimage("/tmp/oc_tmp_B22kzm-.pdf[0]")
1. /var/www/nextcloud/lib/private/Preview/Bitmap.php line 50
OC\Preview\Bitmap->getResizedPreview("/tmp/oc_tmp_B22kzm-.pdf", 1024, 768)
2. /var/www/nextcloud/lib/private/Preview/GeneratorHelper.php line 59
OC\Preview\Bitmap->getThumbnail("Nextcloud Manual.pdf", 1024, 768, false, OC\Files\View {})
3. /var/www/nextcloud/lib/private/Preview/Generator.php line 194
OC\Preview\GeneratorHelper->getThumbnail(OC\Preview\PDF {}, OC\Files\Node\File {}, 1024, 768)
4. /var/www/nextcloud/lib/private/Preview/Generator.php line 118
OC\Preview\Generator->getMaxPreview(OC\Files\SimpleFS\SimpleFolder {}, OC\Files\Node\File {}, "application/pdf")
5. /var/www/nextcloud/lib/private/PreviewManager.php line 205
OC\Preview\Generator->getPreview(OC\Files\Node\File {}, 500, 500, true, "fill", "application/pdf")
6. /var/www/nextcloud/core/Controller/PreviewController.php line 175
OC\PreviewManager->getPreview(OC\Files\Node\File {}, 500, 500, true, "fill")
7. /var/www/nextcloud/core/Controller/PreviewController.php line 147
OC\Core\Controller\PreviewController->fetchPreview(OC\Files\Node\File {}, 500, 500, false, false, "fill")
8. /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 166
OC\Core\Controller\PreviewController->getPreviewByFileId(18, 500, 500, false, false, "fill")
9. /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 99
OC\AppFramework\Http\Dispatcher->executeController(OC\Core\Controller\PreviewController {}, "getPreviewByFileId")
10. /var/www/nextcloud/lib/private/AppFramework/App.php line 126
OC\AppFramework\Http\Dispatcher->dispatch(OC\Core\Controller\PreviewController {}, "getPreviewByFileId")
11. /var/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php line 47
OC\AppFramework\App::main("OC\\Core\\Controller\\PreviewController", "getPreviewByFileId", OC\AppFramework\ ... {}, {_route: "core.P ... "})
12. <<closure>>
OC\AppFramework\Routing\RouteActionHandler->__invoke({_route: "core.P ... "})
13. /var/www/nextcloud/lib/private/Route/Router.php line 297
undefinedundefinedcall_user_func(OC\AppFramework\ ... {}, {_route: "core.P ... "})
14. /var/www/nextcloud/lib/base.php line 975
OC\Route\Router->match("/core/preview")
15. /var/www/nextcloud/index.php line 42
OC::handleRequest()
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => 'secret',
'passwordsalt' => 'secret',
'secret' => 'secret',
'trusted_domains' =>
array (
0 => '192.168.178.68',
1 => 'example.ddnss.de',
2 => 'http://',
),
'overwrite.cli.url' => 'http://example.ddnss.de/',
'htaccess.RewriteBase' => '/',
'datadirectory' => '/home/rock64/nextcloud-files',
'dbtype' => 'mysql',
'version' => '16.0.1.1',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'secret',
'dbpassword' => 'secret',
'installed' => true,
'memcache.local' => '\\OC\\Memcache\\APCu',
'activity_expire_days' => 14,
'auth.bruteforce.protection.enabled' => true, 'blacklisted_files' => array ( 0 => '.htaccess',
1 => 'Thumbs.db',
2 => 'thumbs.db',
),
'cron_log' => true,
'enable_previews' => true,
'enabledPreviewProviders' =>
array (
0 => 'OC\\Preview\\PNG',
1 => 'OC\\Preview\\JPEG',
2 => 'OC\\Preview\\GIF',
3 => 'OC\\Preview\\BMP',
4 => 'OC\\Preview\\XBitmap',
5 => 'OC\\Preview\\Movie',
6 => 'OC\\Preview\\PDF',
7 => 'OC\\Preview\\MP3',
8 => 'OC\\Preview\\TXT',
9 => 'OC\\Preview\\MarkDown',
),
'filesystem_check_changes' => 0,
'filelocking.enabled' => 'true',
'integrity.check.disabled' => false,
'knowledgebaseenabled' => false,
'logfile' => '/var/nc_data/nextcloud.log',
'loglevel' => 2,
'logtimezone' => 'Europe/Berlin',
'log_rotate_size' => 104857600,
'maintenance' => false,
'preview_max_x' => 1024,
'preview_max_y' => 768,
'quota_include_external_storage' => false,
'share_folder' => '/Shares',
'skeletondirectory' => '',
'theme' => '',
'trashbin_retention_obligation' => 'auto, 7',
'updater.release.channel' => 'stable',
'mysql.utf8mb4' => true,
);
The output of your Apache/nginx/system log in /var/log/____
:
[Sun Jun 02 10:13:53.266412 2019] [authz_core:error] [pid 23544] [client 192.168.178.38:58051] AH01630: client denied by server configuration: /var/www/status.php
Furthermore, I can access locathost, but only via ip/nextcloud, despite the settings in config.php.
I would be graceful about any help at all.
Thanks in advance
Count Omega