Sorry, from time to time it most likely shows that English is not my native language…
What I wanted to say was
Was the problem fixed for her/him after he removed the package? I would try it but I won’t be able to for at least 6 more hours (my test system is at home…).
I see in the logs that I provided in the ticket that I seemed to have the same problem that he has (and one more with gnome-disk…)
I tried to run yum manually, ie not from the upgrade script, with the “–skip-broken” switch since this is what yum was suggesting me to do. It didn’t work as yum was apparently trying to download additional packages and name resolution doesn’t work on my system right now (and the network card is up).
I know that the outbound DNS traffic (port 53 UDP and TCP) is allowed by my firewall (and I even relaxed my rules to even more than they were) so I know it’s not a firewalling problem.
If I had to guess I would think it’s a problem with the wrong version of libresolv being used or something like that as everything else seems OK confguration-wise…
I replied to your question on the ticket, I use
127.0.0.1
8.8.8.8
172.16.2.1
First one is the one you (FreePBX devs) suggest putting first IIIRC, I believe it’s a DNS cache…
Second one is one of Google’s DNSes…
Third one is a DNS forwarder provided by my firewall… (pfSense)
Normally 172.16.2.1 would be before Google’s DNS but I had been testing something…
I tried to comment out 127.0.0.1 just in case there might be a problem with it and it made no difference (anyway it should have fallen back by itself to the others by itself but I just wanted to be it was not to blame…
@Marbled You should be able to remove nodejs-docs as thats included with the nodejs rpm we are using in the new SNG7 distribution. As for the DNS, still not sure why that’s happening yet.
That’s what I intended to do when I get home though I am not sure if it will help in my case since “–skip-broken” should have helped with this I think…
I am assuming conflicting librairies…
(Though if I have library problems on this system other things should be affected…)
The config seems ok though I guess if removing the package and rebooting the system doesn’t fix it for me I might try manually retyping the content in case something in the file prevents it from being parsed correctly…
The thing I don’t get is why this doesn’t always happen…
I guess in my case the improper subnet mask problem I had (and the fact the new distro doesn’t like in one bit while the old one didn’t complain) caused something quite unplanned at what is most likely a critical step but nobody help reported something like that (at least yet!) so what caused this problem for the others, I wonder…
@Marbled - YES removing nodejs-docs fixed the problem and I was able to complete the upgrade. FYI - I also had to manually remove the vmware stuff (yum remove vmware*)
I am hitting a similar issue but I don’t see the problem being nodejs-docs (I could be reading the logs wrong), and I see now indication of DNS issues.
Mongodb is added for xmpp however it should be replaced as part of the upgrade with the SNG7 version which looks like it’s happening for some But not all.
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…