Operating System Updates 4/23/2019 never completes

OS Update script delivered 4/23/2019 via system update never completes. It has been running for some 6 hours at this point with this:

Operating System Updates (In Progress)
Loaded plugins: fastestmirror, versionlock
Loading mirror speeds from cached hostfile
Resolving Dependencies
–> Running transaction check
—> Package asterisk-version-switch.noarch 0:5.1-2.sng7 will be updated
—> Package asterisk-version-switch.noarch 0:5.2-1.sng7 will be an update
—> Package htop.x86_64 0:2.2.0-1.el7 will be updated
—> Package htop.x86_64 0:2.2.0-3.el7 will be an update
—> Package incron.x86_64 0:0.5.10-10.sng7 will be updated
—> Package incron.x86_64 0:0.5.12-11.el7 will be an update
—> Package libidn2.x86_64 0:2.0.5-1.el7 will be updated
—> Package libidn2.x86_64 0:2.1.1a-1.el7 will be an update
—> Package libuv.x86_64 1:1.22.0-1.el7 will be updated
—> Package libuv.x86_64 1:1.27.0-1.el7 will be an update
—> Package libuv-devel.x86_64 1:1.22.0-1.el7 will be updated
—> Package libuv-devel.x86_64 1:1.27.0-1.el7 will be an update
—> Package openvpn.x86_64 0:2.4.6-1.el7 will be updated
—> Package openvpn.x86_64 0:2.4.7-1.el7 will be an update
—> Package redis.x86_64 0:3.2.12-1.el7 will be updated
—> Package redis.x86_64 0:3.2.12-2.el7 will be an update
–> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size

Updating:
asterisk-version-switch noarch 5.2-1.sng7 sng-pkgs 3.8 k
htop x86_64 2.2.0-3.el7 sng-epel 103 k
incron x86_64 0.5.12-11.el7 sng-epel 96 k
libidn2 x86_64 2.1.1a-1.el7 sng-epel 137 k
libuv x86_64 1:1.27.0-1.el7 sng-epel 134 k
libuv-devel x86_64 1:1.27.0-1.el7 sng-epel 32 k
openvpn x86_64 2.4.7-1.el7 sng-epel 522 k
redis x86_64 3.2.12-2.el7 sng-epel 544 k

Transaction Summary

Upgrade 8 Packages

Total download size: 1.5 M
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.

Total 4.8 MB/s | 1.5 MB 00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Updating : 1:libuv-1.27.0-1.el7.x86_64 1/16
Updating : 1:libuv-devel-1.27.0-1.el7.x86_64 2/16
Updating : libidn2-2.1.1a-1.el7.x86_64 3/16
Updating : asterisk-version-switch-5.2-1.sng7.noarch 4/16
Updating : openvpn-2.4.7-1.el7.x86_64 5/16
Updating : htop-2.2.0-3.el7.x86_64 6/16
Updating : redis-3.2.12-2.el7.x86_64 7/16
Updating : incron-0.5.12-11.el7.x86_64 8/16
Cleanup : 1:libuv-devel-1.22.0-1.el7.x86_64 9/16
Cleanup : asterisk-version-switch-5.1-2.sng7.noarch 10/16
Cleanup : 1:libuv-1.22.0-1.el7.x86_64 11/16
Cleanup : libidn2-2.0.5-1.el7.x86_64 12/16
Cleanup : openvpn-2.4.6-1.el7.x86_64 13/16
Cleanup : htop-2.2.0-1.el7.x86_64 14/16
Cleanup : redis-3.2.12-1.el7.x86_64 15/16
Cleanup : incron-0.5.10-10.sng7.x86_64 16/16
I’m doing Science and I’m still alive
Believe me, The script is still alive
Believe me, The script is still alive
I feel fantastic and I’m still alive
Upgrades are still being run
I feel fantastic and I’m still alive
I’m doing Science and I’m still alive
The Upgrade Script is still alive
The Upgrade Script is still alive
Sometimes this takes a while, but the script is still alive
I’m doing Science and I’m still alive
I feel fantastic and I’m still alive
Believe me, The script is still alive
I feel fantastic and I’m still alive
Upgrades are still being run
I’m doing Science and I’m still alive
I’m doing Science and I’m still alive
I feel fantastic and I’m still alive
I’m doing Science and I’m still alive
I’m still alive
Upgrades are still being run
I feel fantastic and I’m still alive
Believe me, The script is still alive
I’m still alive
The Upgrade Script is still alive
I feel fantastic and I’m still alive
The Upgrade Script is still alive
I’m doing Science and I’m still alive
Sometimes this takes a while, but the script is still alive
I’m still alive
Still alive
I feel fantastic and I’m still alive
The Upgrade Script is still alive
Believe me, The script is still alive
I’m doing Science and I’m still alive
I’m still alive
I’m doing Science and I’m still alive
The Upgrade Script is still alive
Upgrades are still being run
Still alive
Still alive
The Upgrade Script is still alive
I’m doing Science and I’m still alive
Sometimes this takes a while, but the script is still alive
Upgrades are still being run
I’m still alive
Progressing through upgrades
I’m still alive
Believe me, The script is still alive
Upgrades are still being run
I’m doing Science and I’m still alive
Progressing through upgrades
Still alive
Upgrades are still being run
I’m doing Science and I’m still alive
Sometimes this takes a while, but the script is still alive
Believe me, The script is still alive
I feel fantastic and I’m still alive
I’m still alive
I’m still alive
Believe me, The script is still alive
I feel fantastic and I’m still alive
I feel fantastic and I’m still alive
I’m doing Science and I’m still alive
I’m doing Science and I’m still alive
Sometimes this takes a while, but the script is still alive
The Upgrade Script is still alive
I feel fantastic and I’m still alive
Sometimes this takes a while, but the script is still alive
Upgrades are still being run
Sometimes this takes a while, but the script is still alive
Upgrades are still being run
I’m doing Science and I’m still alive
The Upgrade Script is still alive
Upgrades are still being run
I feel fantastic and I’m still alive
Sometimes this takes a while, but the script is still alive
Upgrades are still being run
Upgrades are still being run
I feel fantastic and I’m still alive
Progressing through upgrades
The Upgrade Script is still alive
I feel fantastic and I’m still alive
Believe me, The script is still alive
The Upgrade Script is still alive
I feel fantastic and I’m still alive
I’m still alive
Progressing through upgrades
Still alive

