Advanced Settings > System Setup > System Web User I believe…
From what he quoted it looks like the problem is that is actually does but can’t properly look it up???
I wonder if there might not be a stray space in there or something similar and it’s actually trying to look up "www " instead of “www”… Maybe the other code that uses this setting is more tolerant to something like this (WriteConfig appears to be something new)…
@iansouth12, could you post a screen capture and maybe delete and retype the user in Advanced Settings > System Setup > System Web User?
the user exists in /etc/passwd. Has been there a long time. The settings in /etc/amportal.conf has existed there a long time. Always been working. I do not see anything in the FreePBX advanced settings that look wrong (or obviously wrong). Again the settings in the flat files have been working for a few years now under 11 and 12. And the amportal.conf seems right. Has www defined.
I made sure everything had the right ownerships/perms under /usr/local/etc/www/apache24/data/freepbx - and /usr/local/etc/asterisk - I checked a thing or two in /usr/local/sbin which ended up being symlinks to stuff in /usr/local/etc/asterisk and those perms looked ok. Unless I’m missing something (I’m sure I am)
Do you have the /etc/pwd.db and /etc/spwd.db files mentioned in that thread
?
That’s apparently a BSD thing and I wonder if you might have similar problem (the files were no longer in sync) to what that person had and if the fix might be the same…
Ok, I managed to fix it. Here’s the general scoop. The URL above was very informative being that I had an apache server (which I though I had selected the threaded options) that was not threaded and a mod_php56 which indeed had threads/ZTS set. The only variable I am not completely sure about is the patch in the URL - I added it to the ports patch set (with a small path tweak) and it seems to be applied - but I’m not convinced it fixes or helps because I still had the error until I rebuilt mod_php56 without ZTS support.
And once I had the right options set I made sure to rebuild all php related stuff thus:
portupgrade -r -f lang/php56
I always do this BTW if there is a php update in the ports tree (for those interested).
I tried to use php70 also - but that caused more problems with other stuff and I ended up reverting back to php56. $.02