mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
freepbx.yml: Recap FreePBX subtleties/workarounds
This commit is contained in:
parent
151b8c3215
commit
e6174f672e
1 changed files with 9 additions and 7 deletions
|
@ -150,9 +150,8 @@
|
||||||
# - fwconsole reload
|
# - fwconsole reload
|
||||||
# - fwconsole restart
|
# - fwconsole restart
|
||||||
|
|
||||||
# 2021-08-06: This stanza might be removed in future, if Asterix/FreePBX fix
|
# 2021-08-06: This stanza works, but above is more graceful. (FYI PRs #2908,
|
||||||
# this install glitch in a future release? FYI #2908, #2912, #2913 attempts
|
# #2912, #2913 didn't quite work -- whereas this PR #2915 at least worked!)
|
||||||
# didn't work. This workaround helps: https://github.com/iiab/iiab/pull/2915
|
|
||||||
# - name: FreePBX - Run 'systemctl restart freepbx' TWICE (THIS IS 1 OF 2) to get past 'systemctl status freepbx' glitch "Unable to run Pre-Asterisk hooks, because Asterisk is already running"
|
# - name: FreePBX - Run 'systemctl restart freepbx' TWICE (THIS IS 1 OF 2) to get past 'systemctl status freepbx' glitch "Unable to run Pre-Asterisk hooks, because Asterisk is already running"
|
||||||
# systemd:
|
# systemd:
|
||||||
# daemon_reload: yes
|
# daemon_reload: yes
|
||||||
|
@ -189,15 +188,18 @@
|
||||||
src: freepbx.service
|
src: freepbx.service
|
||||||
dest: /etc/systemd/system/
|
dest: /etc/systemd/system/
|
||||||
|
|
||||||
# FreePBX's initial page (Admin user registration) tries to set up a cron job and
|
|
||||||
# fails: "Exception: Trying to edit user asterisk, when I'm running as www-data"
|
# For 'pbx_try_nginx: True' -- FreePBX's initial page (Admin user registration)
|
||||||
# DETAILS: https://github.com/iiab/iiab/pull/2916#issuecomment-894585322
|
# tries to set up a cron job but fails:
|
||||||
# FWIW hacking /etc/freepbx.conf in this way does not help in the end...
|
# "Exception: Trying to edit user asterisk, when I'm running as www-data"
|
||||||
|
# #2916 DETAILS: https://github.com/iiab/iiab/pull/2916#issuecomment-894585322
|
||||||
|
# FWIW hacking /etc/freepbx.conf (lineinfile or manually) did not solve it...
|
||||||
# - name: "2021-08-06: Try \"$amp_conf['AMPASTERISKWEBUSER'] = 'www-data';\" in /etc/freepbx.conf for #2916 registration cron fix ?'"
|
# - name: "2021-08-06: Try \"$amp_conf['AMPASTERISKWEBUSER'] = 'www-data';\" in /etc/freepbx.conf for #2916 registration cron fix ?'"
|
||||||
# lineinfile:
|
# lineinfile:
|
||||||
# path: /etc/freepbx.conf
|
# path: /etc/freepbx.conf
|
||||||
# insertafter: '^<\?php$' # Match exact line '<?php'
|
# insertafter: '^<\?php$' # Match exact line '<?php'
|
||||||
# line: "$amp_conf['AMPASTERISKWEBUSER'] = 'www-data';"
|
# line: "$amp_conf['AMPASTERISKWEBUSER'] = 'www-data';"
|
||||||
|
# when: pbx_try_nginx
|
||||||
|
|
||||||
|
|
||||||
- block:
|
- block:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue