Nextcloud version: 14.0.2
Operating system and version: Debian 9.5
Apache or nginx version: Apache 2.4.25
PHP version: 7.2
The issue you are facing:
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- setup the config.php as described in https://docs.nextcloud.com/server/13/admin_manual/installation/source_installation.html#apache-web-server-configuration
- Follow the steps described in the
Pretty URLs
section
The result of the occ command is:
Error updating .htaccess file, not enough permissions or "overwrite.cli.url" set to an invalid URL?
The permissions of the .htaccess file are correct, the overwrite.cli.url is correct. The corresponding entry in the log seems to be unrelated, but it shows up each time the command is issued.
The output of your Nextcloud log in Admin > Logging:
No cache entry found for /appdata_ocypwgxpu10n/theming/images/background (storage: local::/var/lib/nextcloud/mysite/, internalPath: appdata_ocypwgxpu10n/theming/images/background)
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => 'xxxxx',
'passwordsalt' => 'xxxxxx',
'secret' => 'xxxxx',
'trusted_domains' =>
array (
0 => 'cloud.mysite.de',
),
'datadirectory' => '/var/lib/nextcloud/mysite',
'logfile' => '/var/lib/nextcloud/mysite/nextcloud.log',
'loglevel' => 0,
'overwrite.cli.url' => 'https://cloud.mysite.de',
'htaccess.RewriteBase' => '/',
'dbtype' => 'mysql',
'version' => '14.0.2.2',
'dbname' => 'nextcloud_xxxxx',
'dbhost' => 'localhost:3306',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'nextcloud',
'dbpassword' => 'xxxxx',
'installed' => true,
'integrity.check.disabled' => false,
'mail_from_address' => 'nextcloud',
'mail_smtpmode' => 'sendmail',
'mail_domain' => 'mysite.de',
'trashbin_retention_obligation' => 'auto,10',
'updatechecker' => true,
'memcache.local' => '\\OC\\Memcache\\Redis',
'filelocking.enabled' => true,
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '/var/run/redis/redis.sock',
'port' => 0,
'timeout' => 0.0,
),
'appstore.experimental.enabled' => false,
'apps_paths' =>
array (
0 =>
array (
'path' => '/var/www/nextcloud-mysite/apps',
'url' => '/apps',
'writable' => true,
),
),
'maintenance' => false,
'theme' => '',
'updater.release.channel' => 'stable',
'updater.secret' => 'xxxxxxxx',
);
The output of your Apache/nginx/system log in /var/log/____
:
Nothing relevant