Freepbx restore on different webroot

I found this solution:

  1. restore from GUI
  2. from linux cli create a sym link: ln -s /var/www/html/admin /var/www/admin
  3. fwconsole restart
  4. go to gui Advanced Settings → Directory Layout and change “FreePBX Web Root Dir” from /var/www to /var/www/html
  5. Apply
  6. fwconsole restart
    Hope this can be useful to someone, I fixed ! Thanks !