[Eisfair] nextcloud Fehlermeldung

Helmut Backhaus helmut.backhaus at gmx.de
Mo Apr 3 20:25:01 CEST 2023


Hallo Jürgen,

Am 02.04.23 um 16:04 schrieb Juergen Edner:
> Hallo Helmut,
> 
>> Bis hier hin konnte ich mir selbst helfen, oder habe ich es 
>> verschlimmbessert?
>>
>> Jetzt kommt folgendes:
>> ...
>> Apache2 SSL support: disabled, set parameter APACHE2_SSL='yes'!
> 
> ok, hier scheint der Parameter in der Apache2-Konfiguration nicht 
> gesetzt zu sein.
> 
> grep "^APACHE2_SSL=" /etc/config.d/apache2
> 

Richtig, aber absichtlich, weil ich eine "Nginx Proxy-Manager" davor habe.
Aber diese Meldung habe ich schon ewig, wenn ich das richtig sehe tut 
die weiter nichts, oder?.

>> PHP8-WEB memory limit: < 512M, check parameter PHP8_MEMORY_LIMIT!
> 
> grep "^PHP8_MEMORY_LIMIT=" /etc/config.d/apache2_php8
> 
>> PHP8-CLI memory limit: < 512M, check parameter PHP8CLI_MEMORY_LIMIT!
> 
> grep "^PHP8CLI_MEMORY_LIMIT=" /etc/config.d/php8-cli
>  > Je nachdem wie hoch die Memory-Werte gesetzt sind, kann es einen
> Überlauf bei der Werteprüfung in der Shell geben.
> 

Die beiden Werte habe ich echt lange gesucht, ... aber gefunden!
Die habe ich jetzt beide auf 512M gestellt.

>> An unhandled exception has been thrown:
>> OCP\HintException: [0]: Memcache OC\Memcache\APCu not available for 
>> local cache (Is the matching PHP module installed and enabled?)
> 
> Ich empfehle die Installation und Aktivierung des APCu und Redis-Moduls 
> bzw. Paketes.
> 
> PHP8_EXT_CACHE='apcu+redis'
> PHP8CLI_EXT_CACHE='apcu+redis'
> 

Ok, nach dem Hinweis von Rolf hatte ich diesen Wert ja bereits auf APCu 
gestellt und das hat dann ja auch zum Erfolg geführt. In soweit das das 
System dann wider lief!

>> checking 4-byte database settings ...
>> - default character set : utf8 (-> utf8mb4)
>> - default collation name: utf8_unicode_ci (-> utf8mb4_general_ci)
>> - InnoDB large prefix  :  (-> on)
>> - InnoDB file format   :  (-> barracuda)
>> - InnoDB file per table: on
> 
> Die angezeigten Werte wurden aus der Datenbank ausgelesen. Hier scheint 
> die 4-Byte-Unterstützung noch nicht korrekt konfiguriert zu sein (Diese 
> Prüfung wurde nicht erst mit diesem Paket eingeführt und existiert 
> gefühlt schon ewig,
> 

Da habe ich noch meine Schwierigkeiten, ich weiß nicht wo ich das 
anpassen muss?

Und ja, der Hinweis kommt schon länger. ;)

> # 
> https://docs.nextcloud.com/server/12/admin_manual/configuration_database/mysql_4byte_support.html
> 
>> Sorry, aber jetzt weiß ich nicht mehr weiter ...
>> Kann mir da bitte jemand weiter helfen?
> 
> Wichtig ist, die Punkte einer nach dem anderen abzuarbeiten, aber dies 
> sollten wir hinbekommen.
> 

So, den fehlenden Parameter (Redis) werde ich gleich noch setzen und 
dann noch mal einen configlauf von NC machen. Damit wir dann eine jetzt 
Stand haben über den wir dannsprechen (schreiben) können.

Ich hab's doch gleich gemacht. ;)
Und was passiert?
Redis support: not installed

Ok, man kann das PHP8-redis Modul installieren ohne das Redis auf dem 
System installiert ist.

Gehört das so?

Hier jetzt das versprochene log vom Hochlauf:
Activate configuration now (y/n) [yes]?
nextcloud version (eisfair-1): 1.16.0
Database type  : mysql (mariadb103)
Database server: localhost:3306
Trusted domain(s): e1nextcloud.home.lan 192.168.100.13 
nc.feuerteufel.dyn-ip24.de 192.168.100.25 alpine-cel01.home.lan
Apache2 SSL support: disabled, set parameter APACHE2_SSL='yes'!
MySQL PHP8-WEB support: enabled
MySQL PHP8-CLI support: enabled
MySQL support: enabled
MySQL binary logging: disabled
Msmtp support: enabled
PHP8-WEB APC cache: enabled
PHP8-WEB Redis cache: enabled
PHP8-CLI APC cache: enabled
PHP8-CLI Redis cache: enabled
Redis support: enabled
PHP8-WEB memory limit: >= 512M
PHP8-CLI memory limit: >= 512M
PHP8-CLI configuration access: possible
creating logrotate configuration ...
creating cron script ...
setting access rights of '/var/www/htdocs/nextcloud' ...
   wait [ . ]
setting access rights of '/data/nextcloud' ...
   wait [ . ]
checking nextcloud install/upgrade requirements ...
- running upgrade routine ...
Nextcloud is already latest version
Check indices of the share table.
Check indices of the filecache table.
Check indices of the twofactor_providers table.
Check indices of the login_flow_v2 table.
Check indices of the whats_new table.
Check indices of the cards table.
Check indices of the cards_properties table.
Check indices of the calendarobjects_props table.
Check indices of the schedulingobjects table.
Check indices of the oc_properties table.
Check indices of the oc_jobs table.
Check indices of the oc_direct_edit table.
Check indices of the oc_preferences table.
Check indices of the oc_mounts table.
Done.
All tables already up to date!
checking 4-byte database settings ...
- default character set : utf8 (-> utf8mb4)
- default collation name: utf8_unicode_ci (-> utf8mb4_general_ci)
- InnoDB large prefix  :  (-> on)
- InnoDB file format   :  (-> barracuda)
- InnoDB file per table: on
creating nextcloud configuration ...
creating cron job ...
nextcloud maintenance mode: disabled
checking nextcloud install/upgrade requirements ...
- running upgrade routine ...
Nextcloud is already latest version
Check indices of the share table.
Check indices of the filecache table.
Check indices of the twofactor_providers table.
Check indices of the login_flow_v2 table.
Check indices of the whats_new table.
Check indices of the cards table.
Check indices of the cards_properties table.
Check indices of the calendarobjects_props table.
Check indices of the schedulingobjects table.
Check indices of the oc_properties table.
Check indices of the oc_jobs table.
Check indices of the oc_direct_edit table.
Check indices of the oc_preferences table.
Check indices of the oc_mounts table.
Done.
All tables already up to date!
finished.
Do you want to restart the webserver now (recommended) (y/n) [yes]?
  * Stopping apache2.service ... 
                    [  OK  ]
  * Starting apache2.service ... 
                    [  OK  ]
  * Restarting nextcloud.service ... 
                    [  OK  ]
Press ENTER to continue


Ich glaube, dass sieht jetzt doch schon erheblich besser aus, oder?


Danke für Deine Unterstützung!

Gruß,
Helmut




Mehr Informationen über die Mailingliste Eisfair