Is it ok to just tell it OK?

Thanks,
James

Yes it’s probably fine and completed.

I did press OK. Then checked System Updates and the status is “In Progress” so it is still running in the background.

If it doesn’t finish by tomorrow I’ll report back. I have two systems doing this, one is a Sangoma device and another that has been running for years…

Having the same issue, with two fresh Distro installs. Thought it was a server issue, spun up new instance, same problem. Thought VPS hosts copy of distro was no good, so I downloaded the latest copy from freepbx.org. Same issue, ran yum from CLI and it shows nothing to be updated, rebooted server, and it wont boot.

Doing an update on the CLI, it takes forever once it displays kmod-via-rhine

Part and parcel of kernel updates.

I just rebooted the server, there’s now two kernels, newest one wont boot. Reboot, choose second kernel and it boots fine, and seems to be up to date.

@Adamsffi not sure if your system is production or not.

I just reinstalled from the distro, and before I did anything else, I ran yum upgrade and it worked this time around, I am in the middle of finishing configs and module updates. Hopefully, this doesn’t continue.

There will be another kernel coming out shortly. You can already get it through installing ‘sangoma-devel’

What is your suggestion for systems that ran the update and now the GUI shows in progress for 8 hr.

I ran [[email protected] ~]# /usr/sbin/sysadmin_update_system --unlock
Error: Sysadmin updater not installed!

[[email protected] ~]# yum-complete-transaction
Loaded plugins: fastestmirror, versionlock
Loading mirror speeds from cached hostfile
There are 1 outstanding transactions to complete. Finishing the most recent one
The remaining transaction had 0 elements left to run
Nothing in the unfinished transaction to cleanup.
Cleaning up completed transaction file
[[email protected] ~]# ^C
[[email protected] ~]# yum-complete-transaction --cleanup-only
Loaded plugins: fastestmirror, versionlock
Loading mirror speeds from cached hostfile
No unfinished transactions left.

But still the update shows in progress.

FreePBX 14 systems and higher do not use /usr/sbin/sysadmin_update_system so dont run that

If the GUI shows progress but a yum upgrade says everything is done then the GUI is wrong

The GUI will break with these upgrades during upgrade because it upgrades httpd and so the connection is lost.

Either reboot the machine or run service httpd restart and you’ll be able to get back into the GUI

1 Like

Exact same problem here - just sits there after the icron cleanup - banging on about how it’s still alive (5 hours so far!) Meanwhile my system firewall is disabled… any way to close or cancel the update process?

Go to the CLI and see if yum is still running. Is it?

what’s the command to check? I tried yum update and it says no packages marked for update…

If you ran yum update and it did not have an issue with locking then the updates are complete. You can reboot or run service httpd restart. But its always best to reboot to make sure the kernel works. If it doesnt work you have the option to use the last 6ish kernels.

OK thanks - I’ll try that now. Been on this server all day - having rebuilt it from distro and restored from backup during the first half of the day. I’ll let you know what happens. Thanks again.

Hmm. Did httpd restart and it’s still sitting there banging on about how it’s still alive. I wish it wasn’t…! I’m remote SSH onto it at the moment so didn’t want to do a reboot without being there.

Loaded plugins: fastestmirror, versionlock
Loading mirror speeds from cached hostfile
No packages marked for update

just refresh the page. Stop waiting for it.

OK. Now the “Refresh Page” button keeps flashing “Loading…” then “Refresh Page”

Tim,

Just ignore the page. You are already updated