7.8.5 Upgrade showing blank screen

I’m trying to upgrade 7.8.5 to 7.10.25, but I run into a problem I can’t solve. When using the upgrade wizard, it performs a system check, and then takes me to an empty page, with the menu still visible on top, no errors are thrown.

I don’t know what relevant info I can post here, various solutions I found and tried are not working for me, I set all permissions to 775 and still hit the same error.

Any ideas?

Hi, welcome to the Community! :tada:

Can you please try finding some message in your logs at the time of the error?

Thanks for quick response, I seemed to have a little problem with paths in my backup, but after doing some changing around, I get different problem instead of blank page I get 500 internal error and these logs in suitecrm.log:

Fri Apr 17 12:20:14 2020 [15560][e208713f-c2cd-debd-551c-5d81f78d6ae7][ERROR] Cannot create directory upload://upgrades/full cannot be touched
Fri Apr 17 12:20:14 2020 [15560][e208713f-c2cd-debd-551c-5d81f78d6ae7][ERROR] Cannot create directory upload://upgrades/langpack cannot be touched
Fri Apr 17 12:20:14 2020 [15560][e208713f-c2cd-debd-551c-5d81f78d6ae7][ERROR] Cannot create directory upload://upgrades/module cannot be touched
Fri Apr 17 12:20:14 2020 [15560][e208713f-c2cd-debd-551c-5d81f78d6ae7][ERROR] Cannot create directory upload://upgrades/patch cannot be touched
Fri Apr 17 12:20:14 2020 [15560][e208713f-c2cd-debd-551c-5d81f78d6ae7][ERROR] Cannot create directory upload://upgrades/theme cannot be touched

You need to check your file ownerships/permissions to make sure SuiteCRM can write there.

Other things may be blocking it - .htaccess rules for example.

I made sure the permissions for folders in error message are 777, same error. Could you give me a hint about what should I look for in .htaccess as I have no expirience working with those files.

Please give me some information about your system, OS version, PHP version… and tell me whether you have SSH/console access, and admin rights.

Try going in Admin / Repair and run a Rebuild htaccess

Server is from shared hosting so we don’t have access to everything, but
OS version is Linux 4.0.6,
PHP version is php5,
I have access SSH access but no admin rights.

Rebuilding htaccess yielded the same resault as before.

PHP is 5

Which 5? It needs to be at least 5.6, see here

Yeah, it’s exactly 5.6.

Can you try clearing these two directories an starting the upgrade again?

cache/upgrades/temp

uploads/upgrades/patch

I cleared them out, there was only one empty progress file in cache/upgrades/temp.
I got the 500 Internal Error again, and again these error messages:

> Thu Apr 23 12:24:14 2020 [20462][e208713f-c2cd-debd-551c-5d81f78d6ae7][ERROR] Cannot create directory upload://upgrades/full cannot be touched
> Thu Apr 23 12:24:14 2020 [20462][e208713f-c2cd-debd-551c-5d81f78d6ae7][ERROR] Cannot create directory upload://upgrades/langpack cannot be touched
> Thu Apr 23 12:24:14 2020 [20462][e208713f-c2cd-debd-551c-5d81f78d6ae7][ERROR] Cannot create directory upload://upgrades/module cannot be touched
> Thu Apr 23 12:24:14 2020 [20462][e208713f-c2cd-debd-551c-5d81f78d6ae7][ERROR] Cannot create directory upload://upgrades/patch cannot be touched
> Thu Apr 23 12:24:14 2020 [20462][e208713f-c2cd-debd-551c-5d81f78d6ae7][ERROR] Cannot create directory upload://upgrades/theme cannot be touched

Checked privileges for those folders to make sure they are 777, and they are.

Something else must be blocking access, it could be your .htaccess, or some anti-virus, or SELinux…

I couldn’t solve the problem on the server, so I decided to download app and database to try and upgrade suitecrm version locally.

I managed to get through upgrade process without trouble until the very end, upon finishing the upgrade, the app changed into series of hyperlinks and errors like so:

Upon loading the page in suitecrm.log several errors like this are thrown:
Edit: in log below error shows as unformatted HTML

Fri May 15 12:58:25 2020 [9472][e208713f-c2cd-debd-551c-5d81f78d6ae7][FATAL] Catch an error: [Notice] Undefined index: sidebartoggle occurred in C:\upgradeTest\cache\smarty\templates_c%%F9^F94^F946E606%%header.tpl.php on line 38 [2020-05-15 12:58:25]
Trace info:
C:\upgradeTest\cache\smarty\templates_c%%F9^F94^F946E606%%header.tpl.php[L:38](:StackTraceErrorHandler)
C:\xampp\htdocs\upgradeTests\vendor\smarty\smarty\libs\Smarty.class.php[L:1263](:include)
C:\xampp\htdocs\upgradeTests\include\Sugar_Smarty.php[L:163](Smarty:fetch)
C:\xampp\htdocs\upgradeTests\vendor\smarty\smarty\libs\Smarty.class.php[L:1113](Sugar_Smarty:fetch)
C:\xampp\htdocs\upgradeTests\include\MVC\View\SugarView.php[L:779](Smarty:display)
C:\xampp\htdocs\upgradeTests\include\MVC\View\SugarView.php[L:203](SugarView:displayHeader)
C:\xampp\htdocs\upgradeTests\include\MVC\Controller\SugarController.php[L:435](SugarView:process)
C:\xampp\htdocs\upgradeTests\include\MVC\Controller\SugarController.php[L:375](SugarController:processView)
C:\xampp\htdocs\upgradeTests\include\MVC\SugarApplication.php[L:113](SugarController:execute)
C:\xampp\htdocs\upgradeTests\index.php[L:52](SugarApplication:execute)

Fri May 15 12:58:25 2020 [9472][e208713f-c2cd-debd-551c-5d81f78d6ae7][FATAL] Catch an error: [Notice] Undefined index: email_warning_notifications occurred in C:\xampp\htdocs\upgradeTests\modules\Administration\Administration.php on line 84 [2020-05-15 12:58:25]

I couldn’t find anyone having similar problem on the web so I decided to post my problem here.
Php version I have locally is 7.2.
Upgrade was from suitecrm 7.8.5 to 7.10.25.

Ealier I thought it might be an issue with theme as I had old black and red theme on so I restored the pre-upgrade version and changed my theme to SuiteP and tried the update again with the same resaults.

Have a look here and see if it makes any difference - Debugging steps for use in upgrade version prior to 7.11.11 and 7.10.23