Update from 3.2.2 to 3.2.3 not working

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
Banisher
Registered User
Posts: 18
Joined: Fri Aug 01, 2008 3:23 pm

Update from 3.2.2 to 3.2.3 not working

Post by Banisher » Thu Sep 13, 2018 4:13 pm

I uploaded the automatic upgrade package and went to /install/app.php, when I then click on the "update" tab, I get redirected to /install/app.php/update which is my forum root that says "Please delete, move or rename the install directory before you use your board. If this directory is still present, only the Administration Control Panel (ACP) will be accessible."

User avatar
Marc
Development Team Leader
Development Team Leader
Posts: 5312
Joined: Tue Oct 30, 2007 10:57 pm
Location: Munich, Germany
Name: Marc
Contact:

Re: Update from 3.2.2 to 3.2.3 not working

Post by Marc » Thu Sep 13, 2018 4:26 pm

Sounds like there is an issue with your webserver setup. What type of webserver and what version of it are you using?

Banisher
Registered User
Posts: 18
Joined: Fri Aug 01, 2008 3:23 pm

Re: Update from 3.2.2 to 3.2.3 not working

Post by Banisher » Thu Sep 13, 2018 4:43 pm

nginx/1.14.0

User avatar
</Solidjeuh>
Registered User
Posts: 966
Joined: Tue Mar 29, 2016 3:45 am
Location: Aalst (Belgium)
Name: Andy Dm
Contact:

Re: Update from 3.2.2 to 3.2.3 not working

Post by </Solidjeuh> » Thu Sep 13, 2018 4:43 pm

Do u have a rederict in .htaccess for portal?
Remove that line then, add it back after the update.
I had the same issue.
Wij promoten UW muziek in ons forum & delen alles via Sociale media!
Muziek wordt ook toegevoegd in de playlist van
textradio.be!
Mail uw single + hoesje + info naar: info@muziekpromo.net of Solidjeuh@textradio.be
===============
Onze Website: https://www.muziekpromo.net

Banisher
Registered User
Posts: 18
Joined: Fri Aug 01, 2008 3:23 pm

Re: Update from 3.2.2 to 3.2.3 not working

Post by Banisher » Thu Sep 13, 2018 4:57 pm

</Solidjeuh> wrote:
Thu Sep 13, 2018 4:43 pm
Do u have a rederict in .htaccess for portal?
Remove that line then, add it back after the update.
I had the same issue.
Nope, no .htaccess here, that's for apache anyway.

User avatar
Marc
Development Team Leader
Development Team Leader
Posts: 5312
Joined: Tue Oct 30, 2007 10:57 pm
Location: Munich, Germany
Name: Marc
Contact:

Re: Update from 3.2.2 to 3.2.3 not working

Post by Marc » Thu Sep 13, 2018 5:05 pm

Have you checked your nginx config against our sample configuration?
https://github.com/phpbb/phpbb/blob/3.2 ... ample.conf

Banisher
Registered User
Posts: 18
Joined: Fri Aug 01, 2008 3:23 pm

Re: Update from 3.2.2 to 3.2.3 not working

Post by Banisher » Thu Sep 13, 2018 5:12 pm

Marc wrote:
Thu Sep 13, 2018 5:05 pm
Have you checked your nginx config against our sample configuration?
https://github.com/phpbb/phpbb/blob/3.2 ... ample.conf
Yeah that is super outdated and does not really work anymore. Can't have http directives in per-site config files.

My config looks like this now:

Code: Select all

server { 
    location ~ \.php(/|$) {
        # Unmodified fastcgi_params from nginx distribution.
        include fastcgi_params;
        # Necessary for php.
        fastcgi_split_path_info ^(.+\.php)(/.*)$;
        fastcgi_param PATH_INFO $fastcgi_path_info;
        fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
        fastcgi_param DOCUMENT_ROOT $realpath_root;
        try_files $uri $uri/ /app.php$is_args$args;
        fastcgi_pass unix:/run/php/php7.2-fpm.sock;
    }

    # Correctly pass scripts for installer
    location /install/ {
        # phpBB uses index.htm
        try_files $uri $uri/ @rewrite_installapp;

        # Pass the php scripts to fastcgi server specified in upstream declaration.
        location ~ \.php(/|$) {
            # Unmodified fastcgi_params from nginx distribution.
            include fastcgi_params;
            # Necessary for php.
            fastcgi_split_path_info ^(.+\.php)(/.*)$;
            fastcgi_param PATH_INFO $fastcgi_path_info;
            fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
            fastcgi_param DOCUMENT_ROOT $realpath_root;
            try_files $uri $uri/ /install/app.php$is_args$args;
            fastcgi_pass unix:/run/php/php7.2-fpm.sock;
        }
    }

    location @rewrite_installapp {
        rewrite ^(.*)$ /install/app.php/$1 last;
    }

    # Deny access to version control system directories.
    location ~ /\.svn|/\.git {
        deny all;
        internal;
    }
}

Heo32
Registered User
Posts: 85
Joined: Sat Jan 07, 2017 10:08 pm

Re: Update from 3.2.2 to 3.2.3 not working

Post by Heo32 » Fri Sep 14, 2018 4:37 am

My setup is Windows 10, Nginx, PHP, phpMyAdmin, MySQL, WordPress, along with CloudFlare and TLS.

