3.1.0-rc1 Debian buster failed to upgrade

install failed to add “include /usr/share/bluecherry/nginx-includes/buster.conf;” to “/etc/nginx/sites-enabled/bluecherry.conf” only added “/usr/share/bluecherry/nginx-includes/.conf” this caused nginx service to not start. edited “/etc/nginx/sites-enabled/bluecherry.conf” manually and got nginx started.

when logging in to bluecherry web page got 502 Bad Gateway. found the path to php7.3-fpm.sock in “/usr/share/bluecherry/nginx-includes/buster.conf” was wrong at least on my system. edited to the correct path and can now log into bluecherry web page.

still cant add any cameras, the camera ip, username, password boxes etc are grayed out, cant type in them

could not add my v2 licence key, invalided key

any ideas why i cant add ip cameras.

Thanks Anthony

What link did you use for the php7.3-fpm.sock?

You need a version 3 license key to use version 3, however you can use up to 4 cameras in the community edition or activate a 30 days trial.

How many cameras do you have installed now?

Hi Curtis,

I had the exact same issue with the Debian 10 Buster upgrade. “buster”.conf was missing in [/etc/nginx/sites-enabled/bluecherry.conf] as noted above and also experienced the wrong path to the php7.3 fpm executable.

[13-Jun-2021 14:41:54] ERROR: Another FPM instance seems to already listen on /run/php/php7.3-fpm.sock
[13-Jun-2021 14:41:54] ERROR: FPM initialization failed

/usr/share/bluecherry/nginx-includes/buster.conf
1 location ~ .php$ {
2 fastcgi_split_path_info ^(.+.php)(/.+)$;
3 #fastcgi_pass unix:/var/run/php7.3-fpm.sock;
4 fastcgi_pass unix:/run/php/php7.3-fpm.sock;
5 fastcgi_index index.php;
6 include fastcgi.conf;
7 }

Hope that helps!
~Brandin

Hi Curtis

My buster.conf is the same Brandin’s posted above.

currently i have no cameras installed as the input fields are grayed out and cant add any can only select camera type, with v2 up to 3.0.6 i had 5 cams.

i activated trial mode still have the same issue

Thanks Anthony

looks like php errors,

Stack trace:
#0 {main}
thrown in /usr/share/bluecherry/www/ajax/stats.php on line 5" while reading response header from upstream, client: 192.168.0.4, server: , request: “POST /ajax/stats.php HTTP/1.1”, upstream: “fastcgi://unix:/run/php/php7.3-fpm.sock:”, host: “192.168.0.1:7001”, referrer: “https://192.168.0.1:7001/addip
2021/06/14 11:11:43 [error] 20083#20083: *735 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Class ‘Controller’ not found in /usr/share/bluecherry/www/ajax/addip.php:21
Stack trace:
#0 {main}
thrown in /usr/share/bluecherry/www/ajax/addip.php on line 21” while reading response header from upstream, client: 192.168.0.4, server: , request: “POST /ajax/addip.php?m=model&manufacturer=Hikvision HTTP/1.1”, upstream: “fastcgi://unix:/run/php/php7.3-fpm.sock:”, host: “192.168.0.1:7001”, referrer: “https://192.168.0.1:7001/addip
2021/06/14 11:11:44 [error] 20083#20083: *735 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Class ‘Controller’ not found in /usr/share/bluecherry/www/ajax/stats.php:5
Stack trace:
#0 {main}
thrown in /usr/share/bluecherry/www/ajax/stats.php on line 5” while reading response header from upstream, client: 192.168.0.4, server: , request: “POST /ajax/stats.php HTTP/1.1”, upstream: “fastcgi://unix:/run/php/php7.3-fpm.sock:”, host: “192.168.0.1:7001”, referrer:

i will keep working on it

Thanks Anthony

This should be resolved in the RC3 update scheduled for tomorrow.

Thank’s for the support Curtis

Hi Curtis
added the new buster.conf from git and its all working now
how do i remove the trial and go back community version, just ordered a v3 licence

Thanks for the support
Anthony

This has been resolved in a hotfix for 3.1.0-rc2, which is specific to Buster (Debian 10) only:

https://changelog.bluecherrydvr.com/server-3.1.0-rc2-(buster-fix)-32SFX2