Upgrade from 7.4.x to 7.5 Problems

No missing files that I see. here’s the end of the upgradeWizard.log file:
Fri, 22 Jan 2016 18:17:10 +0000 [UpgradeWizard] - Commit step finished SugarMerge run with the following results:Array
(
[SugarFeed] => Array
(
)

[Connectors] => Array
    (
    )

[Leads] => Array
    (
    )

[Prospects] => Array
    (
    )

[Opportunities] => Array
    (
    )

[Accounts] => Array
    (
    )

[ACLRoles] => Array
    (
        [detailviewdefs.php] => 
    )

[Project] => Array
    (
    )

[Users] => Array
    (
    )

[Contacts] => Array
    (
    )

[ProjectTask] => Array
    (
    )

)

Fri, 22 Jan 2016 18:17:10 +0000 [UpgradeWizard] - Starting file copy process…
Fri, 22 Jan 2016 18:17:15 +0000 [UpgradeWizard] - File copy done.
Fri, 22 Jan 2016 18:17:15 +0000 [UpgradeWizard] - Starting post_install()…
Fri, 22 Jan 2016 18:17:15 +0000 [UpgradeWizard] - Entered post_install function.

and nothing in the actual apache error log

My upgradeWizard.log is the same as ibrent, however my sugarcrm.log shows:

Starting a merge in DetailViewMerge

Fri Jan 22 23:33:35 2016 [1651][1][DEBUG] merging the following files

Fri Jan 22 23:33:35 2016 [1651][1][DEBUG] original file:modules/ACLRoles/metadata/detailviewdefs.php

Fri Jan 22 23:33:35 2016 [1651][1][DEBUG] new file:/var/www/crm/cache/upgrades/temp/d8P6KZ/SuiteCRM-Upgrade-7.5RC-to-7.5/modules/ACLRoles/metadata/detailviewdefs.php

Fri Jan 22 23:33:35 2016 [1651][1][DEBUG] custom file:custom/modules/ACLRoles/metadata/detailviewdefs.php

