Nextcloud nicht erreichbar

Woodz

Lieutenant
Registriert
Apr. 2009
Beiträge
715
Hallo an Alle.

Ich habe heute eine Nextcloud über das zero.sh script von:

https://www.c-rieger.de/nextcloud-installationsskript/

installiert.

OS: Ubuntu 24.04.2 minimized

Das dazugehörige Konfigurationsfile habe ich folgendermaßen angepasst:
# ----------------------------------------------------------------------------------------------------
NEXTCLOUDDATAPATH="/var/nc_data"
NEXTCLOUDADMINUSER="xxxxxx" (verfremdet)
NEXTCLOUDADMINUSERPASSWORD=$(openssl rand -hex 16)
NCRELEASE="latest.tar.bz2"
PHPVERSION="8.3"
NEXTCLOUDDNS="meine.domain.de" (verfremdet)
LETSENCRYPT="y"
NEXTCLOUDEXTIP=$(curl -s -4 'https://it-services.c-rieger.de/remoteip.php')
DATABASE="m"
NCDBNAME="xxxxxxxx" (verfremdet)
NCDBUSER="xxxxxxxx" (verfremdet)
NCDBPASSWORD="xxxxxxxx"
MARIADBROOTPASSWORD=$(openssl rand -hex 16)
REDISPASSWORD=$(openssl rand -hex 16)
CURRENTTIMEZONE='Europe/Berlin'
PHONEREGION='DE'
NEXTCLOUDOFFICE="n"
ONLYOFFICE="n"
UPLOADSIZE='10G'
APTIP4="n"
RESOLVER="127.0.0.53 176.9.93.198 176.9.1.117"
REMOVEUAU="y"
TCP_OPT="n"
HTTP3ON="n"
# ----------------------------------------------------------------------------------------------------

Das Problem ist, wenn ich die Domain nun aufrufe, erhalte ich einen "Verbindung fehlgeschlagen" Fehler im Browser.

Ich habe mir das logfile unter:
/var/log/nextcloud/meine.domain.de.log
angeschaut.

Hier erhalte ich alle 5 Minuten eine Fehlermeldung:
{
"reqId":"RrDnyW1vRD6I436FPH5G",
"level":3,
"time":"2025-07-03T01:45:01+02:00",
"remoteAddr":"",
"user":"--",
"app":"core",
"method":"",
"url":"--",
"message":"Error while running background job OCA\\Theming\\Jobs\\MigrateBackgroundImages (id: 289, arguments: {\"stage\":\"prepare\"})",
"userAgent":"--",
"version":"31.0.6.2",
"exception":{
"Exception":"OCP\\Files\\NotFoundException",
"Message":"/appdata_oc6b4pz0p1vx/theming/global",
"Code":0,
"Trace":[
{
"file":"/var/www/nextcloud/lib/private/Files/Node/LazyFolder.php",
"line":138,
"function":"get",
"class":"OC\\Files\\Node\\Root","type":"->},
{
"file":"/var/www/nextcloud/lib/private/Files/AppData/AppData.php",
"line":114,
"function":"get",
"class":"OC\\Files\\Node\\LazyFolder",
"type":"->"},
{
"file":"/var/www/nextcloud/apps/theming/lib/Jobs/MigrateBackgroundImages.php",
"line":140,
"function":"getFolder",
"class":"OC\\Files\\AppData\\AppData",
"type":"->"},
{
"file":"/var/www/nextcloud/apps/theming/lib/Jobs/MigrateBackgroundImages.php",
"line":72,
"function":"storeUserIdsToProcess",
"class":"OCA\\Theming\\Jobs\\MigrateBackgroundImages",
"type":"->"},
{
"file":"/var/www/nextcloud/apps/theming/lib/Jobs/MigrateBackgroundImages.php",
"line":51,
"function":
"runPreparation",
"class":"OCA\\Theming\\Jobs\\MigrateBackgroundImages",
"type":"->"},
{
"file":"/var/www/nextcloud/lib/public/BackgroundJob/Job.php",
"line":61,
"function":"run",
"class":"OCA\\Theming\\Jobs\\MigrateBackgroundImages",
"type":"->"},
{
"file":"/var/www/nextcloud/lib/public/BackgroundJob/QueuedJob.php",
"line":43,
"function":"start",
"class":"OCP\\BackgroundJob\\Job",
"type":"->"},
{
"file":"/var/www/nextcloud/lib/public/BackgroundJob/QueuedJob.php",
"line":29,
"function":"start",
"class":"OCP\\BackgroundJob\\QueuedJob",
"type":"->"},
{
"file":"/var/www/nextcloud/cron.php",
"line":170,
"function":"execute",
"class":"OCP\\BackgroundJob\\QueuedJob",
"type":"->"}],
"File":"/var/www/nextcloud/lib/private/Files/Node/Root.php",
"Line":182,
"message":"Error while running background job OCA\\Theming\\Jobs\\MigrateBackgroundImages (id: 289, arguments: {\"stage\":\"prepare\"})",
"exception":{},
"CustomMessage":"Error while running background job OCA\\Theming\\Jobs\\MigrateBackgroundImages (id: 289, arguments: {\"stage\":\"prepare\"})"}}


Ich vermute, dass es Probleme bei der Ausführung eines Cronjobs geht, aber für ein weiteres Verständnis fehlt mir weiteres Wissen.

Beste Grüße
 
Hi,

ich glaube die interessanteren Log Files sind die vom Webserver.
 
  • Gefällt mir
Reaktionen: cosmo45 und tollertyp
Danke für den Tipp. Im nginx log war zu lesen, dass die ssl Schlüssel nicht zu finden waren, weil während der Installtion die Server nicht über den :80 Port zu erreichen war. Habs nochmals neu aufgezogen und nun läufts.
Manchmal ist es doch zu einfach.

Danke
 
  • Gefällt mir
Reaktionen: John Sinclair, cosmo45 und tollertyp
Zurück
Oben