FreePBX Webinterface broken (possibly) after restore

(Pge) #1

Hey guys!
Im having trouble accessing my webinterface, or basically doing anything with the installation really.

  • Installed STABLE SNG7-PBX-64bit-2104-1 on VM #1, made modifications, created extensions, etc.
  • Made backup using backup & restore module
  • Installed another plain STABLE SNG7-PBX-64bit-2104-1. Restored Backup.

Now im right here:

[[email protected] ~]# fwconsole ma install sysadmin

Updating tables sysadmin_options, sysadmin_update_log, sysadmin_fail2ban…Done

In install.php line 6:

copy(/usr/share/asterisk/agi-bin/LoadLicenseIfExists.php): failed to open stream: No such file or directory

moduleadmin [-f|–force] [-d|–debug] [–edge] [–ignorecache] [–stable] [–color] [–skipchown] [-e|–autoenable] [–skipdisabled] [–snapshot SNAPSHOT] [–format FORMAT] [-R|–repo REPO] [-t|–tag TAG] [–skipbreakingcheck] [–sendemail] [–onlystdout] [–] []…

For some strange Reason my agi-bin directory seems to have moved from /var/lib/asterisk/agi-bin to /usr/share/asterisk/agi-bin via /etc/asterisk/extensions_additional.conf which has “ASTAGIDIR = /usr/share/asterisk/agi-bin”
Problem is, /usr/share/asterisk/agi-bin is empty and im not sure how to proceed.
Any input?

Thanks in advance!