Upgrade 10.13.66-18 stuck

Using FreePBX Distro. Tried the update from GUI and got stuck, then ran:

/usr/sbin/sysadmin_update_system --unlock

Then cleared the upgrade subdirectory in:
/usr/tmp

And ran the upgrade manually from the command line but got stuck again. Here are the latest lines. Any idea?

Downloading & Installing vmblast…
Starting vmblast download…
Processing vmblast
Verifying local module download…Verified
Extracting…Done
Module vmblast successfully downloaded
Upgrading vmblast to add audio_label field…Not Required
Upgrading vmblast to add password field…Not Required
Dropping grplist…Not Needed
Generating CSS…Done
Module vmblast successfully installed
Updating Hooks…Done

Downloading & Installing vmnotify…
Starting vmnotify download…
Processing vmnotify
Verifying local module download…Verified
Extracting…Done
Module vmnotify successfully downloaded
Adding message retention feature Feature present
Generating CSS…Done
Module vmnotify successfully installed
Updating Hooks…Done

Downloading & Installing voicemail_report…
Starting voicemail_report download…
Processing voicemail_report
Verifying local module download…Verified
Extracting…Done
Module voicemail_report successfully downloaded
Generating CSS…Done
Module voicemail_report successfully installed
Updating Hooks…Done

Downloading & Installing vqplus…
Starting vqplus download…
Processing vqplus
Verifying local module download…Verified
Extracting…Done
Module vqplus successfully downloaded
creating table virtual_queue_config if needed
creating table vqplus_queue_config if needed
creating table vqplus_qrule_config if needed
creating table vqplus_qrule_detail if needed
creating table vqplus_callback_config if needed
creating table vqplus_callback_calls if needed
creating table vqplus_callback_log if needed
checking for upil field…already exists
checking for lazymembers field…already exists
checking for promptcb field…already exists
checking for retrydelay field…already exists
checking for announcement field…already exists
checking for position field…already exists
0Generating CSS…Done
Module vqplus successfully installed
Updating Hooks…Done

Downloading & Installing webcallback…
Starting webcallback download…
Processing webcallback
Verifying local module download…Verified
Extracting…Done
Module webcallback successfully downloaded
Generating CSS…Done
Module webcallback successfully installed
Updating Hooks…Done

Downloading & Installing webrtc…
Starting webrtc download…
Processing webrtc
Verifying local module download…Verified
Extracting…Done
Module webrtc successfully downloaded
Generating CSS…Done
Module webrtc successfully installed
Updating Hooks…Done

Downloading & Installing zulu…
Starting zulu download…
Processing zulu
Verifying local module download…Verified
Extracting…Done
Module zulu successfully downloaded
Installing/Updating Required Libraries. This may take a while…The following messages are ONLY FOR DEBUGGING. Ignore anything that says ‘WARN’ or is just a warning
[npm-cache] [INFO] using /home/asterisk/.package_cache as cache directory
[npm-cache] [INFO] [composer] Dependency config file /var/www/html/admin/modules/zulu/node/composer.json does not exist. Skipping install
[npm-cache] [INFO] [npm] config file exists
[npm-cache] [INFO] [npm] cli exists
[npm-cache] [INFO] [npm] hash of /var/www/html/admin/modules/zulu/node/package.json: 6b4ac5fc6c004e6ef216e9d42967bab9
[npm-cache] [INFO] [npm] cache exists
[npm-cache] [INFO] [npm] clearing installed dependencies at /var/www/html/admin/modules/zulu/node/node_modules
[npm-cache] [INFO] [npm] …cleared
[npm-cache] [INFO] [npm] retrieving dependencies from /home/asterisk/.package_cache/npm/2.15.11/6b4ac5fc6c004e6ef216e9d42967bab9.tar.gz
[npm-cache] [INFO] [bower] Dependency config file /var/www/html/admin/modules/zulu/node/bower.json does not exist. Skipping install
[npm-cache] [INFO] [npm] done extracting
[npm-cache] [INFO] successfully installed all dependencies

Finished updating libraries!
Generating CSS…Done
Module zulu successfully installed
Updating Hooks…Done

