Upgrade from 3.5 -> 3.6.0 ends in update.finalise blank page & SQL err

Need help upgrading your Joomla! website or converting to Joomla! 3.x?

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Locked
j3st3r
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Sun May 20, 2012 4:54 pm

Upgrade from 3.5 -> 3.6.0 ends in update.finalise blank page & SQL err

Post by j3st3r » Thu Sep 22, 2016 7:24 pm

When updating from 3.5 to 3.6.0 the process ends in a blank page with the following URL:

Code: Select all

...../administrator/index.php?option=com_joomlaupdate&task=update.finalise
As the documentation/forum-posts suggest i return to the administrator, then:
  • fix the database.
  • clear the extension update cache
  • press: find updates => nothing
  • go to the update sites and rebuild => SQL error:

    Code: Select all

    SELECT extension_id FROM #__update_sites_extensions WHERE
  • the discovery process finds the Joomla installer modules (folder, upload, url), but installing and enabling these does not solve the issue.
I've run this upgrade a few times now, even manually, but am at a loss here. I did notice that 'update sites' list is noticeably shorter after the upgrade (only 4 remaining: core, extensions dir and 2 translations).


Anyone with some suggestions?


Forum Post Assistant (v1.2.7) : 22nd September 2016 wrote:
Basic Environment :: wrote:Joomla! Instance :: Joomla! 3.6.0-Stable (Noether) 12-July-2016
Joomla! Platform :: Joomla Platform 13.1.0-Stable (Curiosity) 24-Apr-2013
Joomla! Configured :: Yes | Writable (644) | Owner: acc264775 (uid: 1/gid: 1) | Group: acc264775 (gid: 1) | Valid For: 1.5
Configuration Options :: Offline: 0 | SEF: 1 | SEF Suffix: 0 | SEF ReWrite: 1 | .htaccess/web.config: Yes | GZip: 0 | Cache: 0 | FTP Layer: 1 | SSL: 0 | Error Reporting: default | Site Debug: 0 | Language Debug: 0 | Default Access: N/A | Unicode Slugs: N/A | Database Credentials Present: Yes

Host Configuration :: OS: Linux | OS Version: 3.16.0-38-generic | Technology: x86_64 | Web Server: Apache/2.4.7 (Ubuntu) | Encoding: gzip, deflate | Doc Root: /var/www/domains/wedstrijden.nl/www | System TMP Writable: No

PHP Configuration :: Version: 5.5.9-1ubuntu4.19 | PHP API: apache2handler | Session Path Writable: Yes | Display Errors: | Error Reporting: 24575 | Log Errors To: | Last Known Error: | Register Globals: | Magic Quotes: | Safe Mode: | Open Base: /usr/share/php/:/var/www/domains/wedstrijden.nl/ | Uploads: 1 | Max. Upload Size: 8M | Max. POST Size: 8M | Max. Input Time: 300 | Max. Execution Time: 300 | Memory Limit: 256M

MySQL Configuration :: Version: 5.1.73-0ubuntu0.10.04.1 (Client:5.5.52) | Host: --protected-- (--protected--) | Collation: utf8_unicode_ci (Character Set: utf8) | Database Size: 17.04 MiB | #of Tables: 152
Detailed Environment :: wrote:PHP Extensions :: Core (5.5.9-1ubuntu4.19) | date (5.5.9-1ubuntu4.19) | ereg () | libxml () | openssl () | pcre () | zlib (2.0) | bcmath () | bz2 () | calendar () | ctype () | dba () | dom (20031129) | hash (1.0) | fileinfo (1.0.5-dev) | filter (0.11.0) | ftp () | gettext () | SPL (0.2) | iconv () | mbstring () | session () | posix () | Reflection ($Id: 31d836a7ac92a37b5c580836d91ad4736fe2f376 $) | standard (5.5.9-1ubuntu4.19) | shmop () | SimpleXML (0.1) | soap () | sockets () | Phar (2.0.2) | exif (1.4 $Id$) | sysvmsg () | sysvsem () | sysvshm () | tokenizer (0.1) | wddx () | xml () | xmlreader (0.1) | xmlwriter (0.1) | zip (1.11.0) | apache2handler () | PDO (1.0.4dev) | curl () | gd () | imagick (3.1.2) | imap () | intl (1.1.0) | json (1.3.2) | mcrypt () | mysql (1.0) | mysqli (0.1) | odbc (1.0) | pdo_mysql (1.0.2) | PDO_ODBC (1.0.1) | pdo_sqlite (1.0.1) | readline (5.5.9-1ubuntu4.19) | sqlite3 (0.7-dev) | xsl (0.1) | mhash () | ionCube Loader () | Zend Guard Loader () | Zend Engine (2.5.0) |
Potential Missing Extensions :: suhosin |

