[Eisfair] php 8.1 und Nextcloud

Benjamin Heide benjamin.heide at freenet.de
Do Jun 15 18:20:53 CEST 2023


Hallo Jürgen,

ich glaube, dass ich mir mein Nextcloud grad gekillt habe.

nachdem ich das Update hab laufen lassen, war nextcloud offline.

ein Configneustart erbrachte seltsame Meldungen.

Enter your searchstring (ENTER=Return, 0=Exit)? next
Downloading required packages ...
=> [####################] nextcloud (1.16.2)... 
 
                                               [  OK  ]
Done!
Installation of: nextcloud (1.16.2) ...
nextcloud maintenance mode: enabled
deleting cron job ...
nextcloud maintenance mode: enabled
  * Stopping nextcloud.service ... 
 
                                                [  OK  ]
removing program files ...
   wait [ ... ]
loading previous configuration file ...
/usr/bin/in.grep: Warnung: überzähliges \ vor /
Dieses Konto ist momentan nicht verfügbar.
Dieses Konto ist momentan nicht verfügbar.
Dieses Konto ist momentan nicht verfügbar.
Dieses Konto ist momentan nicht verfügbar.
Dieses Konto ist momentan nicht verfügbar.
copying program files (/var/www/htdocs/nextcloud) ...
   wait [ .............. ]
setting access rights of '/var/www/htdocs/nextcloud' ...
   wait [ . ]
setting access rights of '/mnt/data/nextcloud' ...
   wait [ .......... ]
Dieses Konto ist momentan nicht verfügbar.
nextcloud maintenance mode: enabled -> disabled
Dieses Konto ist momentan nicht verfügbar.
Dieses Konto ist momentan nicht verfügbar.
Nextcloud maintenance mode: enabled
...
  * Stopping apache2.service ... 
 
                                                [  OK  ]
  * Starting apache2.service ... 
 
                                                [  OK  ]
  * Restarting nextcloud.service ... 
 
                                                [  OK  ]
Successfully installed: nextcloud (1.16.2)!

daraufhin habe ich nochmals alle php8 module reinstalliert.

"Dieses Konto ist momentan nicht verfügbar."

wird mir trotzdem immer noch angezeigt.

Daraufhin durchsuchte ich die Logfiles und enteckte diese Meldungen.

...
[Thu Jun 15 17:58:30.582866 2023] [php:error] [pid 14259] [client 
x.x.x.x:54089] script '/var/www/htdocs/nextcloud/remote.php' not found 
or unable to stat
[Thu Jun 15 17:58:40.062621 2023] [php:error] [pid 14175] [client 
y.y.y.y.162:41078] script '/var/www/htdocs/nextcloud/status.php' not 
found or unable to stat
[Thu Jun 15 17:58:41.013833 2023] [php:error] [pid 14259] [client 
x.x.x.x:54089] script '/var/www/htdocs/nextcloud/remote.php' not found 
or unable to stat
[Thu Jun 15 17:59:12.157790 2023] [core:crit] [pid 14178] (13)Permission 
denied: [client 81.200.199.162:29190] AH00529: 
/var/www/htdocs/nextcloud/.htaccess pcfg_openfile: unable to check 
htaccess file, ensure it is readable and that 
'/var/www/htdocs/nextcloud/' is executable
[Thu Jun 15 18:00:01.997353 2023] [ssl:warn] [pid 12166] AH01909: 
server.yyyyy.home:443:0 server certificate does NOT include an ID which 
matches the server name
[Thu Jun 15 18:00:07.638670 2023] [ssl:warn] [pid 12300] AH01909: 
server.yyyyy.home:443:0 server certificate does NOT include an ID which 
matches the server name
..

> 
> Zusammen mit Ulrich habe ich gestern seine apache2-, php8-fpm, php8-cli- 
> und nextcloud-Installation geprüft. Als finale Problemursache, die die
> PHP8-WEB-Modulprüfung im Nextcloud-Installationsskript scheitern ließ, 
> konnte letztendlich ein abgelaufenes Serverzertifikat identifiziert 
> werden. Der zur Prüfung verwendete wget-Befehl liefern in einem solchen 
> Fall kein Ergebnis zurück. Ich werde das Installationskript modifizieren 
> um einen solchen Fehler in Zukunft zu vermeiden.
> 
> Gruß Jürgen
> 

hast n Tip was ich machen muss ?

Mfg Benjamin



Mehr Informationen über die Mailingliste Eisfair