Support Forum

Upgrade to 5.1.4 failed

FH Florent Hainaut
Florent Hainaut
Member

When doing the autoupgrade, I get this :

 

Mise à jour abandonnée
8972
9068
success

 

Please copy the details below and include them on any support forum question you may have:

9068 – success

25 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

what is the state of your system at the moment? Is it running or stuck with the upgrade required message?
We can you up and working easily and return to the upgrade issue later at leisure…

FH Florent Hainaut
Florent Hainaut
Member

For the moment it’s stuck with the upgrade message…

How can I do to come back to the 5.1.3 version so that the forum works again?

YS Yellow Swordfish
Yellow Swordfish
Member

Are you happy to make small changes directly in your database?

YS Yellow Swordfish
Yellow Swordfish
Member

Excellent.

You need the table ‘sfoptions’. This is NOT the wp options table please note.

Find the row with the option name of ‘sfversion’ and change the option value to 5.1.4
Find the row with the option name of ‘sfbuild’ and change the option value to 9150

This should get you going and we can review the part of the script that caused the timeout later. But you will be safe to use the forums etc.

Please do let me know the outcome.

FH Florent Hainaut
Florent Hainaut
Member

Ok thanks, that worked. I can view the forum again.

MP Mr Papa
Mr Papa
Member

thanks for the update… btw, how many posts do you have?

FH Florent Hainaut
Florent Hainaut
Member

The forum is quite new so they are now 663 posts exactly.

YS Yellow Swordfish
Yellow Swordfish
Member

then this was not caused by the link fix timing out and might show up a conflict in your admin scripts with maybe another plugin.
that’s fine as long as everything is working OK but I would recommend before you update SP again next time you do make a database backup in case there is such a problem lurking. These sort of conflicts are usually very easy to sort out.

SV Sini Visa
Sini Visa
Member

Exactly same issue here while upgrading from 5.1.3. Message is just (and progress bar is stuck in beginning):

Upgrade is in progress – please wait
Upgrade Aborted
8972
 9068
success
 
Please copy the details below and include them on any support forum question you may have:

 9068 – success

 

ps. we had same kind of issues during upgrade from 4.5 -> 5 series (this was discussed in another thread: https://simple-press.com/support-forum/sp5-general-topics/upgrade-from-4-5-1-to-5-1-1-not-working-upgrade-aborted/). In the end this was solved by upgrading the database table structure by hand with a custom SQL script and then running the upgrade through the GUI.

Any ideas?

 

YS Yellow Swordfish
Yellow Swordfish
Member

Can you perform this small edit as described in this post please:
https://simple-press.com/support-forum/sp5-general-topics/autoupgrade-to-5-1-4-failed/#p114363

SV Sini Visa
Sini Visa
Member

Got a bit further after disabling SB Welcome Email editor plugin which was enabled on first attempt. Now the progress bar went about halfway and I got this (without your edit suggestion):

Upgrade Aborted
9068
Notice: Trying to get property of non-object in /var/www/example.com/wp-content/plugins/simple-press/sp-startup/site/sp-site-support-functions.php on line 136 9086
success
  
Please copy the details below and include them on any support forum question you may have:
 
9068 – success

Notice: Trying to get property of non-object in /var/www/example.com/wp-content/plugins/simple-press/sp-startup/site/sp-site-support-functions.php on line 136 9086 – success

After that, I made the edit you suggested. The result was the same as above..

 

YS Yellow Swordfish
Yellow Swordfish
Member

I think something else actually happened here that meant the version/build numbers were not updated. This can happen – although rare – if the upgrade is aborted due to some sort of code conflict – often script based.

To get you back up and working can you follow the simple procedure in post 6 of this thread. That should get your forum back up and you wont have really missed anything vital. But – when it comes time to upgrade again I would advise a database backup before you start in case there is some sort of script conflict in play.

SV Sini Visa
Sini Visa
Member

Ok, did those and now it seems to be 5.1.4. This was just a test server, production is still on 5.1.3, need to decide what do to with it..