From 6d0ae1fe276452c5dfcbc1248bf19284bf91ef33 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 7 Aug 2021 01:09:29 -0400 Subject: [PATCH] /etc/freepbx.conf: ['AMPASTERISKWEBUSER'] = 'www-data'; (doesn't help) --- roles/pbx/tasks/freepbx.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/pbx/tasks/freepbx.yml b/roles/pbx/tasks/freepbx.yml index 0fd327b06..04708819e 100644 --- a/roles/pbx/tasks/freepbx.yml +++ b/roles/pbx/tasks/freepbx.yml @@ -190,10 +190,10 @@ src: freepbx.service dest: /etc/systemd/system/ -# FreePBX's initial registration tries to set up a cron job and fails: -# "Exception: Trying to edit user asterisk, when I'm running as www-data" -# https://github.com/iiab/iiab/pull/2916#issuecomment-894585322 -# Hacking /etc/freepbx.conf in this way does not help in the end... +# 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... # - name: "2021-08-06: Try \"$amp_conf['AMPASTERISKWEBUSER'] = 'www-data';\" in /etc/freepbx.conf for #2916 registration cron fix ?'" # lineinfile: # path: /etc/freepbx.conf