Nextcloud version : 25.0.1.1
Operating system and version: Ubuntu 20.04
Apache or nginx version: Apache
PHP version : 8.1.12
The issue you are facing:
I migrated my nextcloud from an ordinary installation to a docker container. After some struggle I got it running on a subdomain (cloud.my-domain.com). I got an SSH certificate installed and the routing via a reverse proxy is working. I got all my data, all my users, but I could not copy my previous config.php due to permission issues. I let the wizard generate a new config.php and changed contents to my desire.
Now I can not create any new content. I can not upload files, create files in the web interface or create new directories. It just says “forbidden” in the top right corner without any error message.
Is this the first time you’ve seen this error? Y
The output of my Nextcloud log when “info” filtered out:
The output of your config.php file in /path/to/nextcloud
(the x marks confidential information):
<?php
$CONFIG = array (
'htaccess.RewriteBase' => '/',
'memcache.local' => '\\OC\\Memcache\\APCu',
'apps_paths' =>
array (
0 =>
array (
'path' => '/var/www/html/apps',
'url' => '/apps',
'writable' => false,
),
1 =>
array (
'path' => '/var/www/html/custom_apps',
'url' => '/custom_apps',
'writable' => true,
),
),
'instanceid' => x,
'passwordsalt' => x,
'secret' =>x,
'trusted_domains' =>
array (
0 => x,
),
'datadirectory' => '/var/www/html/data',
'dbtype' => 'mysql',
'version' => '25.0.1.1',
'overwrite.cli.url' => x,
'overwriteprotocol' => 'https',
'dbname' => 'nextcloud',
'dbhost' => 'db:3306',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => x,
'dbpassword' => x,
'installed' => true,
'theme' => '',
'loglevel' => 1,
'log_type' => 'file',
'log_type' => 'file',
'logfile' => 'nextcloud.log',
'maintenance' => false,
'mail_smtpmode' => 'smtp',
'mail_sendmailmode' => 'smtp',
'mail_from_address' => x',
'mail_domain' =>x,
'mail_smtphost' => x,
'mail_smtpsecure' => 'tls',
'mail_smtpport' => '587',
'mail_smtpauth' => 1,
'mail_smtpname' => x,
'mail_smtppassword' =>x,
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpdebug' => true,
);