Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
Error on upgrade Version 5.5.11 to 5.6.1 - aborted
Avatar
Capitano
Leeds, England
Member
sp_UserOfflineSmall Offline
Dec 19, 2015 - 5:45 am

The auto-upload failed a few days ago due to, I believe, either a WP issue or a permissions issue on the server.  I did not record the WP error msg for the SP upgrade but this example for Super Cache upgrade appears to be identical:

The update process is starting. This process may take a while on some hosts, so please be patient.

Enabling Maintenance mode…

Updating Plugin WP Super Cache (1/1)
Downloading update from https://downloads.wordpress.or......1.4.7.zip
Unpacking the update…
Installing the latest version…
Removing the old version of the plugin…
Plugin update failed.
An error occurred while updating WP Super Cache: Could not create directory. /public_html/wp-content/plugins/wp-super-cache/

 

Today I can attend to it. First, I installed the current SP ver, then restored a previous backup of the DB (10 days old) so as to enable the plugin to do the DB upgrade again. WP ran its own DB upgrade, then I attempted to run the SP upgrade. But I get this error msg:

Upgrade Simple:Press From Version 5.5.11 to 5.6.1 (Build 13318 to Build 13700)

Upgrade Aborted

current build: 13318

%%%marker%%%{"status":"success","type":"upgrade","section":13495,"response":"Build upgrade section 13495 executing. Status: success

","error":""}%%%marker%%%

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Dec 19, 2015 - 6:30 am

The update process uses a series of AJAX transactions and expects an explicit set of data to be returned from the server after each section. If that data is not what is expected it stops the process - it has to as there can no longer be a reliable marker as to where the process is up to.

Every now and then we come across an instance like this and there have been two main culprits in the past. One - the rarest - is when the website calls for extra authentication for each request to the server and the3 other - more likely - is when another process hijacks the AJAX call.

I know it is a pain but if you are able - deactivate a plugin or two that you think might be performing such ajax calls - or keep deactivating until the process completes as expected and the culprit found. This has proved successful for, I believe, more or less everyone who has had this problem in the past although just now and then it has proved to be the WP theme they are using.

Of course - everything can be returned to normal after the upgrade is performed.

For the record - the changes between 5.5.11 and 5.6.1 are small and could  easily be made manually to the database if you are able and want to take that route. But it would be useful information for the future to know what is causing the block.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Capitano
Leeds, England
Member
sp_UserOfflineSmall Offline
Dec 19, 2015 - 10:56 am

Thanks for the detailed info, Andy.

No luck, though. I deactivated each plugin individually without success. Eventually I deactivated all of them but it still did not work.

Please let me have the manual instructions - ideally SQL statements, or whatever guidelines you can provide.

There is still something wrong with the server set-up I think. Automatic plugin upgrades still fail at the last step as detailed above. Web host support cannot figure it out - but I can live with it. However, it may be related to the SP DB upgrade issue. I have no idea.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Dec 19, 2015 - 7:01 pm

It is actually two values that need changing and they can be done via a tool like phpMyAdmin with ease.

Both are in the table xxx_sfoptions where 'xxx' is your WP prefix.

You need to find the entry where 'option_name' = 'sfversion' and change the value to '5.6.1'

The you need to entry where 'option_name' = 'sfbuild' and change that value to '13700'

If you sort the option_id column then you will almost certainly find these two entries in ids 1 and 2.

And when you have made those 2 changes you be set to go.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Capitano
Leeds, England
Member
sp_UserOfflineSmall Offline
Dec 20, 2015 - 3:09 am

Thanks, Andy. If I get any inkling as to the root cause of the abort issue I will update this thread.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Dec 20, 2015 - 5:48 am

That would be appreciated.

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625