Unfortunately there was a power failure and it restarted at one of the earlier steps…
Before that happened I did notice that the script had went much further…
If this works then maybe the problem is broken dependencies but what is weird is that what works for someone might not work for someone else (like for mongodb).
I tried –skip-broken but simply has an argument to a normal yum upgrade which is, obviously, not how the upgrade script calls yum so maybe –skip-brokenmight work if it was added to the upgrade script…
I saw no errors in the logs so it looks like what had run/is running doesn’t need network connectivity. Hopefully once everything has completed maybe it will be restored…
It looks like I won’t know if it has worked until tomorrow as it is now time for me to go to sleep and it has not completed yet…
The good news is repeating things, doesn’t seem to make a difference. I just tried upgrading the same machine again and it did the same thing. So at least it is a repeatable experiment…
I have had the same issue with Idkeen and Marbled EXACTLY. I did “yum remove nodejs-docs” and “yum update --skip-broken” and it progressed. However when it stopped and i log in I get:
PHP Fatal error: Incompatible file format: The encoded file has format major ID 4, whereas the Loader expects 7 in /var/www/html/admin/modules/sysadmin/agi-bin/LoadLicenseIfExists.php on line 0
Whoops\Exception\ErrorException: Incompatible file format: The encoded file has format major ID 4, whereas the Loader expects 7 in file /var/www/html/admin/modules/sysadmin/agi-bin/LoadLicenseIfExists.php on line 0
Stack trace:
What I had on the screen was essentially what I had here:
and in the logs the last line I had was
yum -y upgrade
Looks like I will be reinstalling FreePBX 13 distro on that box this weekend… Let’s hope that backup works…
(It has a pretty complex setup for a home test server, not a setup I would like to redo, at least right now…)
Even if it had worked I was tempted to update the hardware because of a few things I noticed I wanted to improve but I don’t currently have the replacement hardware and I don’t want to unnecessarily use up my resets (which I assume I will have to do) since that box does have a few commercial modules even if it’s my home test server.
I have to go prepare to leave for work so things will stay as they are for like another 12 hours or so and most likely more if nobody has anything else to suggest doing…
Thank you and have a nice day (and good luck to people in the same situation that I am or that want to try to update anyway knowing the risks…)!
Actually, I believe the answer is a little more complex than that…
IiRC the Zend stuff is what is used to encode the commercial modules so that you cannot see their source code like you would normally do for something written in PHP…
I think that there is a mismatch somewhere in the PHP/Zend version and what is currently active doesn’t recognize the version of what it is asked to execute because it is a more recent version than what it is able to handle…
At least that is my interpretation of this but I am no PHP guru…
You can get a similar problem with Java when you compile into byte code with a more recent version of Java than the one you are trying to run the resulting class file with…
I will let someone else, hopefully a FreePBX dev, answer as they know this stuff a lot more than I do…
I wish I could tell you what is supposed to be active PHP/Zend version wise but my system is hosed as well so I cannot say what is supposed to be the winning combination…
Part of the process of switching from PHP 5.3 to PHP 5.6 we actually have to remove the commercial modules and redownload and install them to get the correct version for the newer version of PHP. Can you share your logs in a ticket so we can see where it stopped and why?
if i try to run a fwconsole command i get:
System Admin 13.0.74.4
Copyright 2017 by Schmoozecom, Inc., All rights reserved
By installing, copying, downloading, distributing, inspecting or using
the materials provided herewith, you agree to all of the terms of use as
outlined in our End User Agreement which can be found and reviewed at
i will create a ticket with the two files var/log/sngupdate
/var/log/post_sngupdate
Your issue is not because of YUM but rather the version of the commercial modules on your system not being compatible with PHP 5.6. Part of the upgrade is to remove the commercial modules (by doing an rm -rf on the folder) and replace it with new versions that support PHP 5.6, which is why I want to understand why that didn’t work for you.