You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2017/06/23 07:10:06 UTC

[Bug 61211] New: apache 2.4.26 broke fpm (because of ProxyFCGIBackendType?)

https://bz.apache.org/bugzilla/show_bug.cgi?id=61211

            Bug ID: 61211
           Summary: apache 2.4.26 broke fpm (because of
                    ProxyFCGIBackendType?)
           Product: Apache httpd-2
           Version: 2.4.26
          Hardware: PC
                OS: Mac OS X 10.1
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
          Assignee: bugs@httpd.apache.org
          Reporter: himbeere@meine-oma.de
  Target Milestone: ---

Hello Devs.

After upgrading to apache-2.4.26 my nextcloud installation was broken partly. I
could not click on the share button anymore. A quick search revealed there was
a change in the ProxyFCGIBackendType variable. It is now set to FPM? Changing
it back to GENERIC fixed my nextcloud installation. Here is the thread of the
person who found this issue. 

https://stackoverflow.com/questions/44657362/wrong-script-filename-in-apache-2-4-26/44714794#44714794

thanks and cheers

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 61211] apache 2.4.26 broke fpm (because of ProxyFCGIBackendType?)

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61211

--- Comment #3 from Jacob Champion <jc...@apache.org> ---
(In reply to Thomas Stein from comment #2)
> Hope that helps.

It does, thank you!

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 61211] apache 2.4.26 broke fpm (because of ProxyFCGIBackendType?)

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61211

--- Comment #2 from Thomas Stein <hi...@meine-oma.de> ---
Currently i'm using.

     ProxyFCGIBackendType GENERIC


    <FilesMatch \.php$>
       SetHandler "proxy:unix:/run/fpm.nextcloud.sock|fcgi://localhost"
    </FilesMatch>
    <IfModule dir_module>
       DirectoryIndex index.php index.html
    </IfModule>

Usually without the ProxyFCGIBackendType GENERIC.

Without that i get:

[Sat Jun 24 12:47:19.554176 2017] [proxy_fcgi:trace4] [pid 25463:tid
140322389583616] mod_proxy_fcgi.c(396): [client 92.195.83.223:55762]
fpm:virtual_script: Modified SCRIPT_NAME to: /v2.php
[Sat Jun 24 12:47:19.556158 2017] [proxy_fcgi:trace8] [pid 25463:tid
140322389583616] mod_proxy_fcgi.c(419): [client 92.195.83.223:55762] AH01062:
sending env var 'SCRIPT_NAME' value '/v2.php'

[Sat Jun 24 12:51:40.707406 2017] [proxy_fcgi:trace8] [pid 25943:tid
140604341266176] mod_proxy_fcgi.c(419): [client 92.195.83.223:55800] AH01062:
sending env var 'PATH_INFO' value '/apps/files_sharing/api/v1/shares'
[Sat Jun 24 12:51:56.222826 2017] [proxy_fcgi:trace8] [pid 25943:tid
140604341266176] mod_proxy_fcgi.c(419): [client 92.195.83.223:55800] AH01062:
sending env var 'PATH_INFO' value '/apps/notifications/api/v2/notifications'

[Sat Jun 24 12:52:26.317539 2017] [proxy_fcgi:trace8] [pid 25943:tid
140604341266176] mod_proxy_fcgi.c(419): [client 92.195.83.223:55806] AH01062:
sending env var 'QUERY_STRING' value ''
[Sat Jun 24 12:52:56.331814 2017] [proxy_fcgi:trace8] [pid 25943:tid
140604341266176] mod_proxy_fcgi.c(419): [client 92.195.83.223:55810] AH01062:
sending env var 'QUERY_STRING' value ''

[Sat Jun 24 12:52:56.331612 2017] [proxy_fcgi:trace8] [pid 25943:tid
140604341266176] mod_proxy_fcgi.c(419): [client 92.195.83.223:55810] AH01062:
sending env var 'SCRIPT_FILENAME' value
'proxy:fcgi://localhost/var/www/nextcloud.dev.lordcritical.de/htdocs/ocs/v2.php'
[Sat Jun 24 12:53:26.320188 2017] [proxy_fcgi:trace8] [pid 25942:tid
140604584654592] mod_proxy_fcgi.c(419): [client 92.195.83.223:55814] AH01062:
sending env var 'SCRIPT_FILENAME' value
'proxy:fcgi://localhost/var/www/nextcloud.dev.lordcritical.de/htdocs/ocs/v2.php'