Done. All modules installed.
Updating Hooks…Done
Taking too long? Customize the chown command, See http://wiki.freepbx.org/display/FOP/FreePBX+Chown+Conf
Setting Permissions…
Collecting Files…Done
56956/56956 [============================] 100%
Finished setting permissions
Removing dangling symlink /home/asterisk/.node/bin/npm-cache which points to a file that no longer exists
Removing dangling symlink /home/asterisk/.node/lib/node_modules/npm-cache/node_modules/.bin/shjs which points to a file that no longer exists
Removing dangling symlink /home/asterisk/.node/lib/node_modules/npm-cache/node_modules/.bin/rimraf which points to a file that no longer exists
Removing dangling symlink /home/asterisk/.node/lib/node_modules/npm-cache/node_modules/.bin/which which points to a file that no longer exists
Removing dangling symlink /home/asterisk/.node/lib/node_modules/npm-cache/node_modules/fstream/node_modules/.bin/mkdirp which points to a file that no longer exists
Removing dangling symlink /home/asterisk/.node/lib/node_modules/npm-cache/node_modules/nomnom/node_modules/chalk/node_modules/.bin/strip-ansi which points to a file that no longer exists
Removing dangling symlink /home/asterisk/.node/lib/node_modules/npm-cache/node_modules/tar-fs/node_modules/.bin/mkdirp which points to a file that no longer exists
Reloading FreePBX
Successfully reloaded
No repos specified, using: [standard,extended,commercial] from last GUI settings

Up to date.
All modules up to date.
Updating Hooks…Done
Taking too long? Customize the chown command, See http://wiki.freepbx.org/display/FOP/FreePBX+Chown+Conf
Setting Permissions…
Collecting Files…Done
57007/57007 [============================] 100%
Finished setting permissions
Reloading FreePBX
Successfully reloaded

STAGE 1 COMPLETED - GUI Modules - Moving to Stage 2

STAGE 2 STARTING - RPMs

Replace repos with only FreePBX Distro since some people have added other repos which can break updates

Moving to Next Step

Update Asterisk RPMs
Loaded plugins: fastestmirror, kmod
Setting up Update Process
Loading mirror speeds from cached hostfile
base | 2.0 kB 00:00
extras | 1.3 kB 00:00
pbx | 2.9 kB 00:00
schmooze-commercial | 2.9 kB 00:00
updates | 1.3 kB 00:00
Resolving Dependencies
→ Running transaction check
—> Package asterisk13-flite.x86_64 0:13.12.1-1.shmz65.1.39 will be updated
—> Package asterisk13-flite.x86_64 0:13.13.1-1.shmz65.1.44 will be an update
—> Package asterisk13-flite-debuginfo.x86_64 0:13.12.1-1.shmz65.1.39 will be updated
—> Package asterisk13-flite-debuginfo.x86_64 0:13.13.1-1.shmz65.1.44 will be an update
→ Finished Dependency Resolution

Dependencies Resolved

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

Updating:
asterisk13-flite x86_64 13.13.1-1.shmz65.1.44 pbx 7.0 k
asterisk13-flite-debuginfo x86_64 13.13.1-1.shmz65.1.44 pbx 12 k

Transaction Summary

Upgrade 2 Package(s)

Total download size: 19 k
Downloading Packages:
(1/2): asterisk13-flite-13.13.1-1.shmz65.1.44.x86_64.rpm | 7.0 kB 00:00
(2/2): asterisk13-flite-debuginfo-13.13.1-1.shmz65.1.44.x86_64.rpm | 12 kB 00:00

Total 124 kB/s | 19 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : asterisk13-flite-13.13.1-1.shmz65.1.44.x86_64 1/4
Updating : asterisk13-flite-debuginfo-13.13.1-1.shmz65.1.44.x86_64 2/4
Cleanup : asterisk13-flite-debuginfo-13.12.1-1.shmz65.1.39.x86_64 3/4
Cleanup : asterisk13-flite-13.12.1-1.shmz65.1.39.x86_64 4/4
Verifying : asterisk13-flite-debuginfo-13.13.1-1.shmz65.1.44.x86_64 1/4
Verifying : asterisk13-flite-13.13.1-1.shmz65.1.44.x86_64 2/4
Verifying : asterisk13-flite-debuginfo-13.12.1-1.shmz65.1.39.x86_64 3/4
Verifying : asterisk13-flite-13.12.1-1.shmz65.1.39.x86_64 4/4

Updated:
asterisk13-flite.x86_64 0:13.13.1-1.shmz65.1.44 asterisk13-flite-debuginfo.x86_64 0:13.13.1-1.shmz65.1.44

Complete!

Problem was corrected by uninstalling all modules that were not installed previous to the upgrade and running the upgrade script from the command line.

Forgot to mention that I had to restart the following modules before running the upgrade as I noticed they weren’t running (Dashboard showed that):
fwconsole restart ucpnode
fwconsole restart restapps

I have those 2 modules uninstalled.
Do I need to re-install them if I don’t use Sysadmin
but run the upgrade from the command line?

@dcitelecom The upgrade process will install ALL modules, so you may need to restart them if you see then down in the Dashboard before running the upgrade.

1 Like

@dcitelecom Also try increasing the amount of memory (If you are running the PBX on a virtual machine). How much memory do you have?

4GB. Haven’t run the upgrade yet and will test on a dummy machine first but thought I’d ask since you just went through it.

@dcitelecom That amount of memory is enough. You should be OK.