The upgrade wizard is not working in 7.10.5., and since it will be needed soon for upgrades I need help. I did try in the Github Bug report, but it seems like the developers could not reproduce my problem, and obviously it is not a bug.
The āmain frameā is left blank, please see video. https://drive.google.com/file/d/1Knyf58R5_de7bVnKxtwZFohj3lTWJ_Cu/view
Does anybody suffer from same problem? My guess is that this is cache related or file permissions related. Everything within the upload directory is chmod 755 for folders and 644 for files, so that should not cause the issue.
Environment: MariaDB 10.2.8, PHP 7.1.17, Apache 2.4.6, OS Rel 7.5
PHP is excecuted via PHP-FPM.
Note! This is an upgrade instance, gone through all steps from Sugar CE Version 6.5.24 (Build 509) to current Suite CRM Version 7.10.5 - Sugar Version 6.5.25 (Build 344)
The upgrade wizard did work fine on 7.10.4, did the upgrade to 7.10.5 through that.
There are several things you can check:
In php.ini, ensure you have generous settings for
- memory_limit
- max_upload_size
- max_execution_time
About the permissions, those values donāt mean much without ownerships. Did you also chown, or did you only chmod?
Finally, sometimes itās worth clearing up left-overs from previously failed attempts. You can rename directories under āupload/upgradesā to achieve this.
Try all these things and tell me how it goes.
1 Like
I have checked everything and gone through the PHP logs as well as the Sugar Logs. Absolutely nothing found! The permissions and ownerships are both ok. Folders chmod 755 and files 644. Owner for all is the apache user.
Can you try the recommended permissions?
sudo chown -R apache:apache .
sudo chmod -R 755 .
sudo chmod -R 775 cache custom modules themes data upload
sudo chmod -R 775 config_override.php 2>/dev/null
This lead to an error:
./upgradeWizard.log could not be created/written to. Please fix permissions on your SuiteCRM directory.
Please remember that we use PHP-FPM not modphp! Your suggestion does not apply for PHP-FPM. Now we have a lot of permission errors⦠but we will roll back.
From the PHP error log I got following:
[Tue May 29 12:59:] [proxy_fcgi:error] [pid 13081:tid] [client XX.XX.35.122:54270] AH01071: Got error āPHP message: PHP Notice: Array to string conversion in /home/www/btbcrm/public_html/include/formbase.php on line 209\nā
memory_limit = 256 Mb
max_execution_time = 600 s
max_input_time = 600 s
max_upload_size = 60 Mb
Sorry, when you said āapache userā I thought you meant the user was actually named āapacheā (it sometimes is). If itās named something else you need to adapt the chown.
In the config.php, I donāt usually write āsā after the times in seconds, I just use the number, nothing else. I do use āMBā for the sizes, though.
For that PHP notice, do you have any actual problem associated with it, or is it just a message in the log? Notices are usually safe to ignore.
The āsā and āMbā was only for your exact understanding not from the log. And yes of course I replaced the āApacheā with the proper username we use. Regarding the log it is just a message, no real error.