Hey all, so hereās my situation:
Fresh VM in Proxmox, Debian 12, upgraded to the latest packages.
- Installed PHP, MariaDB and Apache2
- Installed all required PHP modules
- Configured php.ini as described in the docs (in /etc/php/8.2/cli/php.ini, and then again in /etc/php/8.2/fpm/php.ini because the linked Symfony setup tutorial specified using FPM).
- Configured the vhost like specified in the official docs, and added the redirect lines found in the linked Symfony docs that specify to use FPM.
- Downloaded, unzipped and moved the āsuitecrmā folder to /var/www, and applied the required permissions.
Finally, I tried to simply connect to my IP address, but I had a white page.
With the CLI installer, I get the following output:
root@crm:/var/www/suitecrm# ./bin/console suitecrm:app:install
Cannot load Zend OPcache - it was already loaded
PHP Fatal error: Uncaught Symfony\Component\Dotenv\Exception\PathException: Unable to read the "/var/www/suitecrm/.env" environment file. in /var/www/suitecrm/vendor/symfony/dotenv/Dotenv.php:553
Stack trace:
#0 /var/www/suitecrm/vendor/symfony/dotenv/Dotenv.php(106): Symfony\Component\Dotenv\Dotenv->doLoad()
#1 /var/www/suitecrm/config/bootstrap.php(47): Symfony\Component\Dotenv\Dotenv->loadEnv()
#2 /var/www/suitecrm/bin/console(30): require('...')
#3 {main}
thrown in /var/www/suitecrm/vendor/symfony/dotenv/Dotenv.php on line 553
Iām using PHP 8.2 with SuiteCRM 8.7.1, which should be compatible.
I can provide more info if needed, thanks for your inputs, cheers