Nextcloud version (eg, 29.0.5): 29.0.3
Operating system and version (eg, Ubuntu 24.04): Ubuntu 22.04.1
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.52 (Ubuntu)
PHP version (eg, 8.3): PHP 8.1.2-1ubuntu2.19 (cli) (built: Sep 30 2024 16:25:25) (NTS)
The issue you are facing:
Not all files seem to be able to be shared
These seem to work just fine
- TXT
- JPG
- PNG
Files like zip and exe do not seem to be able to be shared, now “show details” is possible
It just keeps on “spinning”
Is this the first time you’ve seen this error? (Y):
Steps to replicate it:
- open nextcloud URL
- login
- try to share a file (or folder) that is not PNG, JPG or TXT extention
The output of your Nextcloud log in Admin > Logging:
https://pastebin.com/wUhxJ39D
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => 'uniqueID',
'passwordsalt' => 'saltyPW',
'secret' => 'superSecret',
'default_phone_region' => 'NL',
'trusted_domains' =>
array (
0 => '172.xxx.yyy.zzz',
1 => '172.xxx.yyy.zzz',
2 => 'transfer.domain.com',
3 => 'transfer2.domain.com',
4 => 'transfer.domain.nl',
5 => 'nextcloud.domain.nl',
),
'datadirectory' => '/var/www/html/data',
'dbtype' => 'mysql',
'version' => '29.0.3.4',
'overwrite.cli.url' => 'https://transfer.domain.com/',
'htaccess.RewriteBase' => '/',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'nextcloud',
'dbpassword' => 'securedpw',
'updater.release.channel' => 'stable',
'installed' => true,
'trusted_proxies' =>
array (
0 => '10.xxx.yyy.zzz',
1 => '127.0.0.1',
2 => '172.xxx.yyy.zzz',
),
'maintenance_window_start' => 1,
'overwriteprotocol' => 'https',
'overwritehost' => 'transfer.domain.com',
'overwritewebroot' => '/',
'mail_from_address' => '5500',
'mail_smtpmode' => 'smtp',
'mail_sendmailmode' => 'smtp',
'mail_domain' => 'domain.com',
'mail_smtphost' => '10.176.47.178',
'mail_smtpport' => '25',
'mail_smtptimeout' => '30',
'mail_smtpsecure' => '',
'mail_smtpauth' => false,
'mail_smtpname' => '',
'mail_smtppassword' => '',
'mail_smtpdebug' => false,
'loglevel' => 2,
'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory',
'filelocking.enabled' => true,
'memcache.local' => '\\OC\\Memcache\\APCu',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => 'localhost',
'port' => 6379,
),
'defaultapp' => 'files',
'mail_smtpstreamoptions' =>
array (
'ssl' =>
array (
'allow_self_signed' => true,
'verify_peer' => false,
'verify_peer_name' => false,
),
),
'maintenance' => false,
'theme' => '',
'twofactor_enforced' => 'true',
'twofactor_enforced_groups' =>
array (
),
'twofactor_enforced_excluded_groups' =>
array (
),
);
The output of your Apache/nginx/system log in /var/log/____
:
[Fri Oct 25 07:41:30.788714 2024] [access_compat:error] [pid 760319] [client 172.28.8.27:34106] AH01797: client denied by server configuration: /var/www/html/data/.ocdata
[Fri Oct 25 07:42:01.061221 2024] [access_compat:error] [pid 760320] [client 172.28.8.27:37844] AH01797: client denied by server configuration: /var/www/html/data/.ocdata
[Fri Oct 25 07:42:01.224228 2024] [access_compat:error] [pid 775954] [client 172.28.8.27:37846] AH01797: client denied by server configuration: /var/www/html/data/.ocdata
[Fri Oct 25 11:43:41.871027 2024] [access_compat:error] [pid 775945] [client 172.28.8.27:47764] AH01797: client denied by server configuration: /var/www/html/data/.ocdata
[Fri Oct 25 11:44:11.959401 2024] [access_compat:error] [pid 770897] [client 172.28.8.27:40972] AH01797: client denied by server configuration: /var/www/html/data/.ocdata
[Fri Oct 25 11:44:12.201411 2024] [access_compat:error] [pid 781059] [client 172.28.8.27:40982] AH01797: client denied by server configuration: /var/www/html/data/.ocdata
[Fri Oct 25 11:45:24.739666 2024] [access_compat:error] [pid 775942] [client 172.28.8.27:54592] AH01797: client denied by server configuration: /var/www/html/data/.ocdata
[Fri Oct 25 11:45:54.793721 2024] [access_compat:error] [pid 760323] [client 172.28.8.27:53686] AH01797: client denied by server configuration: /var/www/html/data/.ocdata
[Fri Oct 25 11:45:54.999221 2024] [access_compat:error] [pid 781057] [client 172.28.8.27:53698] AH01797: client denied by server configuration: /var/www/html/data/.ocdata
Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.
PASTE HERE