Nextcloud version (eg, 20.0.5): 24.0.2
Operating system and version (eg, Ubuntu 20.04): Debian GNU/Linux 11 (Docker nextcloud:apache)
Apache or nginx version (eg, Apache 2.4.25): Don't know how to find that.
PHP version (eg, 7.4): 8.0.20
The issue you are facing:
I have three different nextcloud accounts. One of those accounts belongs to a Nextcloud Instance Iβm hosting myself. Only this Account keeps syncing constanly. I goes from Checking for changes in remote...
to waiting
and after a few seconds back to Checking for changes.
Is this the first time youβve seen this error? (Y/N):
Yes
Steps to replicate it:
- Setup Nextcloud using Docker/Portainer on Synology NAS
- Install Nextcloud Client on Windows
- Observe constant syncing
The output of your Nextcloud log in Admin > Logging:
Link to my nextcloud.log
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
config.php
GNU nano 5.4 config/config.php <?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,
),
),
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => 'redis',
'password' => '',
'port' => ββββ,
),
'instanceid' => 'βββββ',
'passwordsalt' => 'βββββ',
'secret' => 'βββββ',
'trusted_domains' =>
array (
0 => 'βββββ.com',
1 => 'βββ.βββ.βββ.βββ:ββββ',
),
'datadirectory' => '/var/www/html/data',
'dbtype' => 'mysql',
'version' => '24.0.2.1',
'overwrite.cli.url' => 'http://ββ.ββ.βββ.βββ:ββββ',
'dbname' => 'nextclouddb3',
'dbhost' => 'mariadb3',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'ββββ',
'dbpassword' => 'βββββ',
'installed' => true,
'filesystem_check_changes' => 1,
'overwriteprotocol' => 'https',
'mail_smtpmode' => 'smtp',
'mail_smtpauthtype' => 'LOGIN',
'mail_sendmailmode' => 'smtp',
'mail_smtpsecure' => 'ssl',
'mail_from_address' => 'βββββ',
'mail_domain' => 'ββββ.com',
'mail_smtpauth' => 1,
'mail_smtphost' => 'smtp.ββββ.com',
'mail_smtpport' => '465',
'mail_smtpname' => 'βββββ@ββββ.com',
'mail_smtppassword' => 'βββββββ',
'twofactor_enforced' => 'true',
'twofactor_enforced_groups' =>
array (
),
'twofactor_enforced_excluded_groups' =>
array (
),
'maintenance' => false,
'updater.secret' => 'βββββββββββββββ',
);
The output of your Apache/nginx/system log in /var/log/____
:
For the life of me I couldnβt figure out how to get the content out of /var/log/apache2/error.log
It tried to nano, cat, scp, and mount as network drive. But I could never get the permission to open the file
And just in case it is relevant my Portainer Script:
portainer
version: '3'
services:
db:
container_name: mariadb3
image: mariadb:10.5
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
restart: always
volumes:
- db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=βββββββββββ
- MYSQL_PASSWORD=ββββββββββ
- MYSQL_DATABASE=nextclouddb3
- MYSQL_USER=βββββββββ
# env_file:
# - db.env
redis:
container_name: redis2
image: redis:alpine
restart: always
app:
container_name: nextcloud3
image: nextcloud:apache
restart: always
ports:
- 8082:80
volumes:
- /volume1/docker/nextcloud3:/var/www/html
environment:
- MYSQL_HOST=db
- REDIS_HOST=redis
- PUID=ββββ
- PGID=βββ
- TZ=Europe/Berlin
# env_file:
# - db.env
depends_on:
- db
- redis
cron:
container_name: cron3
image: nextcloud:apache
restart: always
volumes:
- /volume1/docker/nextcloud3:/var/www/html
entrypoint: /cron.sh
depends_on:
- db
- redis
volumes:
db:
Disclaimer Iβm a novice in the world of self-hosting, linux, nginx, nextcloud, etc. Any help is very much appreciated! Please be as explicit as possible and expect, that I wont know where any of the config files are stored, you will likely tell me to change.