Nextcloud Server hat eine Verbindung verweigert.

ArrorRT

Lieutenant
Registriert
Jan. 2021
Beiträge
847
Hallo,

da bin ich wieder mit meiner Nextcloud, jaja sie lässt mich nicht in Frieden.
Nach der Neuinstallation heute hat alles super geklappt, jedoch nach einem Neustart kann ich weder über die Domain noch intern über die IP auf meine NC zugreifen (Screenshots im Anhang).

Apache Log
Code:
[Wed Sep 21 16:24:01.892320 2022] [mpm_event:notice] [pid 13423:tid 139746511509376] AH00489: Apache/2.4.52 (Ubuntu) configured -- resuming normal operations

[Wed Sep 21 16:24:01.892381 2022] [core:notice] [pid 13423:tid 139746511509376] AH00094: Command line: '/usr/sbin/apache2'

[Wed Sep 21 16:27:05.603134 2022] [mpm_event:notice] [pid 13423:tid 139746511509376] AH00492: caught SIGWINCH, shutting down gracefully

[Wed Sep 21 16:27:05.667182 2022] [mpm_prefork:notice] [pid 27660] AH00163: Apache/2.4.52 (Ubuntu) configured -- resuming normal operations

[Wed Sep 21 16:27:05.667255 2022] [core:notice] [pid 27660] AH00094: Command line: '/usr/sbin/apache2'

[Wed Sep 21 16:27:05.872637 2022] [mpm_prefork:notice] [pid 27660] AH00170: caught SIGWINCH, shutting down gracefully

[Wed Sep 21 16:27:06.109454 2022] [mpm_prefork:notice] [pid 27701] AH00163: Apache/2.4.52 (Ubuntu) configured -- resuming normal operations

[Wed Sep 21 16:27:06.109504 2022] [core:notice] [pid 27701] AH00094: Command line: '/usr/sbin/apache2'

[Wed Sep 21 16:39:54.386898 2022] [mpm_prefork:notice] [pid 27701] AH00170: caught SIGWINCH, shutting down gracefully

[Wed Sep 21 16:39:55.450037 2022] [mpm_prefork:notice] [pid 29751] AH00163: Apache/2.4.52 (Ubuntu) configured -- resuming normal operations

[Wed Sep 21 16:39:55.450073 2022] [core:notice] [pid 29751] AH00094: Command line: '/usr/sbin/apache2'

[Wed Sep 21 16:40:06.553556 2022] [mpm_prefork:notice] [pid 29751] AH00170: caught SIGWINCH, shutting down gracefully

[Wed Sep 21 16:40:06.661248 2022] [mpm_prefork:notice] [pid 29788] AH00163: Apache/2.4.52 (Ubuntu) configured -- resuming normal operations

[Wed Sep 21 16:40:06.661324 2022] [core:notice] [pid 29788] AH00094: Command line: '/usr/sbin/apache2'

[Wed Sep 21 16:46:56.092770 2022] [mpm_prefork:notice] [pid 29788] AH00169: caught SIGTERM, shutting down

[Wed Sep 21 17:12:28.326703 2022] [mpm_prefork:notice] [pid 30589] AH00163: Apache/2.4.52 (Ubuntu) configured -- resuming normal operations

[Wed Sep 21 17:12:28.326804 2022] [core:notice] [pid 30589] AH00094: Command line: '/usr/sbin/apache2'

[Wed Sep 21 17:12:32.614363 2022] [mpm_prefork:notice] [pid 30589] AH00170: caught SIGWINCH, shutting down gracefully

[Wed Sep 21 17:12:32.698955 2022] [mpm_prefork:notice] [pid 30608] AH00163: Apache/2.4.52 (Ubuntu) configured -- resuming normal operations

[Wed Sep 21 17:12:32.699161 2022] [core:notice] [pid 30608] AH00094: Command line: '/usr/sbin/apache2'

[Wed Sep 21 17:27:57.962741 2022] [mpm_prefork:notice] [pid 30608] AH00171: Graceful restart requested, doing restart

AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message

[Wed Sep 21 17:27:58.014785 2022] [mpm_prefork:notice] [pid 30608] AH00163: Apache/2.4.52 (Ubuntu) configured -- resuming normal operations

[Wed Sep 21 17:27:58.014798 2022] [core:notice] [pid 30608] AH00094: Command line: '/usr/sbin/apache2'

[Wed Sep 21 17:28:02.402027 2022] [mpm_prefork:notice] [pid 30608] AH00171: Graceful restart requested, doing restart

AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message

[Wed Sep 21 17:28:02.434964 2022] [mpm_prefork:notice] [pid 30608] AH00163: Apache/2.4.52 (Ubuntu) configured -- resuming normal operations

[Wed Sep 21 17:28:02.434974 2022] [core:notice] [pid 30608] AH00094: Command line: '/usr/sbin/apache2'

[Wed Sep 21 17:28:05.121444 2022] [mpm_prefork:notice] [pid 30608] AH00171: Graceful restart requested, doing restart

AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message

[Wed Sep 21 17:28:05.157123 2022] [mpm_prefork:notice] [pid 30608] AH00163: Apache/2.4.52 (Ubuntu) OpenSSL/3.0.2 configured -- resuming normal operations

[Wed Sep 21 17:28:05.157139 2022] [core:notice] [pid 30608] AH00094: Command line: '/usr/sbin/apache2'

[Wed Sep 21 17:28:05.237489 2022] [mpm_prefork:notice] [pid 30608] AH00171: Graceful restart requested, doing restart

AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message

[Wed Sep 21 17:28:05.262767 2022] [mpm_prefork:notice] [pid 30608] AH00163: Apache/2.4.52 (Ubuntu) OpenSSL/3.0.2 configured -- resuming normal operations

[Wed Sep 21 17:28:05.262780 2022] [core:notice] [pid 30608] AH00094: Command line: '/usr/sbin/apache2'

[Wed Sep 21 17:28:41.522034 2022] [authz_core:error] [pid 31341] [client 46.101.189.134:43126] AH01630: client denied by server configuration: /var/www/nextcloud/server-status

[Wed Sep 21 17:28:41.626871 2022] [php:error] [pid 31340] [client 46.101.189.134:43140] script '/var/www/nextcloud/info.php' not found or unable to stat

[Wed Sep 21 17:40:18.093577 2022] [mpm_prefork:notice] [pid 30608] AH00169: caught SIGTERM, shutting down

Wed Sep 21 18:22:13 2022 (904): Fatal Error Insufficient shared memory!

Wed Sep 21 19:54:44 2022 (952): Fatal Error Insufficient shared memory!

Wed Sep 21 20:00:58 2022 (3598): Fatal Error Insufficient shared memory!

Wed Sep 21 20:01:14 2022 (3611): Fatal Error Insufficient shared memory!

Wed Sep 21 20:01:15 2022 (3623): Fatal Error Insufficient shared memory!

Wed Sep 21 20:01:15 2022 (3634): Fatal Error Insufficient shared memory!

Wed Sep 21 20:01:16 2022 (3646): Fatal Error Insufficient shared memory!

Wed Sep 21 20:04:32 2022 (3667): Fatal Error Insufficient shared memory!

Wed Sep 21 20:09:12 2022 (3718): Fatal Error Insufficient shared memory!

Hier der Fehler im Terminal
1663784186547.png



Ich hoffe, das reicht, um den Fehler vllt zu finden, falls nicht, sagt mir bitte so penibel wie möglich was benötigt wird und wo es zu finden sein sollte.

Ich bin in Sachen Linux und Nextcloud kein Profi, eher im Gegenteil, daher bitte ich um Verständnis.
 
Nextcloud bockt ohne SSL Zertifikate, vielleicht hat es damit was zu tun.

Ich habs mittlerweile soweit, dass ich meine nur noch übers Internet erreichen kann.
(Über NGINX reverse Proxy, der Letsencrypt SSL Zertifakte zieht)

Was sagt denn der Browser?

