How do you update?

Do not post support requests, bug reports or feature requests. Discuss phpBB here. Non-phpBB related discussion goes in General Discussion!
Get Involved
sakm
Registered User
Posts: 510
Joined: Sun Jan 21, 2007 8:14 pm
Location: Hull, uk
Name: Stu
Contact:

How do you update?

Post by sakm » Mon Sep 10, 2018 4:19 pm

No I'm not asking how to do it!

I'm just curious of how other people update phpBB with the minimum downtime etc

I have seen boards get updated in a matter of minutes before yet it always seems to take me a fair while :?

It would be interesting to know people process :)

User avatar
Mick
Support Team Member
Support Team Member
Posts: 20237
Joined: Fri Aug 29, 2008 9:49 am
Location: Cardiff

Re: How do you update?

Post by Mick » Mon Sep 10, 2018 5:50 pm

"The more connected we get the more alone we become" - Kyle Broflovski

There are no ‘threads’ in phpBB, they are topics.

User avatar
Brf
Support Team Member
Support Team Member
Posts: 51402
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: How do you update?

Post by Brf » Mon Sep 10, 2018 6:02 pm

Mick wrote:
Mon Sep 10, 2018 5:50 pm
Knowledge Base - Updating 3.2.x
sakm is looking for testimonials, not instructions.

User avatar
Mick
Support Team Member
Support Team Member
Posts: 20237
Joined: Fri Aug 29, 2008 9:49 am
Location: Cardiff

Re: How do you update?

Post by Mick » Mon Sep 10, 2018 6:38 pm

I know, thats how I do it.
"The more connected we get the more alone we become" - Kyle Broflovski

There are no ‘threads’ in phpBB, they are topics.

User avatar
AbaddonOrmuz
Registered User
Posts: 411
Joined: Wed Dec 25, 2013 9:06 pm
Location: /dev/null
Name: Alfredo Ramos
Contact:

Re: How do you update?

Post by AbaddonOrmuz » Mon Sep 10, 2018 7:18 pm

I replicate my client's website on a local server, upgrade the board and, when everything is working as it should, upload database changes back to the server.

I usually work on a database copy so when I need to use the new one I only have to change the config.php file, to have a downtime for just a few seconds.
A proudly user of Arch Linux :: /r/sddm_themes

sakm
Registered User
Posts: 510
Joined: Sun Jan 21, 2007 8:14 pm
Location: Hull, uk
Name: Stu
Contact:

Re: How do you update?

Post by sakm » Mon Sep 10, 2018 7:31 pm

AbaddonOrmuz wrote:
Mon Sep 10, 2018 7:18 pm
I replicate my client's website on a local server, upgrade the board and, when everything is working as it should, upload database changes back to the server.

I usually work on a database copy so when I need to use the new one I only have to change the config.php file, to have a downtime for just a few seconds.
but while you are working on the update on a copy of the database what if there are changes to posts etc? there must be a point where you disable the board to prevent further posting?

User avatar
AbaddonOrmuz
Registered User
Posts: 411
Joined: Wed Dec 25, 2013 9:06 pm
Location: /dev/null
Name: Alfredo Ramos
Contact:

Re: How do you update?

Post by AbaddonOrmuz » Mon Sep 10, 2018 7:52 pm

sakm wrote:
Mon Sep 10, 2018 7:31 pm
but while you are working on the update on a copy of the database what if there are changes to posts etc? there must be a point where you disable the board to prevent further posting?
Not always (client instructions) but yes, I have had put the board in maintenance mode (not though the ACP). Usually upgrades are done in a time with low traffic (close to zero) and the maintenance is announced at least one week before the upgrade.

When I had to put the maintenance it does not last more than a couple of hours.
A proudly user of Arch Linux :: /r/sddm_themes

sakm
Registered User
Posts: 510
Joined: Sun Jan 21, 2007 8:14 pm
Location: Hull, uk
Name: Stu
Contact:

Re: How do you update?

Post by sakm » Mon Sep 10, 2018 7:54 pm

AbaddonOrmuz wrote:
Mon Sep 10, 2018 7:52 pm
sakm wrote:
Mon Sep 10, 2018 7:31 pm
but while you are working on the update on a copy of the database what if there are changes to posts etc? there must be a point where you disable the board to prevent further posting?
Not always (client instructions) but yes, I have had put the board in maintenance mode (not though the ACP). Usually upgrades are done in a time with low traffic (close to zero) and the maintenance is announced at least one week before the upgrade.

When I had to put the maintenance it does not last more than a couple of hours.
I wish I had a quiet time :lol:

User avatar
Lumpy Burgertushie
Registered User
Posts: 65194
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: How do you update?

