Bug 1933529
Summary: | The PHP memory limit is below the recommended value of 512MB | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | mwp.junk |
Component: | nextcloud | Assignee: | Christopher Engelhard <ce> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 37 | CC: | avibrazil, ce, ichavero, james.hogarth, lovenemesis |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | nextcloud-19.0.12-1.fc33 nextcloud-nextcloud_19-3320210630133545.601d93de nextcloud-nextcloud_20-3320210630133442.601d93de nextcloud-nextcloud_stable-3320210630133028.601d93de nextcloud-nextcloud_19-3420210630133545.058368ca nextcloud-20.0.10-1.fc34 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2023-10-12 01:44:57 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
mwp.junk
2021-03-01 00:32:08 UTC
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 FEDORA-2023-ed33f2d60a has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-ed33f2d60a FEDORA-2023-815a43e875 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-815a43e875 FEDORA-2023-ed33f2d60a has been pushed to the Fedora 39 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-ed33f2d60a` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-ed33f2d60a See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2023-815a43e875 has been pushed to the Fedora 38 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-815a43e875` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-815a43e875 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2023-815a43e875 has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2023-ed33f2d60a has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report. |