Switch User Environment (Experimental) :: PHP CGI: No | Server SU: No | PHP SU: No | Custom SU (LiteSpeed/Cloud/Grid): Yes
Potential Ownership Issues: No

Apache Modules :: core | mod_so | mod_watchdog | http_core | mod_log_config | mod_logio | mod_version | mod_unixd | mod_access_compat | mod_alias | mod_auth_basic | mod_auth_plain | mod_authn_core | mod_authn_file | mod_authz_core | mod_authz_host | mod_authz_user | mod_autoindex | mod_cgi | mod_deflate | mod_dir | mod_env | mod_expires | mod_filter | mod_headers | mod_include | mod_mime | mpm_itk | prefork | mod_negotiation | mod_php5 | mod_proxy | mod_rewrite | mod_setenvif | mod_socache_shmcb | mod_ssl | mod_status | Apache/2.4.7 (Ubuntu) |
Potential Missing Modules :: mod_security | mod_evasive | mod_dosevasive | mod_qos | mod_userdir |
Folder Permissions :: wrote:Core Folders :: images/ (755) | components/ (755) | modules/ (755) | plugins/ (755) | language/ (755) | templates/ (755) | cache/ (755) | logs/ (755) | tmp/ (755) | administrator/components/ (755) | administrator/modules/ (755) | administrator/language/ (755) | administrator/templates/ (755) |

Elevated Permissions (First 10) ::
Extensions Discovered :: wrote:Components :: SITE :: WF_FILESYSTEM_JOOMLA_TITLE (2.5.16) | WF_MEDIAPLAYER_JCEPLAYER_TITLE (2.5.16) | WF_LINKS_JOOMLALINKS_TITLE (2.5.16) | WF_LINK_SEARCH_TITLE (2.5.16) | WF_AGGREGATOR_VIMEO_TITLE (2.5.16) | WF_AGGREGATOR_VINE_TITLE (2.5.16) | WF_AGGREGATOR_[youtube]_TITLE (2.5.16) | WF_AGGREGATOR_DAILYMOTION_TITL (2.5.16) | WF_POPUPS_WINDOW_TITLE (2.5.16) | WF_POPUPS_JCEMEDIABOX_TITLE (2.5.16) | WF_BROWSER_TITLE (2.5.16) | WF_PREVIEW_TITLE (2.5.16) | WF_CLEANUP_TITLE (2.5.16) | WF_DIRECTIONALITY_TITLE (2.5.16) | WF_CONTEXTMENU_TITLE (2.5.16) | WF_STYLESELECT_TITLE (2.5.16) | WF_AUTOSAVE_TITLE (2.5.16) | WF_NONBREAKING_TITLE (2.5.16) | WF_XHTMLXTRAS_TITLE (2.5.16) | WF_SOURCE_TITLE (2.5.16) | WF_SEARCHREPLACE_TITLE (2.5.16) | WF_FONTSELECT_TITLE (2.5.16) | WF_ARTICLE_TITLE (2.5.16) | WF_FONTSIZESELECT_TITLE (2.5.16) | WF_MEDIA_TITLE (2.5.16) | WF_FORMATSELECT_TITLE (2.5.16) | WF_LINK_TITLE (2.5.16) | WF_VISUALCHARS_TITLE (2.5.16) | WF_FULLSCREEN_TITLE (2.5.16) | WF_FONTCOLOR_TITLE (2.5.16) | WF_ANCHOR_TITLE (2.5.16) | WF_LISTS_TITLE (2.5.16) | WF_IMGMANAGER_TITLE (2.5.16) | WF_CHARMAP_TITLE (2.5.16) | WF_INLINEPOPUPS_TITLE (2.5.16) | WF_STYLE_TITLE (2.5.16) | WF_CLIPBOARD_TITLE (2.5.16) | WF_TEXTCASE_TITLE (2.5.16) | WF_TABLE_TITLE (2.5.16) | WF_KITCHENSINK_TITLE (2.5.16) | WF_SPELLCHECKER_TITLE (2.5.16) | WF_PRINT_TITLE (2.5.16) | WF_VISUALBLOCKS_TITLE (2.5.16) | WF_HR_TITLE (2.5.16) | WF_LAYER_TITLE (2.5.16) | com_wrapper (3.0.0) | com_mailto (3.0.0) |
Components :: ADMIN :: com_redirect (3.0.0) | com_tags (3.1.0) | com_ajax (3.2.0) | com_postinstall (3.2.0) | com_contenthistory (3.2.0) | RokSprocket (2.1.12) | Unknown (-) | JCE (2.5.16) | com_modules (3.0.0) | com_config (3.0.0) | Gantry (4.1.31) | com_newsfeeds (3.0.0) | com_cpanel (3.0.0) | com_admin (3.0.0) | com_categories (3.0.0) | com_login (3.0.0) | com_banners (3.0.0) | com_menus (3.0.0) | com_plugins (3.0.0) | com_templates (3.0.0) | com_messages (3.0.0) | com_users (3.0.0) | com_content (3.0.0) | com_languages (3.0.0) | com_chronoforms5 (5.0.11) | RokCandy (2.0.2) | com_search (3.0.0) | com_installer (3.0.0) | com_joomlaupdate (3.6.0) | com_finder (3.0.0) | com_media (3.0.0) | com_checkin (3.0.0) | com_cache (3.0.0) |

Modules :: SITE :: mod_whosonline (3.0.0) | mod_banners (3.0.0) | mod_breadcrumbs (3.0.0) | mod_finder (3.0.0) | mod_related_items (3.0.0) | RokSprocket Module (2.1.12) | mod_articles_latest (3.0.0) | mod_feed (3.0.0) | mod_syndicate (3.0.0) | mod_custom (3.0.0) | mod_users_latest (3.0.0) | mod_tags_similar (3.1.0) | mod_tags_popular (3.1.0) | mod_articles_archive (3.0.0) | mod_articles_category (3.0.0) | mod_languages (3.5.0) | RokNavMenu (2.0.8) | mod_wrapper (3.0.0) | mod_articles_categories (3.0.0) | mod_random_image (3.0.0) | mod_login (3.0.0) | ChronoForms5 (V5 RC1.2) | mod_menu (3.0.0) | mod_search (3.0.0) | mod_footer (3.0.0) | RokAjaxSearch (2.0.4) | mod_stats (3.0.0) | mod_articles_popular (3.0.0) | mod_articles_news (3.0.0) |
Modules :: ADMIN :: mod_quickicon (3.0.0) | mod_submenu (3.0.0) | mod_status (3.0.0) | mod_feed (3.0.0) | mod_latest (3.0.0) | mod_custom (3.0.0) | mod_logged (3.0.0) | mod_multilangstatus (3.0.0) | mod_popular (3.0.0) | mod_title (3.0.0) | mod_toolbar (3.0.0) | mod_login (3.0.0) | mod_version (3.0.0) | mod_menu (3.0.0) | mod_stats_admin (3.0.0) |

Plugins :: SITE :: plg_authentication_ldap (3.0.0) | plg_authentication_joomla (3.0.0) | plg_authentication_gmail (3.0.0) | plg_authentication_cookie (3.0.0) | PLG_INSTALLER_FOLDERINSTALLER (3.6.0) | PLG_INSTALLER_URLINSTALLER (3.6.0) | plg_installer_packageinstaller (3.6.0) | plg_extension_joomla (3.0.0) | plg_finder_contacts (3.0.0) | plg_finder_categories (3.0.0) | plg_finder_tags (3.0.0) | plg_finder_content (3.0.0) | plg_finder_newsfeeds (3.0.0) | plg_editors_tinymce (4.3.12) | plg_editors_codemirror (5.15.2) | plg_editors_jce (2.5.16) | Editor - RokPad (2.1.9) | plg_search_contacts (3.0.0) | plg_search_categories (3.0.0) | plg_search_tags (3.0.0) | plg_search_content (3.0.0) | plg_search_newsfeeds (3.0.0) | plg_system_log (3.0.0) | System - RokSprocket (2.1.12) | plg_system_languagecode (3.0.0) | System - RokBox (2.0.13) | plg_system_debug (3.0.0) | System - RokExtender (2.0.0) | plg_system_languagefilter (3.0.0) | plg_system_logout (3.0.0) | plg_system_highlight (3.0.0) | plg_system_remember (3.0.0) | plg_system_redirect (3.0.0) | System - RokBooster (1.1.15) | System - RokUpdater (1.0.8) | plg_system_stats (3.5.0) | plg_system_jce (2.5.16) | System - Gantry (4.1.31) | plg_system_p3p (3.0.0) | plg_system_sef (3.0.0) | System - RokCommon (3.2.4) | plg_system_updatenotification (3.5.0) | plg_system_cache (3.0.0) | System - RokCandy (2.0.2) | plg_editors-xtd_pagebreak (3.0.0) | plg_editors-xtd_article (3.0.0) | plg_editors-xtd_module (3.5.0) | Button - RokBox (2.0.13) | plg_editors-xtd_image (3.0.0) | plg_editors-xtd_readmore (3.0.0) | Button - RokCandy (2.0.2) | plg_user_profile (3.0.0) | plg_user_joomla (3.0.0) | plg_user_contactcreator (3.0.0) | plg_twofactorauth_totp (3.2.0) | plg_twofactorauth_yubikey (3.2.0) | plg_quickicon_joomlaupdate (3.0.0) | plg_quickicon_extensionupdate (3.0.0) | plg_quickicon_jcefilebrowser (2.5.16) | plg_captcha_recaptcha (3.4.0) | Chronoforms5 (V5.0) | plg_content_pagebreak (3.0.0) | plg_content_vote (3.0.0) | Content - RokBox (2.0.13) | plg_content_finder (3.0.0) | plg_content_pagenavigation (3.0.0) | plg_content_joomla (3.0.0) | plg_content_loadmodule (3.0.0) | plg_content_emailcloak (3.0.0) | Content - RokInjectModule (1.7) |
Templates Discovered :: wrote:Templates :: SITE :: beez3 (3.1.0) | rt_nuance (1.4) | protostar (1.0) |
Templates :: ADMIN :: isis (1.0) | hathor (3.0.0) |

User avatar
CircuitoX
Joomla! Intern
Joomla! Intern
Posts: 81
Joined: Sun Oct 25, 2009 10:48 pm
Contact:

Re: Upgrade from 3.5 -> 3.6.0 ends in update.finalise blank page & SQL err

Post by CircuitoX » Fri Sep 23, 2016 10:21 pm

Always is good advice have copy of originally files, when the update is wrong, you have to debug files and folders, copy folder from the backup and see the problem persist, (file by file or folder to folder) after done this you have to locate the file is causing problem.

Note: Remember always test your website with private navigation or browsing
Paginas web en arequipa: http://arequipa.nestormina.com/
Diseño de paginas web en cusco: http://www.nestormina.com

j3st3r
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Sun May 20, 2012 4:54 pm

Re: Upgrade from 3.5 -> 3.6.0 ends in update.finalise blank page & SQL err

Post by j3st3r » Mon Sep 26, 2016 10:19 am

Hi CircuitoX,

Thanx for your reply.

I have a copy/backup, that's how i ran the upgrade process several times (restore and re-try) in a few different ways.

I do not grasp the debug process your suggesting (restore files from my backup over the failed upgrade one's?), but i'm a bit reluctant to restore thousands of files one-by-one manually.

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 20652
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ Germany/ S'pore/Bogor/ North America
Contact:

Re: Upgrade from 3.5 -> 3.6.0 ends in update.finalise blank page & SQL err

Post by leolam » Tue Sep 27, 2016 4:15 am

Go to extension manager and clear cache and reload and use ->Discover. You will see com_joomlaupdate listed. Update that component and you can run the upgrade smoothly. If you cannot find it you can download and install it as normal extension https://github.com/joomla/joomla-cms/re ... -3.6.1.zip

Leo 8)
Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -

j3st3r
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Sun May 20, 2012 4:54 pm

Re: Upgrade from 3.5 -> 3.6.0 ends in update.finalise blank page & SQL err

Post by j3st3r » Wed Sep 28, 2016 8:36 am

Hi Leo,
Thanx for your reply.

I've done that (read the docs and your tips in other related threads) but the update of that component will not show up. Tried to manually install the component from your link on my current test-install-gone-bad, but get the same SQL error.

Will now restore a test install and:
  • Upgrade to from J!3.5.1 to 3.6.0
  • Fix database
  • Go to: Extensions > Manage > Discover
  • Clear Cache and run Discover / this only found the 3 joomla installer components (from URL,upload,folder) uptil now
  • Install the update component if it's discovered, otherwise download and install it manually
