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

install success but no pikrellcam webpage #81

Closed
jhemberger opened this issue Mar 2, 2022 · 3 comments
Closed

install success but no pikrellcam webpage #81

jhemberger opened this issue Mar 2, 2022 · 3 comments

Comments

@jhemberger
Copy link

jhemberger commented Mar 2, 2022

I am installing pikrellcam onto a Raspberry Pi Zero W. Successful installation using default settings, however I am unable to successfully load the pikrellcam webpage. All I see is a 502 bad gateway error. I've tried reinstalling pikrellcam, force reinstalling nginx, and all the other options I could find via web search.

Upon all of that, nginx says it's active and running, and the reinstall of pikrellcam is successful with the following output

pi@remotecam2:~/pikrellcam $ ./install-pikrellcam.sh 

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: 80

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): yes

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 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
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'
Adding a pikrellcam autostart command to /etc/rc.local:
su pi -c '(sleep 5; /home/pi/pikrellcam/pikrellcam) &'
Adding to /etc/sudoers.d: www-data permission to run pikrellcam as user pi:
Installing /etc/nginx/sites-available/pikrellcam
    nginx web server port: 80
    nginx web server root: /home/pi/pikrellcam/www
A password for the web page is not set.

Install finished.
This install script does not automatically start pikrellcam.
To start pikrellcam, open a browser page to:
    http://your_pi
and click on the "System" panel and then the "Start PiKrellCam" button.
PiKrellCam can also be run from a Pi terminal for testing purposes.
Automatic pikrellcam starting at boot is enabled.
@kajan001
Copy link

kajan001 commented Mar 4, 2022

Pikrellcam is no longer updating because the designer died late 2021.

There are a possible solution in the last posts on this forum https://forums.raspberrypi.com/viewtopic.php?p=1965930#p1965930

@kajan001
Copy link

kajan001 commented Mar 4, 2022

also here #80

@jhemberger
Copy link
Author

Sorry to hear that! He seems to have been a big figure in the pi world. I edited the install script per #80 and that seems to have worked! Thanks for the redirect on that.

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