Page 1 of 2

3.2.x update process still broken

Posted: Mon Jan 29, 2018 1:25 pm
by Bullseye!
I have been reluctant to update this time because of what happened the last time I updated... looks like it's still broke.. had to abort 3.2.2 update as I got a fake timeout detected
Screenshot-2018-1-29 Update phpBB installation.png
Any suggestions?


~John~

Re: 3.2.x update process still broken

Posted: Mon Jan 29, 2018 2:07 pm
by Mick

Re: 3.2.x update process still broken

Posted: Mon Jan 29, 2018 2:28 pm
by Bullseye!
where is the config.php I can't seem to find it :/

Re: 3.2.x update process still broken

Posted: Mon Jan 29, 2018 2:32 pm
by Mick
In the board root normally.

Re: 3.2.x update process still broken

Posted: Mon Jan 29, 2018 3:15 pm
by Bullseye!
Tried what it said to do in the link you provided.. still getting the same issue as shown on the screenshot

Re: 3.2.x update process still broken

Posted: Mon Jan 29, 2018 5:55 pm
by stevemaury
Post the contents of your config.php file, without the password.

Re: 3.2.x update process still broken

Posted: Tue Jan 30, 2018 2:42 am
by Bullseye!

Code: Select all

<?php
// phpBB 3.0.x auto-generated configuration file
// Do not change anything in this file!
$dbms = 'mysqli';
$dbhost = '';
$dbport = '';
$dbname = 'bullseye_forum';
$dbuser = 'bullseye_admin';
$dbpasswd = '****************';
$table_prefix = 'bullbreedforum_';
$acm_type = 'file';
$load_extensions = '';

@define('PHPBB_INSTALLED', true);
// @define('DEBUG', true);
// @define('DEBUG_EXTRA', true);
?>

Re: 3.2.x update process still broken

Posted: Tue Jan 30, 2018 3:12 am
by Lumpy Burgertushie
replace that with this:

Code: Select all

<?php
// phpBB 3.2.x auto-generated configuration file
// Do not change anything in this file!
$dbms = 'phpbb\\db\\driver\\mysqli';
$dbhost = '';
$dbport = '';
$dbname = 'bullseye_forum';
$dbuser = 'bullseye_admin';
$dbpasswd = 'your password here';
$table_prefix = 'bullbreedforum_';
$phpbb_adm_relative_path = 'adm/';
$acm_type = 'phpbb\\cache\\driver\\file';

@define('PHPBB_INSTALLED', true);
// @define('PHPBB_DISPLAY_LOAD_TIME', true);
@define('PHPBB_ENVIRONMENT', 'production');
// @define('DEBUG_CONTAINER', true);
copy and paste, be precise.

of course, put your password in there.
also, is that table prefix the same one you had on your old board that was working? it seems too many characters for most server setups.
if it was working previously then don't mess with it.

robert

Re: 3.2.x update process still broken

Posted: Tue Jan 30, 2018 3:20 am
by 3Di
Beside the config.php, a 3.2.2 package, also if downloaded from here, without this changes applied to it, before to attempt the installation -> won't work, it's buggy!

This has to notified to every user, not all the people use "search".

The screenshot posted by the OP clearly spots the issue here, a specific migration is the culprit and the fix is there.

Image

Re: 3.2.x update process still broken

Posted: Tue Jan 30, 2018 1:06 pm
by Bullseye!
3Di wrote:
Tue Jan 30, 2018 3:20 am
Beside the config.php, a 3.2.2 package, also if downloaded from here, without this changes applied to it, before to attempt the installation -> won't work, it's buggy!

This has to notified to every user, not all the people use "search".

The screenshot posted by the OP clearly spots the issue here, a specific migration is the culprit and the fix is there.

Image
I also don't understand why we can't just download the update package like we used to with previous versions of phpbb, now you have to download the full package & delete parts of it before updating & my templates get mangled everytime... maybe it will be resolved in 3.3? lol

Re: 3.2.x update process still broken

Posted: Tue Jan 30, 2018 8:09 pm
by Lumpy Burgertushie
there is really not a problem. the update system was changed when extensions were created. before extensions, you had to modify the core code for the MODs etc. with extensions there is now rarely any need to modify core code. therefore, there is no reason to use the auto update thing where you had to download so many files, make all the choices in the admin panel, upload files back to the server, etc. etc. etc

now it is very quick and simple, replace old files with new and update the database, done.
as always, if you are using a style other than prosilver then you have to update your style manually or wait for the style creator to put out an updated version.

style version should always match phpbb version or things won't work right.

yes, there have been some pretty serious bugs in the latest update but there are fixes and the next update will take care of that.

robert

Re: 3.2.x update process still broken

Posted: Tue Jan 30, 2018 9:13 pm
by warmweer
Bullseye! wrote:
Tue Jan 30, 2018 1:06 pm
...
I also don't understand why we can't just download the update package like we used to with previous versions of phpbb, now you have to download the full package & delete parts of it before updating & my templates get mangled everytime... maybe it will be resolved in 3.3? lol
Actually, the changed-files-pack is still available (https://www.phpbb.com/files/release/php ... -files.zip).
And the update procedure is explained in https://www.phpbb.com/support/documents ... date_files

4.ii. Changed files

This package is meant for those wanting to only replace the files that were changed between a previous version and the latest version.

This package contains a number of archives, each contains the files changed from a given release to the latest version. You should select the appropriate archive for your current version, e.g. if you currently have 3.2.0 you should select the appropriate phpBB-3.2.1-files.zip/tar.bz2 file.

The directory structure has been preserved, enabling you (if you wish) to simply upload the uncompressed contents of the archive to the appropriate location on your server, i.e. simply overwrite the existing files with the new versions. Do not forget that if you have installed any modifications (MODs) these files will overwrite the originals, possibly destroying them in the process. You will need to re-add MODs to any affected file before uploading.

As for the other update procedures, you should go to /install/app.php/update, select "Update database only" and submit the page after you have finished updating the files. This will update your database schema and increment the version number. If you have shell access to your server, you may wish to update via the command line interface. From your board's root, execute the following command: php bin/phpbbcli.php --safe-mode db:migrate.

Re: 3.2.x update process still broken

Posted: Tue Jan 30, 2018 9:29 pm
by 3Di
warmweer wrote:
Tue Jan 30, 2018 9:13 pm
Actually, the changed-files-pack is still available https://www.phpbb.com/files/release/php ... -files.zip
I believe those files need to be hot-fixed as well.

Re: 3.2.x update process still broken

Posted: Tue Jan 30, 2018 10:32 pm
by warmweer
3Di wrote:
Tue Jan 30, 2018 9:29 pm
warmweer wrote:
Tue Jan 30, 2018 9:13 pm
Actually, the changed-files-pack is still available https://www.phpbb.com/files/release/php ... -files.zip
I believe those files need to be hot-fixed as well.
If you mean that the errors with 3.2.2 are still present in those files, then I agree. (BTW I haven't tried 3.2.2 yet, and probably won't)
But apart from that the changed files sets haven't failed me yet (over the last few months I've tested 3.1.0 to 3.1.11, 3.1.9 to 3.1.11,3.1.0 to 3.2.1 and 3.1.9 to 3.2.1).

Re: 3.2.x update process still broken

Posted: Tue Jan 30, 2018 11:02 pm
by 3Di
Yes, I meant 3.2.2.

And yes, changed files it's easier and thrust-worthy.
Just a side note, in case of deprecated files, those will remain.