i have successfully switched php dealers via webgui. thx @ll
all have now a current php version. only with freepbx … i always have one and the same session in the webgui.
unfortunately i can’t log in. also the command “fwconsole unlock sessionid” returns the following error it would be an invalid session. even after a reload i always have the same session.
i have tried to install and uninstall freepbx several times. unfortunately without success.
i always see the webgui but can’t login. i think it is a chmod problem ?
here all log excerpts:
log from install:
Installing pm2…
Installing/Updating Required Libraries. This may take a while…The following messages are ONLY FOR DEBUGGING. Ignore anything that says ‘WARN’ or is just a warning
mkdir: cannot create directory ‘/var/www/html/freepbx/admin/modules/pm2/node/logs’: Permission denied
The command “runuser ‘asterisk’ -c 'cd /var/www/html/freepbx/admin/modules/pm2/node && mkdir -p /home/asterisk/.pm2 && mkdir -p /var/www/html/freepbx/admin/modules/pm2/node/logs && export HOME=”/home/asterisk" && export PM2_HOME="/home/asterisk/.pm2" && export ASTLOGDIR="/var/log/asterisk" && export ASTVARLIBDIR="/var/lib/asterisk" && export PATH="$HOME/.node/bin:$PATH" && export NODE_PATH="$HOME/.node/lib/node_modules:$NODE_PATH" && export MANPATH="$HOME/.node/share/man:$MANPATH" && npm-cache -v’" failed.
Error Output:
mkdir: cannot create directory ‘/var/www/html/freepbx/admin/modules/pm2/node/logs’: Permission denied
errors in freebdx.log
[2019-Sep-17 21:30:02] [CRITICAL] (admin/bootstrap.php:260) - Connection attmempt to AMI failed
[2019-Sep-17 21:30:02] [freepbx.INFO]: Deprecated way to add Console commands for module certman, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
error in deefault log:
Failed at step RUNTIME_DIRECTORY spawning /usr/sbin/asterisk: File exists
CODE_FILE |
src/core/execute.c |
CODE_FUNCTION |
exec_spawn |
CODE_LINE |
2004 |
ERRNO |
17 |
EXECUTABLE |
/usr/sbin/asterisk |
MESSAGE_ID |
641257651c1b4ec9a8624d7a40a9e1e7 |
PRIORITY |
3 |
SYSLOG_FACILITY |
3 |
SYSLOG_IDENTIFIER |
systemd |
USER_UNIT |
asterisk.service |
_BOOT_ID |
f579d16f536f495ba2cbb24d5fd6eb65 |
_CAP_EFFECTIVE |
1fffffffff |
_COMM |
(asterisk) |
_GID |
0 |
_HOSTNAME |
nethserver.domain.tld |
_MACHINE_ID |
b3af0e39fe30437b95296feb9ecddea9 |
_PID |
54641 |
_SOURCE_REALTIME_TIMESTAMP |
1568750623354533 |
_SYSTEMD_CGROUP |
/system.slice/asterisk.service/control |
_SYSTEMD_SLICE |
system.slice |
_SYSTEMD_UNIT |
asterisk.service |
_TRANSPORT |
journal |
_UID |
0 |
__CURSOR |
s=10fb299b5baf45bd90e2ab1734ea0659;i=8e23;b=f579d16f536f495ba2cbb24d5fd6eb65;m=38090861f;t=592c537a56f85;x=58d3c8e2143df3c1 |
__MONOTONIC_TIMESTAMP |
15041857055 |
__REALTIME_TIMESTAMP |
1568750623354757 |