Steps to Reproduce: 1. install nextcloud 2. goto Settings - Overview (like https://www.example.com/nextcloud/index.php/settings/admin/overview) 3. get errors Actual results: 1. nextcloud complains with: "The PHP memory limit is below the recommended value of 512MB" Expected results: 1. no error Fix: Add `php_value[memory_limit] = 512M` to /etc/php-fpm.d/nextcloud.conf or nextcloud-php-fpm.conf in the src repo: php_value[session.save_handler] = files php_value[session.save_path] = /var/lib/php/session php_value[soap.wsdl_cache_dir] = /var/lib/php/wsdlcache +php_value[memory_limit] = 512M php_value[upload_max_filesize] = 10G php_value[post_max_size] = 10G env[HOSTNAME] = $HOSTNAME
FEDORA-2021-afa7968aeb has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-afa7968aeb
FEDORA-MODULAR-2021-e727d9327a has been submitted as an update to Fedora 33 Modular. https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2021-e727d9327a
FEDORA-MODULAR-2021-8478b0e630 has been submitted as an update to Fedora 34 Modular. https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2021-8478b0e630
FEDORA-EPEL-MODULAR-2021-67b2caafec has been submitted as an update to Fedora Epel 8 Modular. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-MODULAR-2021-67b2caafec
FEDORA-MODULAR-2021-7ec13e1ed3 has been submitted as an update to Fedora 34 Modular. https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2021-7ec13e1ed3
FEDORA-MODULAR-2021-872921fbec has been submitted as an update to Fedora 33 Modular. https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2021-872921fbec
FEDORA-2021-eac0e52f88 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-eac0e52f88
FEDORA-MODULAR-2021-c8ef31abe2 has been submitted as an update to Fedora 34 Modular. https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2021-c8ef31abe2
FEDORA-2021-afa7968aeb has been pushed to the Fedora 33 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-afa7968aeb` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-afa7968aeb See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-eac0e52f88 has been pushed to the Fedora 34 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-eac0e52f88` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-eac0e52f88 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-MODULAR-2021-e727d9327a has been pushed to the Fedora 33 Modular testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2021-e727d9327a See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-MODULAR-2021-872921fbec has been pushed to the Fedora 33 Modular testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2021-872921fbec See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-MODULAR-2021-ce1106e638 has been pushed to the Fedora 33 Modular testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2021-ce1106e638 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-MODULAR-2021-8478b0e630 has been pushed to the Fedora 34 Modular testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2021-8478b0e630 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-MODULAR-2021-7ec13e1ed3 has been pushed to the Fedora 34 Modular testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2021-7ec13e1ed3 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-MODULAR-2021-c8ef31abe2 has been pushed to the Fedora 34 Modular testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2021-c8ef31abe2 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-MODULAR-2021-67b2caafec has been pushed to the Fedora Epel 8 Modular testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-MODULAR-2021-67b2caafec See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-MODULAR-2021-336bd8af0e has been pushed to the Fedora Epel 8 Modular testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-MODULAR-2021-336bd8af0e See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-afa7968aeb has been pushed to the Fedora 33 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-MODULAR-2021-e727d9327a has been pushed to the Fedora 33 Modular stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-MODULAR-2021-872921fbec has been pushed to the Fedora 33 Modular stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-MODULAR-2021-ce1106e638 has been pushed to the Fedora 33 Modular stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-MODULAR-2021-8478b0e630 has been pushed to the Fedora 34 Modular stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-MODULAR-2021-7ec13e1ed3 has been pushed to the Fedora 34 Modular stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-MODULAR-2021-c8ef31abe2 has been pushed to the Fedora 34 Modular stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2021-eac0e52f88 has been pushed to the Fedora 34 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-EPEL-MODULAR-2021-67b2caafec has been pushed to the Fedora Epel 8 Modular stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-EPEL-MODULAR-2021-336bd8af0e has been pushed to the Fedora Epel 8 Modular stable repository. If problem still persists, please make note of it in this bug report.
Current nextcloud package is 24.0.3. I can see that /etc/php-fpm.d/nextcloud.conf contains "php_value[memory_limit] = 512M". But makes no effect since nextcloud still complains PHP memory limit is below the recommended value of 512MB. A phpinfo() under same server says that only /etc/php.d is being scanned for additional .ini files. And it also shows 256MB for memory_limit. I have php-fpm enabled and running and I can see php-fpm processes in the system. Configurations put under /etc/php-fpm.d/ seems to make no effect. Or Apache is not routing requests to /nextcloud URI to the php-fpm system.
I also noticed that /etc/php-fpm.d/nextcloud.conf declares several log files and folders that php-fpm should use. But those are not being created or even used. A simple `ps faxu | gre php` displays nextcloud-related processes.
The shipped nextcloud HTTPD configuration is not using PHP-FPM's dedicated process installed by next cloud package. The config file /etc/httpd/conf.d/nextcloud-defaults.inc is lacking the <FilesMatch> directive as shown bellow: <IfModule mod_fcgid.c> <IfModule mod_setenvif.c> <IfModule mod_headers.c> SetEnvIfNoCase ^Authorization$ "(.+)" XAUTHORIZATION=$1 RequestHeader set XAuthorization %{XAUTHORIZATION}e env=XAUTHORIZATION </IfModule> </IfModule> <FilesMatch \.(php|phar)$> SetHandler "proxy:unix:/run/php-fpm/nextcloud.sock|fcgi://localhost" </FilesMatch> </IfModule> I'm already writing a patch to fix this and add other improvements and will commit it to https://src.fedoraproject.org/fork/aviram/rpms/nextcloud Thank you
I shipped a fix for this and other updates on this PR: https://src.fedoraproject.org/rpms/nextcloud/pull-request/7
PR merged and cherry picked to the proper branches
This change is part of the current builds: https://koji.fedoraproject.org/koji/packageinfo?packageID=23789
(In reply to Ivan Chavero from comment #34) > This change is part of the current builds: > https://koji.fedoraproject.org/koji/packageinfo?packageID=23789 Would you please be a bit more specific on what current build addressed this issue? I'm currently using nextcloud-24.0.5-1.fc36.noarch and nextcloud-httpd-24.0.5-1.fc36.noarch. And the settings located in /etc/php-fpm.d/nextcloud.conf still doesn't take effect. Thanks,
The issue persists on a fresh installed Fedora 37 with build: nextcloud-24.0.5-1.fc37.noarch