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

Update Pikrellcam installation script to support Bullseye #89

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gbmaple
Copy link

@gbmaple gbmaple commented Mar 24, 2023

Update for Pikrellcam to support Bullseye which uses php 7.4. This will only work with the Bullseye 32 bit version. You will also need to support the legacy camera interface in raspi-config. As Pikrellcam uses picamera and not libcamera.

Update for Pikrellcam to support Bullseye which uses php 7.4. This will only work with the Bullseye 32 bit version. 
You will also need to support the legacy camera interface in raspi-config. As Pikrellcam uses picamera and not libcamera.
@@ -313,6 +318,9 @@ sudo sed -i "s|PIKRELLCAM_WWW|$PWD/www|; \
s/PORT/$PORT/" \
/etc/nginx/sites-available/pikrellcam

if ((DEB_VERSION >= BULLSEYE))
then
sudo sed -i "s/php5/php\/php7.4/" /etc/nginx/sites-available/pikrellcam
if ((DEB_VERSION >= BUSTER))
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line must be changed to elif ((DEB_VERSION >= BUSTER)) otherwise the bash interpreter colapses and the installation does finish with wierd error abuot unexpected end of file.

@jhemberger
Copy link

Could there be a reason why this messes with the websever address? In the past I was able to use my hostname for this, but now it only seems to work if I use the IP address for the Pi.

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

Successfully merging this pull request may close these issues.

None yet

3 participants