Fehler: Es sieht so aus, als ob Du Nextcloud erneut installieren möchtest

Moin zusammen,

ich bekomme seit heute in meiner NC den folgenden Fehler angezeigt, wenn ich mich ĂŒber die WeboberflĂ€che einloggen möchte:

Englisch:

Error

It looks like you are trying to reinstall your Nextcloud. However the file CAN_INSTALL is missing from your config directory. Please create the file CAN_INSTALL in your config folder to continue.

Deutsch:

Fehler

Es sieht so aus, als ob Du Nextcloud erneut installieren möchtest. Es fehlt jedoch die Datei CAN_INSTALL in Deinem Konfigurationsordner. Bitte erstelle die Datei CAN_INSTALL im Konfigurationsordner um fortzufahren.

Aufgrund des Logs vermute ich einen Fehler mit dem SSL Zertifikat.
Es wurden meinerseits (einziger Admin) keine Updates oder Ă€hnliches durchgefĂŒhrt. Als erstes mal der Fragenkatalog :slight_smile:

  • Bei welchen Anbieter? Was fĂŒr ein Server? V-Server bei Contabo
  • Nextcloud Version? 19.0.1
  • PHP Version? PHP 7.4.3
  • Welche Datenbank? MariaDB
  • nginx version: nginx/1.19.1
  • Wurden vor kurzen Server Updates gemacht? Nein, NC lĂ€uft auf dem stable, so dass keine Updates liefen.
  • Habt ihr die Logs angesehen von Nextcloud und von System?

Letzen AuszĂŒge aus der nextcloud.log:

{"reqId":"vAuzMFUZ3WSpiiJVdOQE","level":3,"time":"2020-07-03T12:34:05+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"--","app":"PHP","method":"POST","url":"/index.php","message":"session_st>
{"reqId":"vAuzMFUZ3WSpiiJVdOQE","level":2,"time":"2020-07-03T12:34:05+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"--","app":"no app in context","method":"POST","url":"/index.php","messag>
{"reqId":"vAuzMFUZ3WSpiiJVdOQE","level":2,"time":"2020-07-03T12:34:05+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"--","app":"no app in context","method":"POST","url":"/index.php","messag>
{"reqId":"p9IntZm9w9NdEf35ln9k","level":3,"time":"2020-08-19T02:55:02+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","message":{"Exception":"Exception","Message":"N>
{"reqId":"DBnT5VKAAHYjOr6CmadI","level":3,"time":"2020-08-19T02:55:20+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"--","app":"PHP","method":"PROPFIND","url":"/index.php","message":"sessio>
{"reqId":"DBnT5VKAAHYjOr6CmadI","level":2,"time":"2020-08-19T02:55:21+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"--","app":"no app in context","method":"PROPFIND","url":"/index.php","me>
{"reqId":"DBnT5VKAAHYjOr6CmadI","level":2,"time":"2020-08-19T02:55:21+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"--","app":"no app in context","method":"PROPFIND","url":"/index.php","me>
{"reqId":"b6YNaHN1bpxIIREg5x0T","level":3,"time":"2020-08-19T02:55:42+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"--","app":"PHP","method":"GET","url":"/index.php/204","message":"session>
{"reqId":"b6YNaHN1bpxIIREg5x0T","level":2,"time":"2020-08-19T02:55:42+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"--","app":"no app in context","method":"GET","url":"/index.php/204","mes>
{"reqId":"b6YNaHN1bpxIIREg5x0T","level":2,"time":"2020-08-19T02:55:42+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"--","app":"no app in context","method":"GET","url":"/index.php/204","mes>
{"reqId":"LNoBlRzxkbwXyGK4O0N9","level":3,"time":"2020-08-19T02:55:50+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"--","app":"PHP","method":"PROPFIND","url":"/index.php","message":"sessio>
{"reqId":"LNoBlRzxkbwXyGK4O0N9","level":2,"time":"2020-08-19T02:55:50+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"--","app":"no app in context","method":"PROPFIND","url":"/index.php","me>
{"reqId":"LNoBlRzxkbwXyGK4O0N9","level":2,"time":"2020-08-19T02:55:50+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"--","app":"no app in context","method":"PROPFIND","url":"/index.php","me>
{"reqId":"WWeddmHDf3jdzfZ9FEn3","level":3,"time":"2020-08-19T02:56:22+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"--","app":"PHP","method":"PROPFIND","url":"/index.php","message":"sessio>
{"reqId":"WWeddmHDf3jdzfZ9FEn3","level":2,"time":"2020-08-19T02:56:22+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"--","app":"no app in context","method":"PROPFIND","url":"/index.php","me>
{"reqId":"WWeddmHDf3jdzfZ9FEn3","level":2,"time":"2020-08-19T02:56:22+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"--","app":"no app in context","method":"PROPFIND","url":"/index.php","me>
{"reqId":"zBOuxXPaIPQZX2wtKHzW","level":3,"time":"2020-08-19T02:56:54+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"--","app":"PHP","method":"PROPFIND","url":"/index.php","message":"sessio>
{"reqId":"zBOuxXPaIPQZX2wtKHzW","level":2,"time":"2020-08-19T02:56:54+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"--","app":"no app in context","method":"PROPFIND","url":"/index.php","me>
{"reqId":"zBOuxXPaIPQZX2wtKHzW","level":2,"time":"2020-08-19T02:56:54+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"--","app":"no app in context","method":"PROPFIND","url":"/index.php","me>
{"reqId":"oU0KmFpq8TKG94ad6FMn","level":3,"time":"2020-08-19T02:57:18+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"--","app":"PHP","method":"GET","url":"/index.php/204","message":"session>
{"reqId":"oU0KmFpq8TKG94ad6FMn","level":2,"time":"2020-08-19T02:57:18+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"--","app":"no app in context","method":"GET","url":"/index.php/204","mes>
{"reqId":"oU0KmFpq8TKG94ad6FMn","level":2,"time":"2020-08-19T02:57:18+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"--","app":"no app in context","method":"GET","url":"/index.php/204","mes>
{"reqId":"pV2LUK1zjYextTEEc6dp","level":3,"time":"2020-08-19T02:57:26+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"--","app":"PHP","method":"PROPFIND","url":"/index.php","message":"sessio>
{"reqId":"pV2LUK1zjYextTEEc6dp","level":2,"time":"2020-08-19T02:57:26+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"--","app":"no app in context","method":"PROPFIND","url":"/index.php","me>
{"reqId":"pV2LUK1zjYextTEEc6dp","level":2,"time":"2020-08-19T02:57:26+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"--","app":"no app in context","method":"PROPFIND","url":"/index.php","me>
{"reqId":"PP08tzvS8iU9gKRONkZP","level":3,"time":"2020-08-19T03:00:01+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","message":{"Exception":"Exception","Message":"N>
{"reqId":"ludvwO9IiWoXJUa3JxFV","level":3,"time":"2020-08-19T03:05:01+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","message":{"Exception":"Exception","Message":"N>
{"reqId":"IVNJYTsK8lX4vO12Ty07","level":3,"time":"2020-08-19T03:10:01+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","message":{"Exception":"Exception","Message":"N>
{"reqId":"Tda3FaxnzNzQsy9Z6nUk","level":3,"time":"2020-08-19T03:10:42+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"--","app":"PHP","method":"GET","url":"/index.php/204","message":"session>
{"reqId":"Tda3FaxnzNzQsy9Z6nUk","level":2,"time":"2020-08-19T03:10:42+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"--","app":"no app in context","method":"GET","url":"/index.php/204","mes>
{"reqId":"Tda3FaxnzNzQsy9Z6nUk","level":2,"time":"2020-08-19T03:10:42+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"--","app":"no app in context","method":"GET","url":"/index.php/204","mes>
{"reqId":"3r72pIwOVdIptKkEIydJ","level":3,"time":"2020-08-19T03:13:16+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"--","app":"PHP","method":"GET","url":"/index.php/204","message":"session>
{"reqId":"3r72pIwOVdIptKkEIydJ","level":2,"time":"2020-08-19T03:13:16+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"--","app":"no app in context","method":"GET","url":"/index.php/204","mes>
{"reqId":"3r72pIwOVdIptKkEIydJ","level":2,"time":"2020-08-19T03:13:16+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"--","app":"no app in context","method":"GET","url":"/index.php/204","mes>
{"reqId":"GMwt527wDebBlyxjeKL0","level":3,"time":"2020-08-19T03:15:02+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","message":{"Exception":"Exception","Message":"N>
{"reqId":"VjRhQGFIhAFN9nyebiQL","level":3,"time":"2020-08-19T03:20:01+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","message":{"Exception":"Exception","Message":"N>
{"reqId":"vWBVixTz0EYDKZ793ZAw","level":3,"time":"2020-08-19T03:25:01+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","message":{"Exception":"Exception","Message":"N>
{"reqId":"0vHni4KYobOTOZEK4iOq","level":3,"time":"2020-08-19T03:25:07+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"--","app":"PHP","method":"PROPFIND","url":"/index.php","message":"sessio>
{"reqId":"0vHni4KYobOTOZEK4iOq","level":2,"time":"2020-08-19T03:25:07+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"--","app":"no app in context","method":"PROPFIND","url":"/index.php","me>
{"reqId":"0vHni4KYobOTOZEK4iOq","level":2,"time":"2020-08-19T03:25:07+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"--","app":"no app in context","method":"PROPFIND","url":"/index.php","me>
{"reqId":"nYmhP3x0cIum4rYXRIeb","level":3,"time":"2020-08-19T03:25:08+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"--","app":"PHP","method":"PROPFIND","url":"/index.php","message":"sessio>
{"reqId":"nYmhP3x0cIum4rYXRIeb","level":2,"time":"2020-08-19T03:25:08+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"--","app":"no app in context","method":"PROPFIND","url":"/index.php","me>

error.log (nginx):

2020/08/19 09:20:35 [error] 568431#568431: ocsp.int-x3.letsencrypt.org could not be resolved (2: Server failure) while requesting certificate status, responder: ocsp.int-x3.letsencrypt.org>
2020/08/19 09:31:41 [error] 568431#568431: ocsp.int-x3.letsencrypt.org could not be resolved (2: Server failure) while requesting certificate status, responder: ocsp.int-x3.letsencrypt.org>
2020/08/19 09:40:46 [error] 568431#568431: ocsp.int-x3.letsencrypt.org could not be resolved (2: Server failure) while requesting certificate status, responder: ocsp.int-x3.letsencrypt.org>
2020/08/19 20:32:42 [error] 568431#568431: ocsp.int-x3.letsencrypt.org could not be resolved (2: Server failure) while requesting certificate status, responder: ocsp.int-x3.letsencrypt.org>
2020/08/19 20:32:42 [error] 568431#568431: unexpected response for ocsp.int-x3.letsencrypt.org
2020/08/19 20:32:42 [error] 568431#568431: unexpected response for ocsp.int-x3.letsencrypt.org
2020/08/19 20:41:05 [error] 568431#568431: unexpected response for ocsp.int-x3.letsencrypt.org
2020/08/19 20:41:05 [error] 568431#568431: ocsp.int-x3.letsencrypt.org could not be resolved (2: Server failure) while requesting certificate status, responder: ocsp.int-x3.letsencrypt.org>
2020/08/19 20:41:05 [error] 568431#568431: unexpected response for ocsp.int-x3.letsencrypt.org

-> DNS Resolver in meiner ssl.conf ist 46.182.19.48;

Ping lÀuft durch:

PING 46.182.19.48 (46.182.19.48) 56(84) bytes of data.
64 bytes from 46.182.19.48: icmp_seq=1 ttl=56 time=26.6 ms
64 bytes from 46.182.19.48: icmp_seq=2 ttl=56 time=26.4 ms
64 bytes from 46.182.19.48: icmp_seq=3 ttl=56 time=26.9 ms
64 bytes from 46.182.19.48: icmp_seq=4 ttl=56 time=26.6 ms
64 bytes from 46.182.19.48: icmp_seq=5 ttl=56 time=26.6 ms

Der Versuch ĂŒber sudo -u www-data php occ maintenance:mode --on ein Backup einzuspielen, scheitert leider auch:

Nextcloud is not installed - only a limited number of commands are available
Command “maintenance:mode” is not defined.
Do you want to run “maintenance:install” instead? (yes/no) [no]:

WĂŒrde mich freuen, wenn mir jemand weiterhelfen könnte. Vielen Dank!
sphyle

Keiner eine Idee? Werden weitere Infos benötigt um das ganze beurteilen zu können? WĂŒrde mich wirklich freuen :wink: Vielen Dank!

In meinem Backuplog habe ich folgenden Fehler gefunden:

Backup Nextcloud database (MySQL/MariaDB)... mysqldump: Couldn't execute 'show fields from `oc_accounts`': Disk full ( */tmp/* #sql_25a_0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device") (1021)

Daraufhin habe ich die vorgehaltenen Backups erstmal reduziert und ein paar Dateien gelöscht. Leider lÀuft die NC trotz Serverneustart immer noch nicht :frowning:

Wenn ich nun den Server neustarte bekomme ich folgenden Fehler angezeigt:

sysctl -p
kernel.panic = 10
net.ipv6.conf.all.disable_ipv6 = 1

Ich habe das GefĂŒhl mich von Fehler zu Fehler zu hangeln, aber aktuell keine Idee, wo das eigentliche Problem herkommt. WĂŒrde mich wirklich freuen, wenn ein geschulter Blick mir weiterhelfen könnte :slight_smile:

Hi,
bei mir war so eine Fehlermeldung einmal, als ich die config.php Datei versehentlich gelöscht hatte und NC diese Datei neu angelegt hatte.
Die Datei findest Du im Verzeichnis NC/config/config.php
Ansonsten kenne ich mich nicht wirklich aus und versuche immer nur trail and error.

Viel Erfolg!

Hi OSt,

erstmal vielen Dank fĂŒr deine RĂŒckmeldung.

Ich konnte den Fehler zumindest nachstellen. Und zwar hatte ich zu viele Backups angelegt, welche die SpeicherkapazitĂ€t meines Servers ĂŒberschritten haben. Nachdem ich Ă€ltere Backups gelöscht und das aktuellste neu eingespielt hatte, lief alles wieder.

Mich wundert, dass der Fehler die NC so zerschießen kann. Aus dem Bauch heraus hĂ€tte ich gesagt, dass einfach die Backuptdatei nicht erstellt werden dĂŒrfte, wenn der Speicherplatz nicht ausreichend ist.

Das Backup- und Restorescript habe ich von hier und an meine BedĂŒrfnisse angepasst:

Ich habe als max-Backups “5” eingestellt, trotzdem werden Ă€ltere Backups nicht gelöscht. Jemand ne Idee, woran dies liegen könnte? Am Script selber habe ich nichts verĂ€ndert, lediglich an den vorgesehenen Stellen meine Daten eingegeben.

Sowas wird meistens gar nicht abgefangen. Wenn die Platte volllĂ€uft kann das zu ziemlich komischen Seiteneffekten fĂŒhren. Ist nicht wirklich ĂŒberraschend. Da habe ich schon ganz andere Dinge erlebt.