Fri Jan 22 23:33:36 2016 [1651][1][FATAL] custom clean up log: file will remove: custom/Extension/application/Ext/EntryPointRegistry/FP_events_EntryPoint.php
Fri Jan 22 23:33:36 2016 [1651][1][FATAL] custom clean up log: file will remove: custom/Extension/application/Ext/EntryPointRegistry/image_field.php
Fri Jan 22 23:33:36 2016 [1651][1][FATAL] custom clean up log: file will remove: custom/Extension/application/Ext/Extensions/aow_workflow.php
Fri Jan 22 23:33:36 2016 [1651][1][FATAL] custom clean up log: file will remove: custom/Extension/application/Ext/Include/Advanced OpenEvents.php
Fri Jan 22 23:33:36 2016 [1651][1][FATAL] custom clean up log: file will remove: custom/Extension/application/Ext/Include/AdvancedOpenDiscovery.php
Fri Jan 22 23:33:36 2016 [1651][1][FATAL] custom clean up log: file will remove: custom/Extension/application/Ext/Include/AdvancedOpenPortal.php
Fri Jan 22 23:33:36 2016 [1651][1][FATAL] custom clean up log: file will remove: custom/Extension/application/Ext/Include/AdvancedOpenReports.php
Fri Jan 22 23:33:36 2016 [1651][1][FATAL] custom clean up log: file will remove: custom/Extension/application/Ext/Include/AdvancedOpenSales.php
Fri Jan 22 23:33:36 2016 [1651][1][FATAL] custom clean up log: file will remove: custom/Extension/application/Ext/Include/AdvancedOpenWorkflow.php
Fri Jan 22 23:33:36 2016 [1651][1][FATAL] custom clean up log: file will remove: custom/Extension/application/Ext/Include/Google_Maps_20131011.php
Fri Jan 22 23:33:36 2016 [1651][1][FATAL] custom clean up log: file will remove: custom/Extension/application/Ext/Include/Reschedule.php
Fri Jan 22 23:33:36 2016 [1651][1][FATAL] custom clean up log: file will remove: custom/Extension/application/Ext/Include/SecurityGroups.php
Fri Jan 22 23:33:36 2016 [1651][1][FATAL] custom clean up log: file will remove: custom/Extension/application/Ext/Language/en_us.AdvancedOpenPortal.php
Fri Jan 22 23:33:36 2016 [1651][1][FATAL] custom clean up log: file will remove: custom/Extension/application/Ext/Language/en_us.AdvancedOpenReports.php
Fri Jan 22 23:33:36 2016 [1651][1][FATAL] custom clean up log: file will remove: custom/Extension/application/Ext/Language/en_us.AdvancedOpenSales.php
Fri Jan 22 23:33:36 2016 [1651][1][FATAL] custom clean up log: file will remove: custom/Extension/application/Ext/Language/en_us.AdvancedOpenWorkflow.php
Fri Jan 22 23:33:36 2016 [1651][1][FATAL] custom clean up log: file will remove: custom/Extension/application/Ext/Language/en_us.GanttChartPro.php
Fri Jan 22 23:33:36 2016 [1651][1][FATAL] custom clean up log: file will remove: custom/Extension/application/Ext/Language/en_us.Google_Maps_20131011.php
Fri Jan 22 23:33:36 2016 [1651][1][FATAL] custom clean up log: file will remove: custom/Extension/application/Ext/Language/en_us.Reschedule.php
Fri Jan 22 23:33:36 2016 [1651][1][FATAL] custom clean up log: file will remove: custom/Extension/application/Ext/Language/en_us.SecurityGroups.php
Fri Jan 22 23:33:36 2016 [1651][1][FATAL] custom clean up log: file will remove: custom/Extension/application/Ext/Language/en_us.Social.php
Fri Jan 22 23:33:36 2016 [1651][1][FATAL] custom clean up log: file will remove: custom/Extension/application/Ext/Language/en_us.social_fields.php
Fri Jan 22 23:33:36 2016 [1651][1][FATAL] custom clean up log: file will remove: custom/Extension/application/Ext/Language/en_us.sps.php
Fri Jan 22 23:33:36 2016 [1651][1][FATAL] custom clean up log: file will remove: custom/Extension/application/Ext/Language/en_us.suitecrm.php
Fri Jan 22 23:33:36 2016 [1651][1][FATAL] custom clean up log: file will remove: custom/Extension/application/Ext/TableDictionary/am_projecttemplates_project_1.php
Fri Jan 22 23:33:36 2016 [1651][1][FATAL] custom clean up log: file will remove: custom/Extension/application/Ext/TableDictionary/am_tasktemplates_am_projecttemplates.php
Fri Jan 22 23:33:36 2016 [1651][1][FATAL] custom clean up log: file will remove: custom/Extension/application/Ext/TableDictionary/aos_contracts_documents.php
Fri Jan 22 23:33:36 2016 [1651][1][FATAL] custom clean up log: file will remove: custom/Extension/application/Ext/TableDictionary/aos_quotes_aos_contracts.php
Fri Jan 22 23:33:36 2016 [1651][1][FATAL] custom clean up log: file will remove: custom/Extension/application/Ext/TableDictionary/aos_quotes_aos_invoices.php
Fri Jan 22 23:33:36 2016 [1651][1][FATAL] custom clean up log: file will remove: custom/Extension/application/Ext/TableDictionary/aos_quotes_project.php
Fri Jan 22 23:33:36 2016 [1651][1][FATAL] custom clean up log: file will remove: custom/Extension/application/Ext/TableDictionary/aow_processed_aow_actions.php
Fri Jan 22 23:33:36 2016 [1651][1][FATAL] custom clean up log: file will remove: custom/Extension/application/Ext/TableDictionary/fp_event_locations_fp_events_1.php
Fri Jan 22 23:33:36 2016 [1651][1][FATAL] custom clean up log: file will remove: custom/Extension/application/Ext/TableDictionary/fp_events_contacts.php
Fri Jan 22 23:33:36 2016 [1651][1][FATAL] custom clean up log: file will remove: custom/Extension/application/Ext/TableDictionary/fp_events_fp_event_delegates_1.php
Fri Jan 22 23:33:36 2016 [1651][1][FATAL] custom clean up log: file will remove: custom/Extension/application/Ext/TableDictionary/fp_events_fp_event_locations_1.php
Fri Jan 22 23:33:36 2016 [1651][1][FATAL] custom clean up log: file will remove: custom/Extension/application/Ext/TableDictionary/fp_events_leads_1.php
Fri Jan 22 23:33:36 2016 [1651][1][FATAL] custom clean up log: file will remove: custom/Extension/application/Ext/TableDictionary/fp_events_prospects_1.php
Fri Jan 22 23:33:36 2016 [1651][1][FATAL] custom clean up log: file will remove: custom/Extension/application/Ext/TableDictionary/jjwg_maps_jjwg_areas.php
Fri Jan 22 23:33:36 2016 [1651][1][FATAL] custom clean up log: file will remove: custom/Extension/application/Ext/TableDictionary/jjwg_maps_jjwg_markers.php
Fri Jan 22 23:33:36 2016 [1651][1][FATAL] Exception in Controller: file not found for clean: custom/Extension/application/Ext/TableDictionary/project_contacts_1.php
Fri Jan 22 23:33:36 2016 [1651][1][DEBUG] Hook called: ::handle_exception
Fri Jan 22 23:33:36 2016 [1651][1][DEBUG] Hook called: ::server_round_trip
Fri Jan 22 23:33:36 2016 [1651][1][DEBUG] Calling MySQLi::disconnect()
Fri Jan 22 23:33:36 2016 [1490][-none-][DEBUG] current_language is: en_us
Fri Jan 22 23:33:36 2016 [1490][-none-][DEBUG] Found cache backend SugarCacheWincache
Fri Jan 22 23:33:36 2016 [1490][-none-][DEBUG] Found cache backend SugarCacheAPC
Fri Jan 22 23:33:36 2016 [1490][-none-][DEBUG] Found cache backend SugarCachesMash

