Skip to content

Update Pikrellcam installation script to support Bullseye#89

Open
gbmaple wants to merge 1 commit intobillw2:masterfrom
gbmaple:patch-1
Open

Update Pikrellcam installation script to support Bullseye#89
gbmaple wants to merge 1 commit intobillw2:masterfrom
gbmaple:patch-1

Conversation

@gbmaple
Copy link
Copy Markdown

@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.
Comment thread install-pikrellcam.sh
if ((DEB_VERSION >= BULLSEYE))
then
sudo sed -i "s/php5/php\/php7.4/" /etc/nginx/sites-available/pikrellcam
if ((DEB_VERSION >= BUSTER))
Copy link
Copy Markdown

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
Copy Markdown

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.

3 participants