Is anyone facing the same issue? Unable to load the storage page, it’s blank.
Version: 3.1.8
Ubuntu: 24.04.1
I’ve created a bug for this - https://github.com/bluecherrydvr/bluecherry-apps/issues/729
Can you run:
tail -f /var/log/nginx/bluecherry-error.log
THEN access the general settings area again and paste any errors you see?
techusr@techusr-ST-2ET2:~$ tail -f /var/log/nginx/bluecherry-error.log
2025/01/24 09:10:33 [error] 2846#2846: *252098 FastCGI sent in stderr: “PHP message: PHP Warning: disk_free_space(): Permission denied in /usr/share/bluecherry/www/ajax/storage.php on line 18; PHP message: PHP Warning: disk_total_space(): Permission denied in /usr/share/bluecherry/www/ajax/storage.php on line 18; PHP message: PHP Warning: disk_total_space(): Permission denied in /usr/share/bluecherry/www/ajax/storage.php on line 27; PHP message: PHP Warning: disk_free_space(): Permission denied in /usr/share/bluecherry/www/ajax/storage.php on line 27; PHP message: PHP Warning: disk_total_space(): Permission denied in /usr/share/bluecherry/www/ajax/storage.php on line 27; PHP message: PHP Fatal error: Uncaught DivisionByZeroError: Division by zero in /usr/share/bluecherry/www/ajax/storage.php:27
Stack trace:
#0 /usr/share/bluecherry/www/lib/Controller.php(137): storage->getData()
#1 /usr/share/bluecherry/www/lib/Route.php(75): Controller->start()
#2 /usr/share/bluecherry/www/index.php(16): Route->start()
#3 {main}
thrown in /usr/share/bluecherry/www/ajax/storage.php on line 27” while reading response header from upstream, client: 192.168.217.250, server: , request: “GET /storage?type=ajax_content HTTP/1.1”, upstream: “fastcgi://unix:/etc/alternatives/php-fpm.sock:”, host: “192.168.217.250:7001”, referrer: “https://192.168.217.250:7001/”
2025/01/24 09:10:35 [error] 2846#2846: *252098 FastCGI sent in stderr: “PHP message: PHP Warning: disk_free_space(): Permission denied in /usr/share/bluecherry/www/ajax/storage.php on line 18; PHP message: PHP Warning: disk_total_space(): Permission denied in /usr/share/bluecherry/www/ajax/storage.php on line 18; PHP message: PHP Warning: disk_total_space(): Permission denied in /usr/share/bluecherry/www/ajax/storage.php on line 27; PHP message: PHP Warning: disk_free_space(): Permission denied in /usr/share/bluecherry/www/ajax/storage.php on line 27; PHP message: PHP Warning: disk_total_space(): Permission denied in /usr/share/bluecherry/www/ajax/storage.php on line 27; PHP message: PHP Fatal error: Uncaught DivisionByZeroError: Division by zero in /usr/share/bluecherry/www/ajax/storage.php:27
Stack trace:
#0 /usr/share/bluecherry/www/lib/Controller.php(137): storage->getData()
#1 /usr/share/bluecherry/www/lib/Route.php(75): Controller->start()
#2 /usr/share/bluecherry/www/index.php(16): Route->start()
#3 {main}
thrown in /usr/share/bluecherry/www/ajax/storage.php on line 27” while reading response header from upstream, client: 192.168.217.250, server: , request: “GET /storage HTTP/1.1”, upstream: “fastcgi://unix:/etc/alternatives/php-fpm.sock:”, host: “192.168.217.250:7001”, referrer: “https://192.168.217.250:7001/”
…
It looks unable to create the storage that I want to store the records
The error persists
Would I be able to access this server remotely (ssh and port 7001)? If so if you can send me those credentials via message.
Actually, try this:
sudo mv /usr/share/bluecherry/www/ajax/storage.php /tmp
cd /usr/share/bluecherry/www/ajax
wget https://raw.githubusercontent.com/bluecherrydvr/bluecherry-apps/651bdbf98b0be1da124c0f6361e31f6f4bd21773/www/ajax/storage.php
I didn’t have you include ‘sudo’ at the beginning of the wget statement…either way I logged in and fixed it.