Hallo,
ich habe kĂŒrzlich meine Nextcloud 18.04 Instanz aus ihrem Linuxserver.io Docker Container befreit und auf eine VM mit Ubuntu 20.04 umgezogen.
Die Instanz lĂ€uft im allgemeinen einwandfrei. Allerdings erhalte ich beim Versuch Apps zu aktualisieren oder zu installieren die Meldung âVerbindung zum Server verlorenâ und der Vorgang wird abgebrochen.
Log EntrĂ€ge die sich hierauf zurĂŒckfĂŒhren lassen finde ich keine. Der letzte Log Eintrag in der nextcloud.log ist mehrere Stunden alt. Auch im nginx log und php-fpm log findet sich keine Eintrag.
Im Forum habe ich sehr wenige Probleme wie dieses gefunden. Lösung war daraus jedoch keine ersichtlich. In einem Fall war das Problem ein falsch konfigurierter Bind9. Die DNS Einstellungen meiner VM sind jedoch korrekt. In der SystemĂŒbersicht von Nextcloud ist als DNS 127.0.0.53 angegeben, was nach etwas Recherche kein Problem zu sein scheint. Ist es möglich den DNS von Nextcloud selbst zu konfigurieren? Oder hatte jemand schon einmal dieses Problem?
Nextcloud version: 18.04
Operating system and version: 20.04
nginx version: 1.17.10
PHP version: 7.4.3
die letzten EintrÀge des Nextcloud Logs
{"reqId":"d8PgttthYb4gc1Deq2SZ","level":3,"time":"2020-05-11T14:23:52+00:00","remoteAddr":"80.140.148.25","user":"admin","app":"PHP","method":"GET","url":"/apps/mail/","message":"Trying to access array offset on value of type null at /var/www/nextcloud/3rdparty/leafo/scssphp/src/Compiler.php#5230","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:76.0) Gecko/20100101 Firefox/76.0","version":"18.0.4.2"}
{"reqId":"d8PgttthYb4gc1Deq2SZ","level":3,"time":"2020-05-11T14:23:52+00:00","remoteAddr":"80.140.148.25","user":"admin","app":"PHP","method":"GET","url":"/apps/mail/","message":"Trying to access array offset on value of type null at /var/www/nextcloud/3rdparty/leafo/scssphp/src/Compiler.php#5230","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:76.0) Gecko/20100101 Firefox/76.0","version":"18.0.4.2"}
{"reqId":"d8PgttthYb4gc1Deq2SZ","level":3,"time":"2020-05-11T14:23:52+00:00","remoteAddr":"80.140.148.25","user":"admin","app":"PHP","method":"GET","url":"/apps/mail/","message":"Trying to access array offset on value of type null at /var/www/nextcloud/3rdparty/leafo/scssphp/src/Compiler.php#5230","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:76.0) Gecko/20100101 Firefox/76.0","version":"18.0.4.2"}
{"reqId":"d8PgttthYb4gc1Deq2SZ","level":3,"time":"2020-05-11T14:23:52+00:00","remoteAddr":"80.140.148.25","user":"admin","app":"PHP","method":"GET","url":"/apps/mail/","message":"Trying to access array offset on value of type null at /var/www/nextcloud/3rdparty/leafo/scssphp/src/Compiler.php#5230","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:76.0) Gecko/20100101 Firefox/76.0","version":"18.0.4.2"}
{"reqId":"D9t2Eqh5QC8oG9AMiQ0Q","level":3,"time":"2020-05-11T14:41:23+00:00","remoteAddr":"","user":"--","app":"mail","method":"","url":"--","message":{"Exception":"OCA\\Mail\\Exception\\MailboxLockedException","Message":"93 is already being synced","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/mail/lib/Db/MailboxMapper.php","line":121,"function":"from","class":"OCA\\Mail\\Exception\\MailboxLockedException","type":"::"},{"file":"/var/www/nextcloud/apps/mail/lib/Db/MailboxMapper.php","line":145,"function":"lockForSync","class":"OCA\\Mail\\Db\\MailboxMapper","type":"->"},{"file":"/var/www/nextcloud/apps/mail/lib/Service/Sync/ImapToDbSynchronizer.php","line":178,"function":"lockForNewSync","class":"OCA\\Mail\\Db\\MailboxMapper","type":"->"},{"file":"/var/www/nextcloud/apps/mail/lib/Service/Sync/ImapToDbSynchronizer.php","line":107,"function":"sync","class":"OCA\\Mail\\Service\\Sync\\ImapToDbSynchronizer","type":"->"},{"file":"/var/www/nextcloud/apps/mail/lib/BackgroundJob/SyncJob.php","line":92,"function":"syncAccount","class":"OCA\\Mail\\Service\\Sync\\ImapToDbSynchronizer","type":"->"},{"file":"/var/www/nextcloud/lib/public/BackgroundJob/Job.php","line":79,"function":"run","class":"OCA\\Mail\\BackgroundJob\\SyncJob","type":"->"},{"file":"/var/www/nextcloud/lib/public/BackgroundJob/TimedJob.php","line":61,"function":"execute","class":"OCP\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/nextcloud/cron.php","line":125,"function":"execute","class":"OCP\\BackgroundJob\\TimedJob","type":"->"}],"File":"/var/www/nextcloud/apps/mail/lib/Exception/MailboxLockedException.php","Line":33,"CustomMessage":"Cron mail sync failed: 93 is already being synced"},"userAgent":"--","version":"18.0.4.2"}
config.php
<?php
$CONFIG = array (
'memcache.local' => '\\OC\\Memcache\\APCu',
'datadirectory' => '/data',
'instanceid' => '*****',
'passwordsalt' => '*****',
'secret' => '*****',
'trusted_domains' =>
array (
0 => '192.168.2.125:8443',
1 => 'nextcloud.*****.duckdns.org',
2 => 'nextcloud.*****.dns-cloud.net',
3 => '2003:f4:*****:fe86:99ba',
),
'trusted_proxies' =>
array (
0 => '192.168.2.125',
),
'dbtype' => 'mysql',
'version' => '18.0.4.2',
'overwrite.cli.url' => 'https://nexcloud.*****.dns-cloud.net',
'overwritehost' => 'nextcloud.*****.dns-cloud.net',
'overwriteprotocol' => 'https',
'dbname' => 'nextcloud',
'dbhost' => '192.168.2.125:3305',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'admin',
'dbpassword' => '*****',
'installed' => true,
'maintenance' => false,
'theme' => '',
'loglevel' => 2,
'updater.release.channel' => 'stable',
'mail_smtpmode' => 'smtp',
'mail_smtpsecure' => 'tls',
'mail_sendmailmode' => 'smtp',
'mail_from_address' => 'admin',
'mail_domain' => '*****.eu',
'mail_smtpauth' => 1,
'mail_smtpname' => 'admin@*****.eu',
'mail_smtppassword' => '*****',
'has_rebuilt_cache' => true,
'mail_smtpauthtype' => 'LOGIN',
'mail_smtphost' => 'smtp.*****.eu',
'mail_smtpport' => '587',
'trashbin_retention_obligation' => 'auto, 90',
'tempdirectory' => '/nextcloudtmp/upload_tmp',
'app_install_overwrite' =>
array (
0 => 'joplin',
),
'data-fingerprint' => '868882ef39*****c17ef8cd1bc259e',
);
Werden weitere Infos benötigt? Oder gibt es noch ein Nextcloud log von dem ich nichts weis?