FreePBX can no longer update when going to GUI > Admin > System Updates > Check Online.
The page shows:
Current System Update Status: Idle
Last Online Check Status: 3 minutes ago (Yum Error)
Last System Update: Unknown (System updates not run since last reboot)
Updates Available: Unable to run ‘yum check-updates’, can’t check for updates
I updated all modules to the latest version (this works).
When I try to run yum update or yum check-updates I get the error: Cannot find a valid baseurl for repo: base/7-5.1805.02.el7.sangoma/x86_64
I tried running fwconsole chown and fwconsole ma updateall which both run without errors.
The server is rebooted/reloaded several times now.
Im running official distro: PBX Firmware: 12.7.5-1902-3.sng7
I would look at DNS and/or routing that may be an issue. You mentioned that when you try to run YUM manually, that you are getting an error. Perhaps the system cannot find it.
Check your DNS: cat /etc/resolv.conf and see what is listed there. Try pinging some random address such as foxnews.com or cnn.com and see if they resolve. If not, you may have a DNS issue.
You may also have a corrupted yum config file, but that is unlikely, as it should be locked to the root user, and wouldn’t be changed often.
Thanks for you reply. I ran yum to update the system. All went fine and when logging though SSH I see:
±-----------------------------------------------------------+
| Your system is currently up to date! |
| Your PBX is up to date. |
| Also 37 Disabled modules and 1 Uninstalled module.
So the last yum update went fine. However the dashboard didn’t reflect this so I tried to yum again and thats when the error came out. So it looks like that last update broke the updates.
I pinged several addresses and all are working fine.
The resolv.conf has 8.8.8.8 and 8.8.4.4
fwconsole ma upgradeall still works after the updates.
I understand the confusion. I mean the first screen when you SSH that says
| Your system is currently up to date! |
| Your PBX is up to date. |
| Also 37 Disabled modules and 1 Uninstalled module.
Now it says Your System is currently up to date instead of xx updates pending.
So thanks for clearing this up for the people who think that my yum isn’t working because I mixed dashboard and initial SSH screen. I just meant that when I SSHéd after the yum upgrade nothing changed that’s why I ran it again. Then it said no more updates available and since then YUM is no longer working.
Since you’re not getting any pointers, it sounds like it’s time for a ticket. You should submit an Issues ticket and explain what you did that got you to this juncture.