419 Page Expired

Raven

New Member
Jul 9, 2019
7
1
3
41
Flash installed FS PBX on a virtual machine in PVE, which is on a private network. The installation completed successfully, but after attempting to log in via the internal IP address 192.168.2.100, it directly redirects to a "419 Page Expired" error.


The successful installation screen shows:
All installation tasks completed successfully!
FS PBX installation completed successfully!
root@pbx:~# Welcome to FS PBX!

============================================================
Login URL: https://xxx.6x.1x7.2x2
Username: admin@fspbx.net
Password: xxxxxxxxxxxxxxx

============================================================
All installation tasks completed successfully!
============================================================
 
Hi @Raven, by default, everything is preconfigured to access the system from an external IP. You can follow this two articles to configure access by domain name or with your internal IP address.


 
Where is the .env file to edit?

From what I can tell it looks like it should be in /var/www/fspbx, but I dont see it there

here's the contents of the dir

root@server:/var/www/fspbx# ls
LICENSE, app, bootstrap, composer.lock, database, node_modules, package.json, postcss.config.js, resources, server.php, tailwind.config.js, update.sh, vite-module-loader.js, README.md, artisan, composer.json, config, install, package-lock.json, phpunit.xml, public, routes, storage, tests, vendor, vite.config.js