I've installed last version of Joomla (3.9.23) and have encountered a problem.
When I install Joomla with automatic setup all is working correctly.
What I need is to install Joomla by deploying configuration.php directly into the website root. I've manually configured it and deleted the Joomla installation folder. When I try to reach the website, I get a white page with a write error on the top left.
I checked the webserver logs and found this error:
[error] 5457#5457: *3 FastCGI sent in stderr: "PHP message: PHP Warning: session_start(): Failed to read session data: user (path: /var/lib/php/sessions) in /var/www/joomla/libraries/joomla/session/handler/native.php on line 260" while reading response header from upstream, client: xxx.xxx.xxx.xxx, server: www.joomla-install.com, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.2-fpm.sock:", host: "126.96.36.199:443"
Joomla folder has this ownership
www-data:www-data and permission
755 for folders and
644 for files. Connection to the database has been tested successfully with a php test page.
Anyone know how can I fix this?