this is the fatal error stopped the upgrade wizard. The same error i have had. Try adding an empty file and reload the blank page upgrade wizard. You must repeat it for other 2-3 files. At the end the upgrade wizard will complete the upgrade successfully.

Thank you… the error moved to the next file as you said, but ive now created about 10 empt files (think i must have been cleaning up the directories and deleting empty files or something), but log now shows :

Sat Jan 23 01:50:28 2016 [2504][1][FATAL] custom clean up log: load logic hook file: /custom/modules/Accounts/logic_hooks.php
Sat Jan 23 01:50:28 2016 [2504][1][FATAL] custom clean up log: load file contents: /var/www/crm/custom/modules/Accounts/logic_hooks.php
Sat Jan 23 01:50:28 2016 [2504][1][FATAL] Exception in Controller: /custom/modules/Accounts/logic_hooks.php file does not contains “custom/modules/Accounts/AccountsJjwg_MapsLogicHook.php”

both logic_hooks.php and AccountsJjwg_MapsLogicHook.php exist.

contents of logic_hooks.php is :-

<?php // Do not store anything in this file that is not part of the array or the hook version. This file will // be automatically rebuilt in the future. $hook_version = 1; $hook_array = Array(); // position, file, function $hook_array["'after_ui_frame] = Array(); $hook_array["'before_save'] = Array(); $hook_array["'after_save'] = Array(); $hook_array["'after_relationship_add'] = Array(); $hook_array["'after_relationship_delete'] = Array(); note (i added the " to display the post) and AccountsJjwg_MapsLogicHook.php:- is at http://pastebin.com/NeknpYfb

It not seems related to missed file but related to the content of the file.

This is my custom/modules/Accounts/logic_hooks.php (7.4.1)

