Update Pikrellcam installation script to support Bullseye#89
Open
gbmaple wants to merge 1 commit intobillw2:masterfrom
Open
Update Pikrellcam installation script to support Bullseye#89gbmaple wants to merge 1 commit intobillw2:masterfrom
gbmaple wants to merge 1 commit intobillw2:masterfrom
Conversation
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.
cima
reviewed
Dec 27, 2023
| if ((DEB_VERSION >= BULLSEYE)) | ||
| then | ||
| sudo sed -i "s/php5/php\/php7.4/" /etc/nginx/sites-available/pikrellcam | ||
| if ((DEB_VERSION >= BUSTER)) |
There was a problem hiding this comment.
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.
|
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.