[Sat Jun 24 12:53:26.320553 2017] [proxy_fcgi:trace8] [pid 25942:tid
140604584654592] mod_proxy_fcgi.c(419): [client 92.195.83.223:55814] AH01062:
sending env var 'PATH_TRANSLATED' value
'/var/www/nextcloud.dev.lordcritical.de/htdocs/apps/notifications/api/v2/notifications'
[Sat Jun 24 12:53:56.321178 2017] [proxy_fcgi:trace8] [pid 25942:tid
140604584654592] mod_proxy_fcgi.c(419): [client 92.195.83.223:55818] AH01062:
sending env var 'PATH_TRANSLATED' value
'/var/www/nextcloud.dev.lordcritical.de/htdocs/apps/notifications/api/v2/notifications'


With:

[Sat Jun 24 12:49:05.275502 2017] [proxy_fcgi:trace8] [pid 25715:tid
139686829803264] mod_proxy_fcgi.c(419): [client 92.195.83.223:55780] AH01062:
sending env var 'SCRIPT_NAME' value '/ocs/v2.php'
[Sat Jun 24 12:49:05.527225 2017] [proxy_fcgi:trace8] [pid 25715:tid
139686829803264] mod_proxy_fcgi.c(419): [client 92.195.83.223:55780] AH01062:
sending env var 'SCRIPT_NAME' value '/index.php'

[Sat Jun 24 12:55:33.970034 2017] [proxy_fcgi:trace8] [pid 26162:tid
139848234387200] mod_proxy_fcgi.c(419): [client 92.195.83.223:55830] AH01062:
sending env var 'PATH_INFO' value '/apps/files_sharing/api/v1/shares'
[Sat Jun 24 12:55:34.160694 2017] [proxy_fcgi:trace8] [pid 26162:tid
139848234387200] mod_proxy_fcgi.c(419): [client 92.195.83.223:55830] AH01062:
sending env var 'PATH_INFO' value '/apps/files_sharing/api/v1/shares'

[Sat Jun 24 12:55:58.672944 2017] [proxy_fcgi:trace8] [pid 26162:tid
139848234387200] mod_proxy_fcgi.c(419): [client 92.195.83.223:55834] AH01062:
sending env var 'QUERY_STRING' value ''
[Sat Jun 24 12:56:28.662622 2017] [proxy_fcgi:trace8] [pid 26162:tid
139848234387200] mod_proxy_fcgi.c(419): [client 92.195.83.223:55838] AH01062:
sending env var 'QUERY_STRING' value ''

[Sat Jun 24 12:56:58.670460 2017] [proxy_fcgi:trace8] [pid 26161:tid
139848511346432] mod_proxy_fcgi.c(419): [client 92.195.83.223:55842] AH01062:
sending env var 'SCRIPT_FILENAME' value
'/var/www/nextcloud.dev.lordcritical.de/htdocs/ocs/v2.php'
[Sat Jun 24 12:57:28.670697 2017] [proxy_fcgi:trace8] [pid 26162:tid
139848234387200] mod_proxy_fcgi.c(419): [client 92.195.83.223:55850] AH01062:
sending env var 'SCRIPT_FILENAME' value
'/var/www/nextcloud.dev.lordcritical.de/htdocs/ocs/v2.php'

[Sat Jun 24 12:57:28.671061 2017] [proxy_fcgi:trace8] [pid 26162:tid
139848234387200] mod_proxy_fcgi.c(419): [client 92.195.83.223:55850] AH01062:
sending env var 'PATH_TRANSLATED' value
'/var/www/nextcloud.dev.lordcritical.de/htdocs/apps/notifications/api/v2/notifications'
[Sat Jun 24 12:57:58.667021 2017] [proxy_fcgi:trace8] [pid 26161:tid
139848511346432] mod_proxy_fcgi.c(419): [client 92.195.83.223:55854] AH01062:
sending env var 'PATH_TRANSLATED' value
'/var/www/nextcloud.dev.lordcritical.de/htdocs/apps/notifications/api/v2/notifications'


Hope that helps.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 61211] apache 2.4.26 broke fpm (because of ProxyFCGIBackendType?)

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61211

Jacob Champion <jc...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|NEW                         |RESOLVED

--- Comment #1 from Jacob Champion <jc...@apache.org> ---
Thanks for the report; see bug 61202.

If you have the time, can you share a couple of things?

1) The part of your configuration that proxies PHP files to PHP-FPM
(SetHandler, ProxyPassMatch, or otherwise)
2) Add 'proxy_fcgi:trace8' to your LogLevel, and show the SCRIPT_NAME,
PATH_INFO, QUERY_STRING, SCRIPT_FILENAME, and PATH_TRANSLATED variables that
the log shows when you have the BackendType set to FPM. The entries should look
something like

mod_proxy_fcgi.c(417): [client 127.0.0.1:30000] AH01062: sending env var
'SCRIPT_NAME' value '/path'

3) Repeat step 2 with the BackendType set to GENERIC.

Thanks!

*** This bug has been marked as a duplicate of bug 61202 ***

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org