mcarcadex Posted February 26, 2019 Report Posted February 26, 2019 Hi, im currently running blesta v3.6.2, and was planning to upgrade to 4.4.2 and at the same time upgrade php from 5.6 to 7. What is "best practice" in this upgrade? should i upgrade to newest blesta before i upgrade php?
Paul Posted February 26, 2019 Report Posted February 26, 2019 Never do 2 things at once. Since 4.4.2 supports PHP 5.6, I suggest doing the upgrade of Blesta first, then upgrading PHP. Backup database + files 3.6->4.4 is a long way, I suggest upgrading to 4.0, then 4.4.2. See the upgrade docs at https://docs.blesta.com/display/user/Upgrading+Blesta for an important list of files that must be deleted when upgrading from 3.x. After you are up and running on 4.4.2 on PHP 5.6, and upgrade PHP, then you will need to apply the right hotfix in the blesta-4.4.2.zip file, hotfix-php7 for PHP 7.0, and hotfix-php71 for PHP 7.1 or 7.2. Michael 1
Tyson Posted February 26, 2019 Report Posted February 26, 2019 I left a detailed response to exactly this question yesterday Michael 1
mcarcadex Posted February 27, 2019 Author Report Posted February 27, 2019 Well, the upgrade went ok, but the page is left blank when voiding invoices and when using the wizard order template (Standard order template works as normal) a simple click on the url-bar and clicking enter fixes it, but its annoying for the average user, any suggestions? Im currently on blesta 4.4.2, php 5.6 (not yet updated to php7) UPDATE: Upgraded to php7 and did the fixes, still the same bug
Paul Posted February 27, 2019 Report Posted February 27, 2019 5 hours ago, mcarcadex said: Well, the upgrade went ok, but the page is left blank when voiding invoices and when using the wizard order template (Standard order template works as normal) a simple click on the url-bar and clicking enter fixes it, but its annoying for the average user, any suggestions? Im currently on blesta 4.4.2, php 5.6 (not yet updated to php7) UPDATE: Upgraded to php7 and did the fixes, still the same bug Did you run /admin/upgrade without error? White pages are generally errors, check your error logs ../logs_blesta/ typically, but defined under Settings > System > General. If you can tail all the logs via SSH (tail -f /path/to/logs_blesta/*) while you refresh those white pages, any errors will be displayed. Otherwise, you'll have to download the log files and open them up and check timestamps.
mcarcadex Posted February 28, 2019 Author Report Posted February 28, 2019 https://hastebin.com/aduzidubuj.log Update: Changed the log directory in blesta to a unwriteable folder, that fixed the problem.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now