EDIT.. sehe gerade dass der Webserver nicht läuft.
 
  • Gefällt mir
Reaktionen: ArrorRT
@IBISXI Ich habe heute ein Zertifikat erstellt und es hat auch kurz geklappt, wie kann das denn sein? 😥
 
@IBISXI aber nachdem ich den Apache neustarte sollte das doch eigentlich klappen, oder? Denn das habe ich schon mehrmals gemacht.

@redjack1000 ist ja ein anderes Thema, denn der Fehler ist immer noch nicht wieder aufgetreten und wenn doch, würde ich dort weitermachen.
 
IBISXI schrieb:
Nextcloud bockt ohne SSL Zertifikate, vielleicht hat es damit was zu tun.
Nö, geht auch ohne.

Ich habe auch die Konstellation mit nginx reverse Proxy der das Zertifikat macht und einen reinen http Nextcloud. Der Desktop greift direkt auf die Nextcloud zu und hat keine Probleme damit.



[Wed Sep 21 17:28:41.522034 2022] [authz_core:error] [pid 31341] [client 46.101.189.134:43126] AH01630: client denied by server configuration: /var/www/nextcloud/server-status

[Wed Sep 21 17:28:41.626871 2022] [php:error] [pid 31340] [client 46.101.189.134:43140] script '/var/www/nextcloud/info.php' not found or unable to stat
Ich habe bei mir mal gegen gecheckt und eine info.php gibt es nicht im nextcloud-Verzeichnis
 
  • Gefällt mir
Reaktionen: guzzisti und madmax2010
@Rickmer
okay also am Zertifikat liegt es nicht, wenn ich das richtig verstanden habe

Aber was ist der andere Fehler und wie ist er entstanden?
Ich habe leider nicht auf die Uhr geguckt als es noch funktioniert hat, daher kann ich nicht sagen, wann es nicht mehr ging.
Ergänzung ()

So sieht es übrigens im Browser aus:

Unbenannt 1.png
 
@0x8100 eig ging es mir darum, es so zu machen wie ich es aktuell habe xD.
Davon habe ich wenigstens ein bisschen Ahnung, in dieses Thema müsste ich mich von 0 reinarbeiten.
Ergänzung ()

@redjack1000 nein total frisch installiert also auch das Betriebssystem
 
Woher hast du denn die Webserver config?
In der Anleitung die ich dir mal gegeben habe, war es nginx.
Vermutlich muss noch was angepasst werden
 
@madmax2010
Ich habe eine Anleitung auf YT gefunden, in der nochmal alles erklärt wurde.

und ich habe Apache
 
@Rickmer, da hast du recht, aber das ist mir ehrlich gesagt egal. Denn ich möchte das es geht und die 13€ für das ''beste'' Abbo seien ihm gegönnt bzw. hab ich diese auch bezahlt für einige Hilfevideos.
 
(Auch wenn es dir nicht direkt hilft, sondern nur meine Erkenntnisse nach langjährigen Erfahrungen bei ähnlichen Nextcloud Problemen zeigt: Ich bin mittlerweile aufgrund eben solchen Problemen, welche oft auch erst nach Updates der Installation auftauchen auf eine Nextcloud Docker Installation umgestiegen. Das läuft nun schon mit mehreren Hauptversionsupdates sehr gut. Als Unterbau nehme ich unRAID, das ist aber sicherlich nicht Voraussetzung.)
 
@ika2k
Was müsste ich dafür machen?

Und Frage 2, ich habe viele Daten aus meiner alten NC auf eine HDD kopiert um sie später einzufügen, kann ich diese dann wieder einfügen?
 
@niteaholic auch darauf bezieht sich meine Frage Nr 2. Von oben, könntest du diese vllt beantworten?

Kann ich dann auch RAM etc erweitern, falls nötig?
 
In meinem verlinkten Beitrag sollte alles drin stehen was du zu wissen brauchst. Mein edit bezieht sich auf deine Frage ob die Daten migriert werden können. Ja, das können sie.
 

Ähnliche Themen

Zurück
Oben