<?php // Do not store anything in this file that is not part of the array or the hook version. This file will // be automatically rebuilt in the future. $hook_version = 1; $hook_array = Array(); // position, file, function $hook_array['after_ui_frame'] = Array(); $hook_array['before_save'] = Array(); $hook_array['before_save'][] = Array(77, 'updateGeocodeInfo', 'custom/modules/Accounts/AccountsJjwg_MapsLogicHook.php','AccountsJjwg_MapsLogicHook', 'updateGeocodeInfo'); $hook_array['after_save'] = Array(); $hook_array['after_save'][] = Array(77, 'updateRelatedMeetingsGeocodeInfo', 'custom/modules/Accounts/AccountsJjwg_MapsLogicHook.php','AccountsJjwg_MapsLogicHook', 'updateRelatedMeetingsGeocodeInfo'); $hook_array['after_save'][] = Array(78, 'updateRelatedProjectGeocodeInfo', 'custom/modules/Accounts/AccountsJjwg_MapsLogicHook.php','AccountsJjwg_MapsLogicHook', 'updateRelatedProjectGeocodeInfo'); $hook_array['after_save'][] = Array(79, 'updateRelatedOpportunitiesGeocodeInfo', 'custom/modules/Accounts/AccountsJjwg_MapsLogicHook.php','AccountsJjwg_MapsLogicHook', 'updateRelatedOpportunitiesGeocodeInfo'); $hook_array['after_save'][] = Array(80, 'updateRelatedCasesGeocodeInfo', 'custom/modules/Accounts/AccountsJjwg_MapsLogicHook.php','AccountsJjwg_MapsLogicHook', 'updateRelatedCasesGeocodeInfo'); $hook_array['after_relationship_add'] = Array(); $hook_array['after_relationship_add'][] = Array(77, 'addRelationship', 'custom/modules/Accounts/AccountsJjwg_MapsLogicHook.php','AccountsJjwg_MapsLogicHook', 'addRelationship'); $hook_array['after_relationship_delete'] = Array(); $hook_array['after_relationship_delete'][] = Array(77, 'deleteRelationship', 'custom/modules/Accounts/AccountsJjwg_MapsLogicHook.php','AccountsJjwg_MapsLogicHook', 'deleteRelationship'); and the upgrade wizard here has going on custom clean up log: update logic hook: custom/modules/Accounts/AccountsJjwg_MapsLogicHook.php - logic hook module: Accounts custom clean up log: update logic hook in custom/modules/Accounts/AccountsJjwg_MapsLogicHook.php for module: [Accounts] custom clean up log: custom cleaned filename: custom/modules/Accounts/AccountsJjwg_MapsLogicHook.php => modules/Accounts/AccountsJjwg_MapsLogicHook.php custom clean up log: load logic hook file: /custom/modules/Accounts/logic_hooks.php custom clean up log: load file contents: /home/20501-11015.cloudwaysapps.com/dtscrjbuzu/public_html/custom/modules/Accounts/logic_hooks.php custom clean up log: change contents of /custom/modules/Accounts/logic_hooks.php custom clean up log: file will remove: custom/modules/Accounts/AccountsJjwg_MapsLogicHook.php
1 Like

also having the same issue

Thanks Venoh, i finally got there, but am not sure what the implications will be.

I copied your Account logichook file and ended up having to update the logichooks for most of the modules from github. I also had to change the paths within each file by adding ‘custom/’

After creating lots of blank files and updating logichooks the upgrade completed; but with a load of php warning errors about missing files. http://pastebin.com/q80YRL4P

hard going but so far everything seems to work

thank you

I also experienced the same way here, the upgrade wizard suddenly went blank,and i can’t get it back, please anyone help us on this

I was able to restart the wizard by deleting the cache folder.
Then had to create and update the files as Ventoh explained.
Refreshing the white page after each fix allowed the wizard to step forward to the next file

Hi Bungle,

There are some folders in cache folder under root folder of SuiteCRM, may i know which cache folder that you mean to be cleared ?

Hi Bungle,

I have found out the folder to be cleared off which is in /SuiteCRM/cache/upgrades/temp/

I have this can also help others who experience the same way like i had, but still unable to fix the previous problems , even though it’s already explained by Vetoh, but I think anyone who has plan to upgrade better wait for the patched one version of 7.5

Hello there,
You do not have to delete everything in the cache.

Go to cache / upgrades / upgradewizard.php and renamed it in upgradewizard.php_old - or something, then you can start upgrad wizard normally and delete the uploaded Upgrade.

Quick repair and you can try a new approach or wait for the bug-fix release.

1 Like

Since I didn’t have cache/upgrades/upgradewizard.php - I deleted cache/upgrades/upgrade_progress.php.
Upgrade wizard shows!
Thank you! :slight_smile:

Mine is even worse - I have lost the dashboard and the entire admin panel, so I can’t get into the upgrade wizard to attempt a re-run. Everything else seems to be working though.

Even worse, we have lost not only the admin, all users get a blank screen.

Can you turn on errors, either server/system wide or within the index.php so that the error is displayed?

We’re working on building and testing a bug-fix release and will inform you as soon as it has been released.

Kind Regards,

Will.

Where does this setting change need to be made? In index.php or config.php?

Am I better off restoring from backup at this point in time? And if so, is it just a case of re-importing my pre-upgrade database dump and restoring all the /var/www files?

I changed in php.ini to allow error output and got:

Parse error: syntax error, unexpected ‘[’ in /var/www/SugarCRM/modules/AOR_Reports/AOR_Report.php on line 215

This line is: “public function buildMultiGroupReport($offset = -1, $links = true, $level = 2, $path = []) {”

Is this path missing from the upgrade?

In my case this was related to PHP version. What PHP version do you have?

I have 5.3.10 (on Ubuntu 12.04 LTS)