Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation Fails #87

Open
CycleMark opened this issue Oct 22, 2022 · 2 comments
Open

Installation Fails #87

CycleMark opened this issue Oct 22, 2022 · 2 comments

Comments

@CycleMark
Copy link

Hi,

I've been using pikrelcam for years - but most recent update with latest download of Raspberry Pi OS is failing:

Set the port for the nginx web server.
If you already have a web server configuration using the default
port 80, you should enter an alternate port for PiKrellCam.
Otherwise you can use the default port 80 or an alternate as you wish.
The port number will be set in: /etc/nginx.sites-available/pikrellcam.
Enter web server port:

For auto starting at boot, a PiKrellCam start command must be in rc.local.
If you don't start at boot, PiKrellCam can always be started and stopped
from the web page.
Do you want PiKrellCam to be auto started at boot? (yes/no): no

Enter a password for a web page login for user: pi
Enter a blank entry if you do not want the password login.
Enter password:

Starting PiKrellCam install...
Installing packages: php7.3 php7.3-common php7.3-fpm gpac nginx sshpass mpack imagemagick apache2-utils libasound2-dev libmp3lame-dev
Running: apt-get update
Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
Hit:3 https://packages.cloud.google.com/apt coral-edgetpu-stable InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'php7.3-common' for regex 'php7.3'
Package php7.3-common is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'php7.3-common' has no installation candidate
E: Unable to locate package php7.3-fpm
E: Couldn't find any package by glob 'php7.3-fpm'
E: Couldn't find any package by regex 'php7.3-fpm'
Removing pikrellcam autostart line from /etc/rc.local.
Adding to /etc/sudoers.d: www-data permission to run pikrellcam as user pi:
./install-pikrellcam.sh: line 285: htpasswd: command not found
chown: cannot access 'www/.htpasswd': No such file or directory
grep: /etc/nginx/nginx.conf: No such file or directory
Turning off nginx access_log.
sed: can't read /etc/nginx/nginx.conf: No such file or directory
Installing /etc/nginx/sites-available/pikrellcam
nginx web server port: 1067
nginx web server root: /home/pi/pikrellcam/www
cp: cannot create regular file '/etc/nginx/sites-available/pikrellcam': No such file or directory
sed: can't read /etc/nginx/sites-available/pikrellcam: No such file or directory
sed: can't read /etc/nginx/sites-available/pikrellcam: No such file or directory
Adding /etc/nginx/sites-enabled/pikrellcam link to sites-available/pikrellcam.
ln: failed to create symbolic link '/etc/nginx/sites-enabled/pikrellcam': No such file or directory
A password for the web page is not set.
sed: can't read /etc/nginx/sites-available/pikrellcam: No such file or directory
Failed to restart nginx.service: Unit nginx.service not found.

What's up?

Thanks

Mark

@CycleMark
Copy link
Author

Turns out it's the same php7.3 ->pho7.4 issue as mentioned here - #80 (comment)

@kajan001
Copy link

I am not sure bullseye will work but a legacy buster version still works.
check out issues 80 & 82
#82
#80 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants