Upgrade from 7.9.9 to 7.8

So many things…

“The upgrade in the admin has never been working.” - that’s a serious problem, you have a broken system

Your suitecrm log is full of fatal errors, most of them are from that add-on. You should try to solve those errors. If they’re fatal, they are stopping PHP from running. Anything can break after that.

Your upgrade log complains about not finding sugar_version.php, it should be in the root directory of your installation. Is it there?

Running your cron.php as root will cause you problems, see https://github.com/salesagility/SuiteCRM/issues/2787

You have a failed upgrade using an unsupported method that you only mentioned casually after a dozen posts… maybe you can try asking the author of that script how to fix your problems?

1 Like

Dear Tagedani,

Welcome at SuiteCRM Forums!

Your #total posts shows 10 only. May be you have very good experience working at SugarCRM or forks. We’d recognized that.

However, you need to sense what @pgr has intended to convey.

See you haven’t got a good way of presenting things with likely facts of the problem!

Had you undertaken enough efforts to elaborate the nature of problems & all possibly contemplate-able reasons behind the problem, it would have been better for all who are attempting to help you out.

pgr is absolutely correct to rectify you when he says that your installation is not up to the mark, if you had your ‘Upgrade Wizard’ not working properly ever. You should have taken all remedial steps then & there only. Because ‘Upgrade Wizard’ is most complete & accurate method of upgrading SuiteCRM, and rarely fails (if any).

If you have backup of your previous installation, why don’t you install it on your localhost (development) and correct all errors first,. Next you can easily migrate to 7.8.

With thanks,

RK

1 Like

For any one interested, I just found a post by Jim Mackin (SalesAgility employee, author of eBook “SuiteCRM for Developers”) explaining the SuiteCRM silent install:

http://www.jsmackin.co.uk/suitecrm/suitecrm-command-line-install/

This doesn’t make it an official, supported install method (it’s on his private blog), but it does bring us some confidence. Useful stuff.

Same problem here. Furtunately I did a backup!

This is my environment:
MySQL: 5.5.41-0+wheezy1
Apache/2.2.22 (Debian)
PHP 5.4.45-0+deb7u3

Command performed as www-data:
php -f silentUpgrade.php SuiteCRM-Upgrade-7.7.x-to-7.8.zip upgrade.log /var/www/crm.mysite.com suitecrm

upgrade.log:

Mon, 06 Feb 2017 09:59:51 +0100 [UpgradeWizard] - *** SILENT UPGRADE INITIATED.
Mon, 06 Feb 2017 09:59:51 +0100 [UpgradeWizard] - *** UpgradeWizard Upgraded
Mon, 06 Feb 2017 09:59:51 +0100 [UpgradeWizard] - Wait Timeout before change ***** 28800
Mon, 06 Feb 2017 09:59:51 +0100 [UpgradeWizard] - Wait Timeout after change ***** 28800
Mon, 06 Feb 2017 09:59:51 +0100 [UpgradeWizard] - Starting post_install()…
Mon, 06 Feb 2017 09:59:52 +0100 [UpgradeWizard] - At updateVersions()… updating config table and sugar_version.php.
Mon, 06 Feb 2017 09:59:52 +0100 [UpgradeWizard] - *** ERROR: no sugar_version.php file location found! - cannot complete upgrade…
Mon, 06 Feb 2017 09:59:56 +0100 [UpgradeWizard] - Performing UWrebuild()…
Mon, 06 Feb 2017 09:59:56 +0100 [UpgradeWizard] - UWrebuild() done.
Mon, 06 Feb 2017 09:59:56 +0100 [UpgradeWizard] - begin check default permissions .
Mon, 06 Feb 2017 09:59:56 +0100 [UpgradeWizard] - end check default permissions .
Mon, 06 Feb 2017 09:59:56 +0100 [UpgradeWizard] - begin check logger settings .
Mon, 06 Feb 2017 09:59:56 +0100 [UpgradeWizard] - begin check logger settings .
Mon, 06 Feb 2017 09:59:56 +0100 [UpgradeWizard] - begin check lead conversion settings .
Mon, 06 Feb 2017 09:59:56 +0100 [UpgradeWizard] - end check lead conversion settings .
Mon, 06 Feb 2017 09:59:56 +0100 [UpgradeWizard] - begin check resource settings .
Mon, 06 Feb 2017 09:59:56 +0100 [UpgradeWizard] - begin check resource settings .
Mon, 06 Feb 2017 09:59:56 +0100 [UpgradeWizard] - Set default_theme to Sugar
Mon, 06 Feb 2017 09:59:56 +0100 [UpgradeWizard] - Set default_max_tabs to 7
Mon, 06 Feb 2017 09:59:56 +0100 [UpgradeWizard] - Upgrade the sugar_version
Mon, 06 Feb 2017 09:59:56 +0100 [UpgradeWizard] - post_install() done.
Mon, 06 Feb 2017 09:59:56 +0100 [UpgradeWizard] - Registering upgrade with UpgradeHistory
Mon, 06 Feb 2017 09:59:57 +0100 [UpgradeWizard] - **** Potential PHP generated error messages:
Mon, 06 Feb 2017 10:00:01 +0100 [UpgradeWizard] - Upgrading user preferences start .
Mon, 06 Feb 2017 10:00:01 +0100 [UpgradeWizard] - Upgrading user preferences finish .
Mon, 06 Feb 2017 10:00:01 +0100 [UpgradeWizard] - Call deleteCache
Mon, 06 Feb 2017 10:00:01 +0100 [UpgradeWizard] - About to repair the database.
Mon, 06 Feb 2017 10:00:09 +0100 [UpgradeWizard] - database repaired
Mon, 06 Feb 2017 10:00:09 +0100 [UpgradeWizard] - Start rebuild relationships.
Mon, 06 Feb 2017 10:00:13 +0100 [UpgradeWizard] - End rebuild relationships.
Mon, 06 Feb 2017 10:00:13 +0100 [UpgradeWizard] - Begin merge_config_si_settings
Mon, 06 Feb 2017 10:00:13 +0100 [UpgradeWizard] - Loading config.php file at (/var/www/crm.mysite.com/config.php) for merging.
Mon, 06 Feb 2017 10:00:13 +0100 [UpgradeWizard] - config_si.php file at () could not be found. Skip merging.
Mon, 06 Feb 2017 10:00:13 +0100 [UpgradeWizard] - End merge_config_si_settings
Mon, 06 Feb 2017 10:00:13 +0100 [UpgradeWizard] - Begin upgrade_connectors
Mon, 06 Feb 2017 10:00:13 +0100 [UpgradeWizard] - End upgrade_connectors
Mon, 06 Feb 2017 10:00:13 +0100 [UpgradeWizard] - Skipping unsupported image file type (17) for file sugar_icon.ico
Mon, 06 Feb 2017 10:00:13 +0100 [UpgradeWizard] - Skipping unsupported image file type (13) for file SugarPlanet.swf
Mon, 06 Feb 2017 10:00:13 +0100 [UpgradeWizard] - Skipping unsupported image file type (17) for file sugar_icon.ico
Mon, 06 Feb 2017 10:00:13 +0100 [UpgradeWizard] - Skipping unsupported image file type (17) for file sugar_icon.ico
Mon, 06 Feb 2017 10:00:16 +0100 [UpgradeWizard] - Taking out the trash, unlinking temp files.
Mon, 06 Feb 2017 10:00:17 +0100 [UpgradeWizard] - Taking out the trash, done.
Mon, 06 Feb 2017 10:00:17 +0100 [UpgradeWizard] - **** Potential PHP generated error messages:
Mon, 06 Feb 2017 10:00:17 +0100 [UpgradeWizard] - ***** SilentUpgrade completed successfully.

Any ideas?

Thanks,
Stenio

I restored the backup, and upgraded via the menu to 7.8 and found problem, and I found a new update to 7.8.1 I updated this via the admin menu, and now the calendar is gone.

regards Tage Danielsen

You are doing things far too quickly.

Please clear your browser cache, and run Quick Repair & Rebuild, after every upgrade if something goes amiss.

With thanks,

RK

I have clered browser and tryed 2 other browsers, with same result Calendar is gone.

Regards Tage

This morning I tried to upgrade to the new version 7.8.1 using the Upgrade Wizard instead of the command from the command line that I’ve always used and it worked!

Regards,
Stenio

OK that is nice for you, and you can go on, but I have a system without calendar, what can I do?

Regards Tage

@tagedani you need to improve your methodology, make it tighter and thorough:

If an upgrade has an error, stop everything and focus on that. Go into the logs (suitecrm.log, php_errors.log, upgrade.log) and solve every ERROR and FATAL issue you find there.

If your upgrade goes through correctly, but then you have an error (and a blank screen counts as an error), go into the logs (suitecrm.log, php_errors.log) and solve every ERROR and FATAL issue you find there.

If you ask for help in the forums, and you are given 5 suggestions or questions, answer all 5 of them, not just the a part. If you read the posts above carefully, they are a festival of unanswered questions, unclear information, unresolved errors.

I am saying this in all good intention and I sincerely wish you good luck in your troubleshooting of this problem.

So now you can enter the admin area?
As that was your initial issue you should edit the topic forum as solved (you forget to edit it in first place as I requested to make it more detailed!).

On the Calendar missing you should create a new topic with the new issue
(and please make the new topic with a subject more detailed like “Calendar missing after updating to 7.8.1”)

Hello I had the same problem, i’ve resolved it by using CHROME (this tips doesn’t work with safari or IE, it might work with firefox ?) as browser and i used “TAB” instead of mouse to navigate inside the admin’s section (because the theme’s problem prevents you to reach this link) until i’ve reached the “repair” link and, after that, just push on “enter” for running the repair link and finally the “repair” tool has finished the update process and corrected the databases modifications.

I know this is not a technical response but it works. Just a tip just in case :slight_smile:

Thanks I have tryed that, but it do not work. But thanks for giving me a tip.
Best Regards
Tage Danielsen