'GERMAN VERSION (english below)'
System configuration notes:
Nextcloud version (eg, 12.0.2): 16.0.3
Operating system and version (eg, Ubuntu 17.04): Raspbian GNU/Linux 10 (buster)
Apache or nginx version (eg, Apache 2.4.25): nginx/1.14.2
PHP version (eg, 7.1): 7.3
The issue you are facing:
Unter /settings/admin/overview#version wird folgende Fehlermeldung angezeigt:
'Die PHP-Speichergrenze liegt unterhalb des empfohlenen Wertes von 512MB.'
Is this the first time you’ve seen this error? (Y/N): Y
Hintergrund
Ich habe sowohl php7.3-fpm wie auch php7.3-cli installiert, in beiden zum Paket gehördenden Ordnern habe ich eine php.ini. Mir war aufgefallen, dass in der php.ini im Ordner /etc/php/7.3/cli bei memory_limit der Wert ‚-1‘ eingetragen war. Soweit ich weiß, beudetet das unbegrenzt, also insbesondere nicht < 512MB. Habe dann trotzdem folgendes gemacht:
Folgende Schritte habe ich unternommen, um das Problem zu lösen:
1.) In der Datei /etc/php/7.3/fpm/php.ini setze memory_limit = 512M
2.) In der Datei /etc/php/7.3/cli/php.ini setze memory_limit = 512M (war vorher auf 128M)
3.) sudo systemctl restart php7.3-fpm.service
4.) sudo service nginx restart
5.) sudo service nginx reload (äquivalent zu 4.)?)
Wenn ich aber über den Browser nach den Warnmeldungen für ein Update von Nextcloud 16.0.3 auf 16.0.4 schaue, dann ist die Warnung für die PHP-Speichergrenze immer noch nicht verschwunden! Hat jemand eine Ahnung was ich in diesem Fall tun kann?
Den Thread PHP-Speicherproblem habe ich gelesen, da ich aber keine GUI oder ähnliches in meinem Raspberry verwende, bringt mir dieser Lösungsvorschlag herzlich wenig. Ich wüsste nicht einmal wie ich zu diesem Fenster komme!
Vielen Dank schon mal für eure Hilfe!
Viele Grüße,
fly
'ENGLISH VERSION (german above)'
System configuration notes:
Nextcloud version (eg, 12.0.2): 16.0.3
Operating system and version (eg, Ubuntu 17.04): Raspbian GNU/Linux 10 (buster)
Apache or nginx version (eg, Apache 2.4.25): nginx/1.14.2
PHP version (eg, 7.1): 7.3
The issue you are facing:
The following error message is displayed under /settings/admin/overview#version:
'The PHP memory limit is below the recommended value of 512MB'.
Is this the first time you’ve seen this error? (Y/N): Y
**Background
I have installed both php7.3-fpm and php7.3-cli, in both folders belonging to the package I have a php.ini. I noticed that in the php.ini folder /etc/php/7.3/cli the value ‘-1’ was entered in memory_limit. As far as I know, this means unlimited, especially not < 512MB. I did the following anyway:
I have taken the following steps to solve the problem:
1.) /etc/php/7.3/fpm/php.ini -> memory_limit = 512M
2.) /etc/php/7.3/cli/php.ini -> memory_limit = 512M (was previously 128M)
3.) sudo systemctl restart php7.3-fpm.service
4.) sudo service nginx restart
5.) sudo service nginx reload (equivalent to 4.)?)
But when I look through the browser for the warning messages for an update from Nextcloud 16.0.3 to 16.0.4, the warning for the PHP memory limit has still not disappeared! Does anyone have any idea what I can do in this case?
I’ve read the thread PHP memory problem, but since I don’t use a GUI or similar in my Raspberry, this solution doesn’t help me much. I don’t even know how to get to this window!
Thank you very much for your help!
Many greetings,
fly