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 restart
|
||||
|
||||
# 2021-08-06: This stanza might be removed in future, if Asterix/FreePBX fix
|
||||
# this install glitch in a future release? FYI #2908, #2912, #2913 attempts
|
||||
# didn't work. This workaround helps: https://github.com/iiab/iiab/pull/2915
|
||||
# 2021-08-06: This stanza works, but above is more graceful. (FYI PRs #2908,
|
||||
# #2912, #2913 didn't quite work -- whereas this PR #2915 at least worked!)
|
||||
# - 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:
|
||||
# daemon_reload: yes
|
||||
|
@ -189,15 +188,18 @@
|
|||
src: freepbx.service
|
||||
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"
|
||||
# DETAILS: https://github.com/iiab/iiab/pull/2916#issuecomment-894585322
|
||||
# FWIW hacking /etc/freepbx.conf in this way does not help in the end...
|
||||
|
||||
# For 'pbx_try_nginx: True' -- FreePBX's initial page (Admin user registration)
|
||||
# tries to set up a cron job but fails:
|
||||
# "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 ?'"
|
||||
# lineinfile:
|
||||
# path: /etc/freepbx.conf
|
||||
# insertafter: '^<\?php$' # Match exact line '<?php'
|
||||
# line: "$amp_conf['AMPASTERISKWEBUSER'] = 'www-data';"
|
||||
# when: pbx_try_nginx
|
||||
|
||||
|
||||
- block:
|
||||
|
|
Loading…
Add table
Reference in a new issue