JRS_RPi
Posts: 2
Joined: Tue Oct 24, 2017 4:49 am

Pikrellcam installation issue // php5 and nginx

Tue Oct 24, 2017 4:59 am

Hi all,

I have already installed Pikrellcam on several Pis and I like it much.

However, I could not manage to install it on a Zero W, with up to date distribution (rpi-update, dist-update, ...)

The issue seems to be on php5 step of the istallation, with these messages.

TIA for your help : I have been stuck on these issues for 3 days, even after massive Google searchs


*************
Package php5 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

Package php5-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

Package php5-fpm 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
*************

Other error messages are linked to nginx installation step but may be linked to the failed php steps :


*************
Adding to /etc/sudoers.d: www-data permission to run pikrellcam as user pi:
./install-pikrellcam.sh: line 250: 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

...

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
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.
*************

hystrix
Posts: 56
Joined: Mon Jan 07, 2013 12:44 pm

Re: Pikrellcam installation issue // php5 and nginx

Mon Apr 30, 2018 2:15 pm

This might resolve your issue (it worked for me with the same error):

Code: Select all

sudo dpkg --configure -a
...and then install Pikrellcam again

Code: Select all

./install-pikrellcam.sh
again.

Return to “Troubleshooting”