FreePBX 17 Installation Failure - File Integrity failed for /var/www/html/admin/modules/_cache/framework-17.0.33.2.tgz.gpg

I have just created a Debian 12 VPS server.
Updated all the modules to bring them to the latest state.

I then fired the below command for a script-based install.

wget ``https://github.com/FreePBX/sng_freepbx_debian_install/raw/master/sng_freepbx_debian_install.sh`` -O /tmp/sng_freepbx_debian_install.sh

My installation stalled with this error:

2026-10-27 08:43:21 - Installing FreePBX 17
2026-10-27 08:43:21 - Installing ioncube-loader-82 …
2026-10-27 08:43:23 - ioncube-loader-82 installed successfully…
2026-10-27 08:43:23 - Installing freepbx17 …
2026-10-27 08:46:07 - freepbx17 installed successfully…
2026-10-27 08:46:07 - Installing all local modules
2026-10-27 08:46:08 - Upgrading FreePBX 17 modules
2026-10-27 08:47:08 - Installation failed at step Upgrading FreePBX 17 modules. Please check log /var/log/pbx/freepbx17-install-2026.10.27-08.37.20.log for details.
2026-10-27 08:47:08 - Displaying last 10 lines from the log file
Module(s) requiring upgrades: api, areminder, backup, bulkhandler, calendar, callforward, callrecording, cdr, cdrpro, cel, certman, conferencespro, contactmanager, core, dashboard, directory, endpoint, filestore, findmefollow, framework, hotelwakeup, iaxsettings, logfiles, manager, missedcall, music, oracle_connector, paging, pagingpro, parking, parkpro, pbxmfa, pinsets, pms, printextensions, queues, queuestats, qxact_reports, recording_report, recordings, restapps, sangomaconnect, sangomacrm, sangomartapi, scribe, sipstation, soundlang, superfecta, sysadmin, tts, ucp, userman, voicemail, voicemail_report, vqplus
Upgrading module ‘framework’ from 17.0.19.32 to 17.0.33.2
Downloading module ‘framework’
Processing framework
Downloading…
0/17355885 [>---------------------------]   0%
753/17355885 [>---------------------------]   0%The following error(s) occured:

File Integrity failed for /var/www/html/admin/modules/_cache/framework-17.0.33.2.tgz.gpg - aborting (sha1 did not match)
2026-10-27 08:47:08 - ****** INSTALLATION FAILED *****
2026-10-27 08:47:08 - Error at line: 1307 exiting with code 2 (last command was: fwconsole ma upgradeall >> “$log”)
2026-10-27 08:47:08 - Exiting script
root@localhost:/tmp#


What should I do??

Please help.

Thanks!!

That error means the downloaded framework package didn’t match its expected checksum, and the log shows the download stopping almost immediately (753 of 17355885 bytes), so it was most likely a truncated or corrupted download rather than anything wrong with your Debian setup.

Things I’d try:

  1. Delete the cached file under /var/www/html/admin/modules/_cache/ and run “fwconsole ma upgradeall” again so it re-downloads cleanly.
  2. Check the VPS can reach the module servers reliably (DNS, a firewall, or a proxy rewriting traffic can cut downloads short). Try “fwconsole ma downloadinstall framework” by itself and watch whether it completes.
  3. If it fails the same way each time, retry later, since a stale mirror/CDN copy can also cause a bad hash.

If it still fails, post the output of those commands and the log file mentioned in the installer.

(Drafted with AI help.)