Post by Lumpy Burgertushie » Tue Sep 11, 2018 12:13 am

just get prepared and tell your members when it will be. I think you will find there will be no problems with it being off for a couple of hours etc.


robert
I am available for custom work on a donation basis. Please send me a PM with your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

OK, so what's the speed of dark?

User avatar
david63
Jr. Extension Validator
Posts: 14930
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: How do you update?

Post by david63 » Tue Sep 11, 2018 11:14 am

I always, since 3.1, use the changed files option - upload those files plus vendor and install folders (after having deleted the vendor folder first) and then run database update - all done in five minutes.
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

sakm
Registered User
Posts: 510
Joined: Sun Jan 21, 2007 8:14 pm
Location: Hull, uk
Name: Stu
Contact:

Re: How do you update?

Post by sakm » Tue Sep 11, 2018 12:34 pm

Lumpy Burgertushie wrote:
Tue Sep 11, 2018 12:13 am
just get prepared and tell your members when it will be. I think you will find there will be no problems with it being off for a couple of hours etc.


robert
Even if I do this with a weeks notice I still get emails from the members!

User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 2801
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.
Contact:

Re: How do you update?

Post by thecoalman » Tue Sep 11, 2018 1:56 pm

I have a lot of custom edits. I keep a list of files that have those custom edits and each edit is commented so I know exactly what it's there for. I download the changed files package and see what files are in it that have custom edits. Then I use Winmerge to compare and merge my edits with the new files that have been updated.

Changed files package with my custom edits is then merged into a local copy overwriting the old files. Quick check to make sure everything is working as expected to insure we don't have some lame php error because of missing comma..... Maintence mode on live version,dump the database one last time. ,upload the files to the server and run the update. It's literally minutes to complete the online version.
sakm wrote:
Tue Sep 11, 2018 12:34 pm

Even if I do this with a weeks notice I still get emails from the members!
This should only take a few minutes. I once moved entire forum with 650K posts to another domain, upgrade from 3.0.X to 3.2.X, nixed a URL rewrite on old domain with redirect to the standard phpBB URL's on new domain and few other tasks. Think it took 15 minutes but that was after many days of setting it up and some dry runs. For about 3 or 4 days Google was sucking up about 50K pages per day, nothing succeeds like success. :D

User avatar
3Di
Registered User
Posts: 12995
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: How do you update?

Post by 3Di » Wed Sep 12, 2018 7:30 am

I do my stuffs in local first (it takes the time it needs) then I put the board in maintenance mode (not through the ACP) but giving a
HTTP/1.1 503 Service Unavailable header using a file I coded on purpose.

Here it is: https://gist.github.com/3D-I/8fb88dc810 ... 675a4b926f

Due to the fact we don't want that search engines index that page while doing this job. :geek:

Moreover you can modify it to fit your needs, the users will read the announce you wrote in there and patiently (or not) will wait for it. :)
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate

:game_die: The new Dice Roller extension for phpBB 3.2 is out! :game_die:

Extensions, Scripts, MOD porting, Update/Upgrades
My development's activity º PhpStorm's proud user

User avatar
KYPREO
Registered User
Posts: 79
Joined: Fri Feb 02, 2018 9:56 am
Contact:

Re: How do you update?

Post by KYPREO » Fri Sep 14, 2018 10:07 pm

I am not very savvy with these things so updates take me longer to do. I have a self managed VPS running windows 10. I made a maintenance page with a 503 header purposes which i have saved in a separate folder. While doing maintenance that will last more than a few minutes, i point IIS to the maintenance folder so users and Google etc see the maintenance page while i work on the forum software and datababse in the background.

I also the Board Announcements extension which is very useful for notifying users of these things as i find users rarely read site announcement topics. From memory these announcements continue to display while a board is disabled from within the ACP, so you notify users what's happening, when it will be back up etc
phpBB user since 2002
www.AusRotary.com

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

Re: How do you update?

Post by </Solidjeuh> » Fri Sep 14, 2018 10:57 pm

I just delete all files & folders except images, ext, files, store, .htaccess & config.php from my server.
Download the new phpBB, and delete the config.php & .htaccess from that folder.
Then just upload the folder & install ..

But first of all, I update my custom style to the new phpBB version.

Took me less then 5 min from phpBB 3.2.3 RC2 to 3.2.3

And let's not forget to make a database or even better, a full backup before you start!
We offer fun HTML5 games for young and old.
Register a free account & enjoy all functions!
Save your score, challenge other members or play along with our tournaments.


~~~ https://www.solidjeuh.be ~~~

Post Reply

Return to “phpBB Discussion”

Who is online

Users browsing this forum: No registered users and 40 guests