chown: cannot access ‘/var/run/bluecherry’: No such file or directory
Are you using Debian 11?
Can you try:
sudo mkdir /var/run/bluecherry
then try the install again?
This should be fixed now.
Run the install script again
sudo bash -c "$(curl -fsSL https://install.bluecherrydvr.com/packages)"
Still struggling with install script…Tom
Verifying permissions of existing files, please wait
++ [[ -d /var/lib/bluecherry ]]
++ chown -R bluecherry:bluecherry /var/lib/bluecherry
++ su bluecherry -c ‘chmod -R 770 /var/lib/bluecherry’
++ [[ -n 1 ]]
++ chown -R bluecherry:bluecherry /var/run/bluecherry
chown: cannot access ‘/var/run/bluecherry’: No such file or directory
dpkg: error processing package bluecherry (–configure):
installed bluecherry package post-installation script subprocess returned error exit status 1
Processing triggers for libc-bin (2.35-0ubuntu3.8) …
Errors were encountered while processing:
bluecherry
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)
Can you try:
sudo mkdir /var/run/bluecherry
then try the install again?
Curtis,
I was able to install the /var/run/bluecherry directory.
When I run the script, I get the following…
root@gc6:~# sudo bash -c “$(curl -fsSL https://install.bluecherrydvr.com/packages)”
Distro: jammy
Hit:1 Index of /ubuntu jammy InRelease
Get:2 Index of /ubuntu jammy-updates InRelease [128 kB]
Get:3 Index of /ubuntu jammy-backports InRelease [127 kB]
Get:4 Index of /ubuntu jammy-security InRelease [129 kB]
Get:5 Index of /ubuntu jammy-backports/main amd64 Packages [92.4 kB]
Get:6 Index of /ubuntu jammy-backports/main Translation-en [11.1 kB]
Get:7 Index of /ubuntu jammy-backports/universe amd64 Packages [31.4 kB]
Hit:8 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy InRelease
Ign:9 http://unstable.bluecherrydvr.com jammy InRelease
Ign:9 http://unstable.bluecherrydvr.com jammy InRelease
Ign:9 http://unstable.bluecherrydvr.com jammy InRelease
Err:9 http://unstable.bluecherrydvr.com jammy InRelease
Could not connect to unstable.bluecherrydvr.com:80 (142.93.72.20), connection timed out
Fetched 519 kB in 38s (13.8 kB/s)
Reading package lists… Done
W: Failed to fetch http://unstable.bluecherrydvr.com/dists/jammy/InRelease Could not connect to unstable.bluecherrydvr.com:80 (142.93.72.20), connection timed out
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
gpg is already the newest version (2.2.27-3ubuntu2.1).
software-properties-common is already the newest version (0.99.22.9).
wget is already the newest version (1.21.2-2ubuntu1.1).
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Can you try to install again?
Tried the Ubuntu install script…no errors…working on device setup :
on to device setup
Tom