This works for me. Give it a try:

viewtopic.php?f=556&t=2399956&p=14612651#p14612651
Is this for you? :arrow: Windows + Nginx + PHP + MySQL + phpBB + WordPress

Allow using Content-Security-Policy without unsafe-inline
stevemaury wrote:
Sun May 20, 2018 8:16 pm
I went to your board and looked for an hour or so, but did not see the women without underwear.

User avatar
Maxoom
Registered User
Posts: 32
Joined: Tue Jun 02, 2009 1:07 am

Re: Update from 3.2.2 to 3.2.3 not working

Post by Maxoom » Fri Sep 14, 2018 6:04 pm

Just go to /install and NOT /install.php

I made the same mistake.

Banisher
Registered User
Posts: 18
Joined: Fri Aug 01, 2008 3:23 pm

Re: Update from 3.2.2 to 3.2.3 not working

Post by Banisher » Fri Sep 14, 2018 9:53 pm

Maxoom wrote:
Fri Sep 14, 2018 6:04 pm
Just go to /install and NOT /install.php

I made the same mistake.
I did that actually

User avatar
dio33
Registered User
Posts: 56
Joined: Tue Jan 04, 2011 9:02 pm
Contact:

Re: Update from 3.2.2 to 3.2.3 not working

Post by dio33 » Sat Sep 15, 2018 9:17 am

</Solidjeuh> wrote:
Thu Sep 13, 2018 4:43 pm
Do u have a rederict in .htaccess for portal?
Remove that line then, add it back after the update.
I had the same issue.
I've got the Portal and that happen to me too.

Thanks. ;)

User avatar
Marc
Development Team Leader
Development Team Leader
Posts: 5312
Joined: Tue Oct 30, 2007 10:57 pm
Location: Munich, Germany
Name: Marc
Contact:

Re: Update from 3.2.2 to 3.2.3 not working

Post by Marc » Sat Sep 15, 2018 10:47 am

Banisher wrote:
Thu Sep 13, 2018 5:12 pm
Marc wrote:
Thu Sep 13, 2018 5:05 pm
Have you checked your nginx config against our sample configuration?
https://github.com/phpbb/phpbb/blob/3.2 ... ample.conf
Yeah that is super outdated and does not really work anymore. Can't have http directives in per-site config files.

My config looks like this now:

Code: Select all

server { 
    location ~ \.php(/|$) {
        # Unmodified fastcgi_params from nginx distribution.
        include fastcgi_params;
        # Necessary for php.
        fastcgi_split_path_info ^(.+\.php)(/.*)$;
        fastcgi_param PATH_INFO $fastcgi_path_info;
        fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
        fastcgi_param DOCUMENT_ROOT $realpath_root;
        try_files $uri $uri/ /app.php$is_args$args;
        fastcgi_pass unix:/run/php/php7.2-fpm.sock;
    }

    # Correctly pass scripts for installer
    location /install/ {
        # phpBB uses index.htm
        try_files $uri $uri/ @rewrite_installapp;

        # Pass the php scripts to fastcgi server specified in upstream declaration.
        location ~ \.php(/|$) {
            # Unmodified fastcgi_params from nginx distribution.
            include fastcgi_params;
            # Necessary for php.
            fastcgi_split_path_info ^(.+\.php)(/.*)$;
            fastcgi_param PATH_INFO $fastcgi_path_info;
            fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
            fastcgi_param DOCUMENT_ROOT $realpath_root;
            try_files $uri $uri/ /install/app.php$is_args$args;
            fastcgi_pass unix:/run/php/php7.2-fpm.sock;
        }
    }

    location @rewrite_installapp {
        rewrite ^(.*)$ /install/app.php/$1 last;
    }

    # Deny access to version control system directories.
    location ~ /\.svn|/\.git {
        deny all;
        internal;
    }
}
It looks like you're not specifying your root directory, similar to here:
https://github.com/phpbb/phpbb/blob/mas ... e.conf#L52

That can prevent nginx from correctly handling your install directory.

Banisher
Registered User
Posts: 18
Joined: Fri Aug 01, 2008 3:23 pm

Re: Update from 3.2.2 to 3.2.3 not working

Post by Banisher » Sat Sep 15, 2018 1:42 pm

added `root /;` to my server field, still no bueno :(

User avatar
Marc
Development Team Leader
Development Team Leader
Posts: 5312
Joined: Tue Oct 30, 2007 10:57 pm
Location: Munich, Germany
Name: Marc
Contact:

Re: Update from 3.2.2 to 3.2.3 not working

Post by Marc » Sat Sep 15, 2018 3:15 pm

But that shouldn't be the path your forum is located at. What's the absolute path to your index.php? Use that absolute path and remove index.php and you should have the proper root path.

Banisher
Registered User
Posts: 18
Joined: Fri Aug 01, 2008 3:23 pm

Re: Update from 3.2.2 to 3.2.3 not working

Post by Banisher » Sat Sep 15, 2018 10:20 pm

I had tried `root /var/www/xxxx/;` that did not work either

Post Reply

Return to “[3.2.x] Support Forum”

Who is online

Users browsing this forum: bonelifer, Mick, napsterion, PHenry1025, sbweston, Senky and 39 guests