I just tried to install FreePBX 17 on Debian 12.15/x86_64, using installation script. This ended with error (the last few lines):
…
2026-08-12 12:26:07 - Installing asterisk22-snmp …
2026-08-12 12:26:12 - asterisk22-snmp installed successfully…
2026-08-12 12:26:12 - Installing asterisk22-speex …
2026-08-12 12:26:17 - asterisk22-speex installed successfully…
2026-08-12 12:26:17 - Installing asterisk22-sqlite3 …
2026-08-12 12:26:22 - asterisk22-sqlite3 installed successfully…
2026-08-12 12:26:22 - Installing asterisk22-res-digium-phone …
2026-08-12 12:26:27 - asterisk22-res-digium-phone installed successfully…
2026-08-12 12:26:27 - Installing asterisk22-voicemail …
2026-08-12 12:26:32 - asterisk22-voicemail installed successfully…
2026-08-12 12:26:32 - Installing asterisk22.0-freepbx-asterisk-modules …
2026-08-12 12:26:36 - asterisk22.0-freepbx-asterisk-modules installed successfully…
2026-08-12 12:26:37 - Installing asterisk-version-switch …
2026-08-12 12:26:41 - asterisk-version-switch installed successfully…
2026-08-12 12:26:41 - Installing asterisk-sounds-* …
2026-08-12 12:29:29 - asterisk-sounds-* installed successfully…
2026-08-12 12:29:29 - Installing FreePBX packages
2026-08-12 12:29:29 - Installing sysadmin17 …
2026-08-12 12:29:44 - sysadmin17 installed successfully…
2026-08-12 12:29:44 - Installing sangoma-pbx17 …
2026-08-12 12:29:59 - sangoma-pbx17 installed successfully…
2026-08-12 12:29:59 - Installing ffmpeg …
2026-08-12 12:30:05 - ffmpeg installed successfully…
2026-08-12 12:30:05 - Enabling modules.
2026-08-12 12:30:05 - Restarting fail2ban
2026-08-12 12:30:06 - Installing FreePBX 17
2026-08-12 12:30:06 - Installing ioncube-loader-82 …
2026-08-12 12:30:11 - ioncube-loader-82 installed successfully…
2026-08-12 12:30:11 - Installing freepbx17 …
2026-08-12 12:38:51 - freepbx17 installed successfully…
2026-08-12 12:38:51 - Installing all local modules
2026-08-12 12:38:55 - Upgrading FreePBX 17 modules
2026-08-12 12:59:44 - Installation failed at step Upgrading FreePBX 17 modules. Please check log /var/log/pbx/freepbx17-install-2026.08.12-12.13.58.log for details.
2026-08-12 12:59:44 - Displaying last 10 lines from the log file
Chowning directories…Done
Chowning directories…Done
Chowning directories…PHP Fatal error: Maximum execution time of 750 seconds exceeded in /var/www/html/admin/libraries/Console/Chown.class.php on line 456
Whoops\Exception\ErrorException: Maximum execution time of 750 seconds exceeded in file /var/www/html/admin/libraries/Console/Chown.class.php on line 456
Stack trace:
- Whoops\Exception\ErrorException->() /var/www/html/admin/libraries/Console/Chown.class.php:456
- Whoops\Run->handleError() /var/www/html/admin/libraries/Composer/vendor/filp/whoops/src/Whoops/Run.php:510
- Whoops\Run->handleShutdown() [internal]:0
2026-08-12 12:59:44 - ****** INSTALLATION FAILED *****
2026-08-12 12:59:44 - Error at line: 1307 exiting with code 255 (last command was: fwconsole ma upgradeall >> “$log”)
2026-08-12 12:59:44 - Exiting script
and /var/log/pbx/freepbx17-install-2026.08.12-12.13.58.log tail is:
…
Extracting…Done
Download completed in 2 seconds
Updating tables virtual_queue_config, vqplus_queue_config, vqplus_qrule_config, vqplus_qrule_detail, vqplus_callback_config, vqplus_callback_calls, vqplus_callback_log, vqplus_callback_daemon_log, vqplus_qpause_codes…Done
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
Running installation..
npm WARN deprecated [email protected]: uuid@10 and below is no longer supported. For ESM codebases, update to uuid@latest. For CommonJS codebases, use uuid@11 (but be aware this version will likely be deprecated in 2028).
added 17 packages, and audited 18 packages in 3s
3 vulnerabilities (1 moderate, 1 high, 1 critical)
To address issues that do not require attention, run:
npm audit fix
Some issues need review, and may require choosing
a different dependency.
Run npm audit for details.
Finished updating libraries!
Generating CSS…Done
Module vqplus version 17.0.11 successfully installed
Updating Hooks…Done
Chowning directories…Done
All upgrades completed successfully!
Updating Hooks…Done
Chowning directories…Done
Chowning directories…Done
Chowning directories…Done
Chowning directories…Done
Chowning directories…Done
Chowning directories…Done
Chowning directories…Done
Chowning directories…Done
Chowning directories…Done
Chowning directories…Done
Chowning directories…Done
Chowning directories…Done
Chowning directories…Done
Chowning directories…Done
Chowning directories…Done
Chowning directories…Done
Chowning directories…Done
Chowning directories…Done
Chowning directories…Done
Chowning directories…Done
Chowning directories…Done
Chowning directories…Done
Chowning directories…Done
Chowning directories…Done
Chowning directories…Done
Chowning directories…Done
Chowning directories…Done
Chowning directories…Done
Chowning directories…Done
Chowning directories…Done
Chowning directories…Done
Chowning directories…Done
Chowning directories…Done
Chowning directories…Done
Chowning directories…Done
Chowning directories…Done
Chowning directories…Done
Chowning directories…Done
Chowning directories…Done
Chowning directories…Done
Chowning directories…Done
Chowning directories…Done
Chowning directories…Done
Chowning directories…PHP Fatal error: Maximum execution time of 750 seconds exceeded in /var/www/html/admin/libraries/Console/Chown.class.php on line 456
Whoops\Exception\ErrorException: Maximum execution time of 750 seconds exceeded in file /var/www/html/admin/libraries/Console/Chown.class.php on line 456
Stack trace:
- Whoops\Exception\ErrorException->() /var/www/html/admin/libraries/Console/Chown.class.php:456
- Whoops\Run->handleError() /var/www/html/admin/libraries/Composer/vendor/filp/whoops/src/Whoops/Run.php:510
- Whoops\Run->handleShutdown() [internal]:0
2026-08-12 12:59:44 - ****** INSTALLATION FAILED *****
2026-08-12 12:59:44 - Error at line: 1307 exiting with code 255 (last command was: fwconsole ma upgradeall >> “$log”)
2026-08-12 12:59:44 - Exiting script
/var/www/html/admin/libraries/Console/Chown.class.php at line 456 :
435 public function chgrp($progress, $files, $group, $recursive = false) {
436 foreach ($this->toIterator($files) as $file) {
437 if(!is_null($progress)) {
438 $progress->advance();
439 }
440 if(!file_exists($file)) {
441 continue;
442 }
443 if($this->checkBlacklist($file)){
444 $this->d(sprintf(_('%s skipped by configuration'), $file));
445 continue;
446 }
447 if ($recursive && is_dir($file) && !is_link($file)) {
448 $this->chgrp($progress, new \FilesystemIterator($file), $group, true);
449 }
450 if (is_link($file) && function_exists('lchgrp')) {
451 $this->d("Setting ".$file." group owner: ".$group);
452 if (true !== @lchgrp($file, $group) || (defined('HHVM_VERSION') && !posix_getgrnam($group))) {
453 throw new IOException(sprintf('Failed to chgrp file "%s".', $file), 0, null, $file);
454 }
455 } else {
*456 if (true !== @chgrp($file, $group)) {
457 $this->d("Setting ".$file." group owner: ".$group);
458 throw new IOException(sprintf('Failed to chgrp file "%s".', $file), 0, null, $file);
459 }
460 }
461 }
462 }
`
I can't think of where the problem could be. Can anyone advise?
Thanks in advance, Franta H.