If you have found yourself in a scenario where you cannot update Joomla! via the Joomla! Update Component and need to perform a manual update for any reason whatsoever, this script will assist with performing all necessary steps that would be taken after the update component runs the updates on the filesystem.
This script assumes that you have manually extracted the update package over your site and are ready to finish the update. You should trigger this script immediately after this process and before logging into your site's admin to do anything else, including the "database fix" routine.
To use this script, you should copy the postupdate.php
file to your site's administrator directory.
You can either access this script via a web request (https://www.example.com/administrator/postupdate.php
)
or from the command line interface (php /path/to/administrator/postupdate.php
).
This script will run the "finalise" and "cleanup" steps from the update component, which performs such tasks as any database migrations and the removal of old files from your installation.
Once complete, you should immediately remove this script from your server.
Guys please help... not a fundi at this.
Upgraded to 3.8.3
When i launch me WEBSITE I get.... 'DIRECT ACCESS TO THIS LOCATION IS NOT ALLOWED' ... "Error messages Error:1054 Unkown column ‘a.client_id’ in ‘where clause’.
When i try and fix my database I get ' 1709 Index column size too large. The maximum column size is 767 bytes.'
When I apply the postupdate.php in phpMYADMIN I get definition error where "#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near"... see attachment...
I am at a loss....
Regards
Gary B