billw2 / pikrellcam

Raspberry Pi motion vector detection program with OSD web interface.
GNU General Public License v3.0
261 stars 70 forks source link

install script for OS Bullseye #80

Open rleyden559 opened 2 years ago

rleyden559 commented 2 years ago

I assume no one is now updating the install script and I noticed that it does not work , as is, under Bullseye. I found that if you edit the script to change all instances of php7.3 to php7.4 (three times getting apps and once setting up nginx), the script and programs seems to work (for now). Of course, activate legacy camera in raspi-config.

kajan001 commented 2 years ago

Thanks a lot for the update Bro!

Although I have read that Bullseye is far from an improvement. Today I used the Buster legacy version on pi burner and that worked ok with pikrellcam.

davidolmos commented 2 years ago

I am running Bullseye (64 bit) in a Raspberry Pi 3 and I get the following error message when running the installation script:

./install-pikrellcam.sh: line 194: ./pikrellcam: No such file or directory
Unexpected failure to create config file /home/david/.pikrellcam/pikrellcam.conf

I tried both to run it as is in Github and as well following rleyden559 comment above to amend the script from "php7.3" to "php7.4". In both cases I get the same message.

Thanks for helping.

davidolmos commented 2 years ago

Just fixed it by creating the directory .pikrellcam and an empty file pikrellcam.conf (with touch pikrellcam.conf command) in my home directory (david)

kajan001 commented 1 year ago

I am not sure bullseye will work but a legacy buster version still works. check out issues 80 & 82 https://github.com/billw2/pikrellcam/issues/82 https://github.com/billw2/pikrellcam/issues/80#issue-1139443042