2020/04/05 17:49:56 [error] 1706#0: *137 FastCGI sent in stderr: "PHP message: PHP Warning: session_start(): open(/var/lib/php/session/sess_scdg30p2uv9c4hrifq1t9kqh14, O_RDWR) failed: Permission denied (13) in /var/www/fusionpbx/index.php on line 31
PHP message: PHP Warning: session_start(): Failed to read session data: files (path: /var/lib/php/session) in /var/www/fusionpbx/index.php on line 31
PHP message: PHP Warning: require_once(resources/require.php): failed to open stream: Permission denied in /var/www/fusionpbx/index.php on line 57
PHP message: PHP Fatal error: require_once(): Failed opening required 'resources/require.php' (include_path='.:/usr/share/pear:/usr/share/php:/var/www/fusionpbx') in /var/www/fusionpbx/index.php on line 57" while reading response header from upstream, client: 1*.**.**.**, server: fusionpbx, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm/php-fpm.sock:", host: "1**.**.***.***"
require.php
file. By default that file should belong to the www-data
user which should have read permissions. In fact the default permissions give read access to everyone. Have you modified those? Have a look to that file's permissions to start with, that should get you going.cd /var/www
chown -R www-data:www-data fusionpbx
[root@localhost www]# chown -R www-data:www-data fusionpbx
chown: invalid user: ‘www-data:www-data’
[root@localhost www]#
www-data 69333 0.0 0.0 71236 10328 ? S Mar15 0:45 nginx: worker process
www-data 69334 0.0 0.0 71148 10008 ? S Mar15 0:04 nginx: worker process
www-data 69335 0.0 0.0 70884 9560 ? S Mar15 0:00 nginx: worker process
www-data 69336 0.0 0.0 70876 8876 ? S Mar15 0:00 nginx: worker process
www-data 69337 0.0 0.0 70748 6496 ? S Mar15 0:00 nginx: worker process
www-data 69338 0.0 0.0 70748 6496 ? S Mar15 0:00 nginx: worker process
www-data 69339 0.0 0.0 70748 6496 ? S Mar15 0:00 nginx: worker process
find /var/www/fusionpbx -type d -exec chmod 770 {} \;
find /var/www/fusionpbx -type f -exec chmod 664 {} \;
git fetch origin
git reset --hard origin/master