Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Can't launch tiredofit/freepbx:14 #208

Open
Serg1289 opened this issue Mar 28, 2023 · 0 comments
Open

Can't launch tiredofit/freepbx:14 #208

Serg1289 opened this issue Mar 28, 2023 · 0 comments

Comments

@Serg1289
Copy link

Hi,
I ran docker run -d -p 80:80 tiredofit/freepbx:14 on Docker for Windows but couldn't start FreePBX:

2023-03-28 09:26:50 [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
2023-03-28 09:26:50 [s6-init] ensuring user provided files have correct perms...exited 0.
2023-03-28 09:26:50 [fix-attrs.d] applying ownership & permissions fixes...
2023-03-28 09:26:50 [fix-attrs.d] 01-s6: applying...
2023-03-28 09:26:51 [fix-attrs.d] 01-s6: exited 0.
2023-03-28 09:26:51 [fix-attrs.d] 02-zabbix: applying...
2023-03-28 09:26:51 [fix-attrs.d] 02-zabbix: exited 0.
2023-03-28 09:26:51 [fix-attrs.d] 03-logrotate: applying...
2023-03-28 09:26:51 [fix-attrs.d] 03-logrotate: exited 0.
2023-03-28 09:26:51 [fix-attrs.d] done.
2023-03-28 09:26:51 [cont-init.d] executing container initialization scripts...
2023-03-28 09:26:51 [cont-init.d] 01-permissions: executing...
2023-03-28 09:26:51 [cont-init.d] 01-permissions: exited 0.
2023-03-28 09:26:51 [cont-init.d] 02-zabbix: executing...
2023-03-28 09:26:52 WARNING 'failregex' not defined in 'Definition'. Using default one: ''
2023-03-28 09:26:52 WARNING 'failregex' not defined in 'Definition'. Using default one: ''
2023-03-28 09:26:56 cp: target '/data/' is not a directory
2023-03-28 09:27:16 bash: line 0: cd: /home/asterisk/: No such file or directory
2023-03-28 09:26:51 [cont-init.d] 02-zabbix: exited 0.
2023-03-28 09:26:51 [cont-init.d] 03-cron: executing...
2023-03-28 09:26:51 **** [cron] Enabling Cron
2023-03-28 09:26:51 [cont-init.d] 03-cron: exited 0.
2023-03-28 09:26:51 [cont-init.d] 04-smtp: executing...
2023-03-28 09:26:51 **** [smtp] Sendmail replaced and enabled to route mail to: postfix-relay
2023-03-28 09:26:51 [cont-init.d] 04-smtp: exited 0.
2023-03-28 09:26:51 [cont-init.d] 05-fail2ban: executing...
2023-03-28 09:26:51 ** [fail2ban] Starting Fail2ban
2023-03-28 09:26:53 Starting authentication failure monitor: fail2ban.
2023-03-28 09:26:53 [cont-init.d] 05-fail2ban: exited 0.
2023-03-28 09:26:53 [cont-init.d] 09-mariadb: executing...
2023-03-28 09:26:54 Stopping MariaDB database server: mysqld.
2023-03-28 09:26:54 ** [mysql] New Embedded Database Detected, setting up..
2023-03-28 09:26:56 Starting MariaDB database server: mysqld ..
2023-03-28 09:26:56 [cont-init.d] 09-mariadb: exited 0.
2023-03-28 09:26:56 [cont-init.d] 10-freepbx: executing...
2023-03-28 09:26:56 ** [freepbx] Creating Default Configuration Files
2023-03-28 09:26:56 ** [freepbx] Setting File Permissions
2023-03-28 09:26:56 ** [freepbx] New Install Detected - Please wait while we fetch FreePBX - Will take 3 to 30 minutes!
2023-03-28 09:27:10
2023-03-28 09:27:10
2023-03-28 09:27:10 STARTING ASTERISK
2023-03-28 09:27:16 Asterisk Started
2023-03-28 09:27:16 ** [freepbx] Installing FreePBX
2023-03-28 09:27:16 Assuming you are Database Root
2023-03-28 09:27:16 Checking if SELinux is enabled...Its not (good)!
2023-03-28 09:27:16 No /etc/asterisk/asterisk.conf file detected. Installing...Writing /etc/asterisk/asterisk.conf...Done
2023-03-28 09:27:16 Checking if Asterisk is running and we can talk to it as the 'asterisk' user...Error!
2023-03-28 09:27:16 Error communicating with Asterisk. Ensure that Asterisk is properly installed and running as the asterisk user
2023-03-28 09:27:16 Asterisk does not appear to be running
2023-03-28 09:27:16 Try starting Asterisk with the './start_asterisk start' command in this directory
2023-03-28 09:27:16 ** [freepbx] Can't seem to locate /usr/sbin/fwconsole.. Exitting
2023-03-28 09:27:16 [cont-init.d] 10-freepbx: exited 1.
2023-03-28 09:27:16 [cont-init.d] 99-container-init: executing...
2023-03-28 09:27:16 [cont-init.d] 99-container-init: exited 0.
2023-03-28 09:27:16 [cont-init.d] done.
2023-03-28 09:27:16 [services.d] starting services
2023-03-28 09:27:16
2023-03-28 09:27:16 [services.d] done.
2023-03-28 09:27:16
2023-03-28 09:27:16 **** [zabbix] Starting Zabbix Agent
2023-03-28 09:28:16 ** [cron] Starting cron
2023-03-28 09:30:29 [cont-finish.d] executing container finish scripts...
2023-03-28 09:30:29 [cont-finish.d] 10-freepbx: executing...
2023-03-28 09:30:29 Stopping Apache httpd web server: apache2.
2023-03-28 09:30:31 Stopping MariaDB database server: mysqld.
2023-03-28 09:30:31 [cont-finish.d] 10-freepbx: exited 0.
2023-03-28 09:30:31 [cont-finish.d] done.
2023-03-28 09:30:31 [s6-finish] syncing disks.
2023-03-28 09:30:32 [s6-finish] sending all processes the TERM signal.
2023-03-28 09:30:35 [s6-finish] sending all processes the KILL signal and exiting.
2023-03-28 09:30:54
2023-03-28 09:30:54 **** [zabbix] Starting Zabbix Agent
2023-03-28 09:30:29 /var/run/s6/etc/cont-finish.d/10-freepbx: line 10: fwconsole: command not found
2023-03-28 09:30:55 WARNING 'failregex' not defined in 'Definition'. Using default one: ''
2023-03-28 09:30:55 WARNING 'failregex' not defined in 'Definition'. Using default one: ''
2023-03-28 12:19:31 /var/run/s6/etc/cont-finish.d/10-freepbx: line 10: fwconsole: command not found
2023-03-28 09:30:54 ** [cron] Starting cron
2023-03-28 09:30:54 [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
2023-03-28 09:30:55 [s6-init] ensuring user provided files have correct perms...exited 0.
2023-03-28 09:30:55 [fix-attrs.d] applying ownership & permissions fixes...
2023-03-28 09:30:55 [fix-attrs.d] 01-s6: applying...
2023-03-28 09:30:55 [fix-attrs.d] 01-s6: exited 0.
2023-03-28 09:30:55 [fix-attrs.d] 02-zabbix: applying...
2023-03-28 09:30:55 [fix-attrs.d] 02-zabbix: exited 0.
2023-03-28 09:30:55 [fix-attrs.d] 03-logrotate: applying...
2023-03-28 09:30:55 [fix-attrs.d] 03-logrotate: exited 0.
2023-03-28 09:30:55 [fix-attrs.d] done.
2023-03-28 09:30:55 [cont-init.d] executing container initialization scripts...
2023-03-28 09:30:55 [cont-init.d] 01-permissions: executing...
2023-03-28 09:30:55 [cont-init.d] 01-permissions: exited 0.
2023-03-28 09:30:55 [cont-init.d] 02-zabbix: executing...
2023-03-28 09:30:55 [cont-init.d] 02-zabbix: exited 0.
2023-03-28 09:30:55 [cont-init.d] 03-cron: executing...
2023-03-28 09:30:55 **** [cron] Enabling Cron
2023-03-28 09:30:55 [cont-init.d] 03-cron: exited 0.
2023-03-28 09:30:55 [cont-init.d] 04-smtp: executing...
2023-03-28 09:30:55 **** [smtp] Sendmail replaced and enabled to route mail to: postfix-relay
2023-03-28 09:30:55 [cont-init.d] 04-smtp: exited 0.
2023-03-28 09:30:55 [cont-init.d] 05-fail2ban: executing...
2023-03-28 09:30:55 ** [fail2ban] Starting Fail2ban
2023-03-28 09:30:57 Starting authentication failure monitor: fail2ban.
2023-03-28 09:30:57 [cont-init.d] 05-fail2ban: exited 0.
2023-03-28 09:30:57 [cont-init.d] 09-mariadb: executing...
2023-03-28 09:30:58 Stopping MariaDB database server: mysqld.
2023-03-28 09:30:59 Starting MariaDB database server: mysqld.
2023-03-28 09:30:59 [cont-init.d] 09-mariadb: exited 0.
2023-03-28 09:30:59 [cont-init.d] 10-freepbx: executing...
2023-03-28 09:30:59 ** [freepbx] Creating Default Configuration Files
2023-03-28 09:30:59 ** [freepbx] Setting File Permissions
2023-03-28 09:30:59 ** [freepbx] New Install Detected - Please wait while we fetch FreePBX - Will take 3 to 30 minutes!
2023-03-28 12:19:31 [cont-finish.d] executing container finish scripts...
2023-03-28 12:19:31 [cont-finish.d] 10-freepbx: executing...
2023-03-28 12:19:31 Stopping Apache httpd web server: apache2.
2023-03-28 12:19:33 Stopping MariaDB database server: mysqld.
2023-03-28 12:19:33 [cont-finish.d] 10-freepbx: exited 0.
2023-03-28 12:19:33 [cont-finish.d] done.
2023-03-28 12:19:33 [s6-finish] syncing disks.
2023-03-28 12:19:33 [s6-finish] sending all processes the TERM signal.
2023-03-28 12:19:36 [s6-finish] sending all processes the KILL signal and exiting.
2023-03-28 12:19:45
2023-03-28 12:19:45 **** [zabbix] Starting Zabbix Agent
2023-03-28 12:19:45 ** [cron] Starting cron
2023-03-28 12:19:45 [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
2023-03-28 12:19:45 [s6-init] ensuring user provided files have correct perms...exited 0.
2023-03-28 12:19:45 [fix-attrs.d] applying ownership & permissions fixes...
2023-03-28 12:19:45 [fix-attrs.d] 01-s6: applying...
2023-03-28 12:19:45 [fix-attrs.d] 01-s6: exited 0.
2023-03-28 12:19:45 [fix-attrs.d] 02-zabbix: applying...
2023-03-28 12:19:45 [fix-attrs.d] 02-zabbix: exited 0.
2023-03-28 12:19:45 [fix-attrs.d] 03-logrotate: applying...
2023-03-28 12:19:45 [fix-attrs.d] 03-logrotate: exited 0.
2023-03-28 12:19:45 [fix-attrs.d] done.
2023-03-28 12:19:45 [cont-init.d] executing container initialization scripts...
2023-03-28 12:19:45 [cont-init.d] 01-permissions: executing...
2023-03-28 12:19:45 [cont-init.d] 01-permissions: exited 0.
2023-03-28 12:19:45 [cont-init.d] 02-zabbix: executing...
2023-03-28 12:19:45 [cont-init.d] 02-zabbix: exited 0.
2023-03-28 12:19:45 [cont-init.d] 03-cron: executing...
2023-03-28 12:19:45 **** [cron] Enabling Cron
2023-03-28 12:19:45 [cont-init.d] 03-cron: exited 0.
2023-03-28 12:19:45 [cont-init.d] 04-smtp: executing...
2023-03-28 12:19:45 **** [smtp] Sendmail replaced and enabled to route mail to: postfix-relay
2023-03-28 12:19:45 [cont-init.d] 04-smtp: exited 0.
2023-03-28 12:19:45 [cont-init.d] 05-fail2ban: executing...
2023-03-28 12:19:45 ** [fail2ban] Starting Fail2ban
2023-03-28 12:19:47 Starting authentication failure monitor: fail2ban.
2023-03-28 12:19:47 [cont-init.d] 05-fail2ban: exited 0.
2023-03-28 12:19:47 [cont-init.d] 09-mariadb: executing...
2023-03-28 12:19:47 Stopping MariaDB database server: mysqld.
2023-03-28 12:19:48 Starting MariaDB database server: mysqld.
2023-03-28 12:19:48 [cont-init.d] 09-mariadb: exited 0.
2023-03-28 12:19:48 [cont-init.d] 10-freepbx: executing...
2023-03-28 12:19:48 ** [freepbx] Creating Default Configuration Files
2023-03-28 12:19:49 ** [freepbx] Setting File Permissions
2023-03-28 12:19:49 ** [freepbx] New Install Detected - Please wait while we fetch FreePBX - Will take 3 to 30 minutes!
2023-03-28 14:13:47 [cont-finish.d] executing container finish scripts...
2023-03-28 14:13:47 [cont-finish.d] 10-freepbx: executing...
2023-03-28 14:13:47 Stopping Apache httpd web server: apache2.
2023-03-28 14:13:50 Stopping MariaDB database server: mysqld.
2023-03-28 12:19:46 WARNING 'failregex' not defined in 'Definition'. Using default one: ''
2023-03-28 12:19:46 WARNING 'failregex' not defined in 'Definition'. Using default one: ''
2023-03-28 14:13:47 /var/run/s6/etc/cont-finish.d/10-freepbx: line 10: fwconsole: command not found
2023-03-28 15:18:50 WARNING 'failregex' not defined in 'Definition'. Using default one: ''
2023-03-28 15:18:50 WARNING 'failregex' not defined in 'Definition'. Using default one: ''
2023-03-28 14:13:50 [cont-finish.d] 10-freepbx: exited 0.
2023-03-28 14:13:50 [cont-finish.d] done.
2023-03-28 14:13:50 [s6-finish] syncing disks.
2023-03-28 14:13:50 [s6-finish] sending all processes the TERM signal.
2023-03-28 14:13:54 [s6-finish] sending all processes the KILL signal and exiting.
2023-03-28 15:18:49 [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
2023-03-28 15:18:49 [s6-init] ensuring user provided files have correct perms...
2023-03-28 15:18:49 **** [zabbix] Starting Zabbix Agent
2023-03-28 15:18:49 ** [cron] Starting cron
2023-03-28 15:18:49 exited 0.
2023-03-28 15:18:49 [fix-attrs.d] applying ownership & permissions fixes...
2023-03-28 15:18:49 [fix-attrs.d] 01-s6: applying...
2023-03-28 15:18:49 [fix-attrs.d] 01-s6: exited 0.
2023-03-28 15:18:49 [fix-attrs.d] 02-zabbix: applying...
2023-03-28 15:18:49 [fix-attrs.d] 02-zabbix: exited 0.
2023-03-28 15:18:49 [fix-attrs.d] 03-logrotate: applying...
2023-03-28 15:18:49 [fix-attrs.d] 03-logrotate: exited 0.
2023-03-28 15:18:49 [fix-attrs.d] done.
2023-03-28 15:18:49 [cont-init.d] executing container initialization scripts...
2023-03-28 15:18:50 [cont-init.d] 01-permissions: executing...
2023-03-28 15:18:50 [cont-init.d] 01-permissions: exited 0.
2023-03-28 15:18:50 [cont-init.d] 02-zabbix: executing...
2023-03-28 15:18:50 [cont-init.d] 02-zabbix: exited 0.
2023-03-28 15:18:50 [cont-init.d] 03-cron: executing...
2023-03-28 15:18:50 **** [cron] Enabling Cron
2023-03-28 15:18:50 [cont-init.d] 03-cron: exited 0.
2023-03-28 15:18:50 [cont-init.d] 04-smtp: executing...
2023-03-28 15:18:50 **** [smtp] Sendmail replaced and enabled to route mail to: postfix-relay
2023-03-28 15:18:50 [cont-init.d] 04-smtp: exited 0.
2023-03-28 15:18:50 [cont-init.d] 05-fail2ban: executing...
2023-03-28 15:18:50 ** [fail2ban] Starting Fail2ban
2023-03-28 15:18:51 Starting authentication failure monitor: fail2ban.
2023-03-28 15:18:51 [cont-init.d] 05-fail2ban: exited 0.
2023-03-28 15:18:51 [cont-init.d] 09-mariadb: executing...
2023-03-28 15:18:52 Stopping MariaDB database server: mysqld.
2023-03-28 15:18:53 Starting MariaDB database server: mysqld.
2023-03-28 15:18:53 [cont-init.d] 09-mariadb: exited 0.
2023-03-28 15:18:53 [cont-init.d] 10-freepbx: executing...
2023-03-28 15:18:53 ** [freepbx] Creating Default Configuration Files
2023-03-28 15:18:54 ** [freepbx] Setting File Permissions
2023-03-28 15:18:54 ** [freepbx] New Install Detected - Please wait while we fetch FreePBX - Will take 3 to 30 minutes!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant