Sorry to hear you’re facing problems
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:
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, 15.0.4):
Operating system and version (eg, CentOS):
PHP version: 7.2.15
Redis active (default config)
Working Collabora (although the templates do not work)
The issue you are facing:
In the web interface:
I’ve user1 as Admin. User1 has created 3 folders next to his own documents.
Each folder is shared with a different group with read, write and delete rights.
user2 is also admin and member of all groups.
When user2 wants to copy or move a file to one of the shared folders, there is an error. File can not be copied or moved.
There are no errors in the log. Also not in the server log.
I’ve run the occ commands to repair and scan all files again. There are nog messages about a wrong config.
Execting the same copy or move through WebDAV (I use RaiDrive for this) works without any problem !!
Is this the first time you’ve seen this error? N: NO, Previous version had same problem.
Steps to replicate it:
- Admin share various folders with groups
- Admin member copy a file from one of the shared folders to an other shared folder
The output of your Nextcloud log in Admin > Logging:
Error PHP Undefined index: preview at /home/overdu/domains/xxxxxxxx.nl/public_html/cloud/apps/richdocuments/templates/admin.php#81
The output of your config.php file in
/path/to/nextcloud (make sure you remove any identifiable information!):
$CONFIG = array ( 'instanceid' => 'ocmqctxkiog4', 'passwordsalt' => 'xxxx/', 'secret' => 'xxxe', 'trusted_domains' => array ( 0 => 'cloud.xxxx.nl', ), 'datadirectory' => '/home/overdu/domains/xxxx.nl/public_html/cloud/data', 'overwrite.cli.url' => 'https://cloud.xxxx.nl', 'dbtype' => 'mysql', 'version' => '184.108.40.206', 'dbname' => 'overdu_xxx', 'dbhost' => 'localhost', 'dbport' => '', 'dbtableprefix' => 'oc_', 'dbuser' => 'overdu_xxx', 'dbpassword' => 'xxxS', 'installed' => true, 'mail_domain' => 'xxxx.nl', 'mail_from_address' => 'Cloud', 'mail_smtpmode' => 'smtp', 'mail_smtpsecure' => 'ssl', 'mail_smtpauthtype' => 'LOGIN', 'mail_smtpauth' => 1, 'mail_smtphost' => 'xxx.eu', 'mail_smtpport' => '465', 'mail_smtpname' => 'email@example.com', 'mail_smtppassword' => 'xxx', 'memcache.local' => '\\OC\\Memcache\\Redis', 'memcache.locking' => '\\OC\\Memcache\\Redis', 'redis' => array ( 'host' => 'localhost', 'port' => 11563, 'timeout' => 1.5, 'password' => 'fxxxa', 'dbindex' => 0, ), 'activity_expire_days' => 15, 'filelocking.enabled' => 'true', 'maintenance' => false, 'theme' => '', 'loglevel' => 2, 'default_language' => 'nl', 'knowledgebaseenabled' => true, 'remember_login_cookie_lifetime' => 5184000, 'skeletondirectory' => '/home/overdu/domains/xxxx.nl/public_html/cloud_overdu_skeleton', 'updater.release.channel' => 'stable', 'updater.secret' => 'xxxx', );
The output of your Apache/nginx/system log in