[details=“Support intro”]
Nextcloud version (eg, 20.0.5): 27.0.2
Operating system and version (eg, Ubuntu 20.04): Ubuntu 22.04.3 LTS
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.57 (Debian)
PHP version (eg, 7.4): 8.2.9
More info:
Running as docker container behind Traefikv2
The issue you are facing:
I am currently mounting a Wasabi S3 bucket as a Linux mountpoint using rclone. I have recently tried to move tens of GB of data, and Nextcloud will either return back to the state before the moves, or my Windows client and the Nextcloud server web interface are different.
If I run files:scan, it is worse, because it returns it back to an even older version. So, I’m not quite sure which log to paste as the logs contain filenames and therefore, respectfully, I hope you understand why I haven’t pasted it here.
I’m wondering if I make the S3 bucket the Primary Storage, whether I will avoid these types of issues.
If so, how would I do this? I’ve searched the forum here and Google’d to no avail.
Config.php:
<?php
$CONFIG = array (
'htaccess.RewriteBase' => '/',
'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,
),
),
'trusted_proxies' =>
array (
0 => 'traefik',
),
'instanceid' => 'ocxxxxxxxxxxx',
'passwordsalt' => 'JKDFJOKSLKDFJKDFJKLJDFJKSLDFJSKLDFSJKL',
'secret' => 'asdfjhJKLDKJSLDKGJLKJlasdkfjlaksdjfasdflakdsjf',
'trusted_domains' =>
array (
0 => 'nc.domain.com',
),
'datadirectory' => '/var/www/html/data',
'default_phone_region' => 'FR',
'dbtype' => 'mysql',
'version' => '27.0.2.1',
'overwriteprotocol' => 'https',
'overwrite.cli.url' => 'https://nc.domain.com',
'cache_chunk_gc_ttl' => 259200,
'check_for_working_htaccess' => true,
'dbname' => 'nextcloud',
'dbhost' => 'db',
'dbport' => '3306',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'nc_admin',
'dbpassword' => 'adlksfjalskdjflakdjflkadjf',
'tempdirectory' => '/var/www/html/tmp',
'installed' => true,
'theme' => '',
'log_type' => 'file',
'logfile' => 'nextcloud.log',
'loglevel' => 3,
'logdateformat' => 'F d, Y H:i:s',
'maintenance' => false,
'versions_retention_obligation' => 'auto, 1095',
'trashbin_retention_obligation' => 'auto, 1095',
'app_install_overwrite' =>
array (
0 => 'sharepermissions',
1 => 'customproperties',
2 => 'groupfolders',
3 => 'loganalyzer',
4 => 'activitylog',
),
'mail_smtpmode' => 'smtp',
'mail_smtpsecure' => 'tls',
'mail_sendmailmode' => 'smtp',
'mail_from_address' => 'nextcloud',
'mail_domain' => 'domain.com',
'mail_smtphost' => 'smtp.domain.net',
'mail_smtpport' => '465',
'mail_smtpauth' => 1,
'mail_smtpname' => 'user@domain.com',
'mail_smtppassword' => 'aksdfncalskdfjacn;lsdkjn;aljkscn;lafkdj',
'twofactor_enforced' => 'false',
'twofactor_enforced_groups' =>
array (
0 => 'admin',
),
'filelocking.enabled' => true,
'memcache.local' => '\\OC\\Memcache\\APCu',
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => 'redis',
'port' => 6379,
),
);
/var/log/apache2/access.log is pointed to /dev/stdout
/var/log/apache2/error.log is pointed to /dev/stderr
Thank you all!