Will report back after.

j3st3r
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Sun May 20, 2012 4:54 pm

Re: Upgrade from 3.5 -> 3.6.0 ends in update.finalise blank page & SQL err

Post by j3st3r » Wed Sep 28, 2016 12:29 pm

Alas, this did not work either.
  • Ran the upgrade
  • fixed the db
  • cleared the cache and checked if there where extension updates > nope
  • did not go to the update sites and try to rebuild because in all my previous tests it got me the SQL error and and incomplete sites list
  • went to install the com_joomlaupdate manually, but could not, got a warning: "No installation plugin has been enabled. At least one must be enabled to be able to use the installer. Go to the Plugin Manager to enable the plugins."
  • as with the previous test, went to: Extensions > Manage > Discover
  • cleared the cache and ran "Discover", this found the 3 joomla installer components (from URL,upload,folder), installed them and enabled them
  • Now going to Extensions > manage > install, there's no more warning about the plugins and i can manually install the com_joomlaupdate component > installed without problem
  • go to Extensions > manage > update sites > a list of approx 20 sites (see one or two doubles - iirc for translations)
  • run the "Discover" > and the same SQL Error again and after that only a list of 6 (all joomla) site left
There's not much history to this site (started out as joomla 3.4.3) an not many extensions that could be in the way (and all quite reputable).


I'm at a lost here. I don't think i'm doing much out of the ordinary.

sovainfo
Joomla! Exemplar
Joomla! Exemplar
Posts: 8808
Joined: Sat Oct 01, 2011 7:06 pm

Re: Upgrade from 3.5 -> 3.6.0 ends in update.finalise blank page & SQL err

Post by sovainfo » Sun Oct 02, 2016 7:47 am

It is evident you don't understand the process properly! You need to do the right things in the right order!

1- Restore your J351 environment.
2- Update to J360, when that fails repair your infrastructure so it doesn't fail and start again at step 1.
3- Update Joomla Update to 361, when the update doesn't show: clean cache and find updates
4- Update to J362

Don't do anything else, report here when something stops you from following the above procedure.
Issue with migrating? Include logs/joomla_update.php in your report!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 20652
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ Germany/ S'pore/Bogor/ North America
Contact:

Re: Upgrade from 3.5 -> 3.6.0 ends in update.finalise blank page & SQL err

Post by leolam » Sun Oct 02, 2016 2:39 pm

I mentioned this to the original poster in another thread and in a thread posted here which was deleted by a moderator for non-specified reasons (nothing against forum rules but just reported my own double posted reply)

This was mentioned to OP with the remark that this is not a Joomla Bug which he questioned before

Regarding the steps (number #3) just to clarify: Update 'com_joomlaupdate' to the latest version (not 'Joomla Update')

so yes @Sovainfo you are completely right in your advise but it seems to go into 'closed' ears

Leo 8)
Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -

sovainfo
Joomla! Exemplar
Joomla! Exemplar
Posts: 8808
Joined: Sat Oct 01, 2011 7:06 pm

Re: Upgrade from 3.5 -> 3.6.0 ends in update.finalise blank page & SQL err

Post by sovainfo » Sun Oct 02, 2016 4:39 pm

#3 uses Joomla! Update because that is name of com_joomlaupdate mentioned in both the Components menu and Extensions->Manage->Update. Just noticed I forgot the ! in the name.

Then again, when you don't know you should use Joomla! Update to update, consider you a lost cause.
(@leolam, obviously not meaning you here, just making sure!)

Yeah, strange things happen here with moderating! No idea what happened. Just responded to the last post with a lot of nonsense!
Issue with migrating? Include logs/joomla_update.php in your report!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!

User avatar
tonytranupc
Joomla! Apprentice
Joomla! Apprentice
Posts: 30
Joined: Mon Sep 12, 2016 4:14 am

Re: Upgrade from 3.5 -> 3.6.0 ends in update.finalise blank page & SQL err

Post by tonytranupc » Sun Oct 09, 2016 10:41 am

leolam wrote:Go to extension manager and clear cache and reload and use ->Discover. You will see com_joomlaupdate listed. Update that component and you can run the upgrade smoothly. If you cannot find it you can download and install it as normal extension https://github.com/joomla/joomla-cms/re ... -3.6.1.zip

Leo 8)
Thanks for your suggestion. I will try it out as I'm facing the same problem.


Locked

Return to “Migrating and Upgrading to Joomla! 3.x”