Closed guystreeter closed 2 years ago
And if I try to force it, I get
Column "oc_facerecog_persons"."is_valid" is type Bool and also NotNull, so it can not store "false".
Where do you get this message? On my environment it works perfect with version 22.
I made a completely fresh install from docker.io/iamklaus/nextcloud
with new app and data volumes. Then I exec into the container, and when I run
./occ app:enable -n facerecognition
I get
App "Face Recognition" cannot be installed because it is not compatible with this version of the server.
If I force it with -f
like
./occ app:enable -n -f facerecognition
I get
Column "oc_facerecog_persons"."is_valid" is type Bool and also NotNull, so it can not store "false".
It looks like nextcloud:21.0.4-apache
was the last official docker image with PHP version 7.4. You might try that one. the latest version uses PHP 8, which is known to break facerecognition.
See https://github.com/matiasdelellis/facerecognition/issues/456
I am having this issue too. New install, new database, new data directory. After creating initial username/password I cannot enable the Face Recognition app because of the error Column "oc_facerecog_persons"."is_valid" is type Bool and also NotNull, so it can not store "false".
here is what I did to resolve this (via https://github.com/matiasdelellis/facerecognition/wiki/Installation):
apt-get install git
cd /var/www/html/apps/ # or whatever your path to Nextcloud is
git clone https://github.com/matiasdelellis/facerecognition.git
cd facerecognition/
make
After that I activated it in the App Store (now it was on 0.8.3 so I could do that). Only Problem (which might only be valid for me) is, that I can't execute OCC command since I get this error: #8. But if you don't have this problem you should be good to go.
Thanks man, looks promising.
The app installs and appears to work except everytime it tries to process images, I get the following errors. I've tried multiple models but they all have the same result:
Faces found: 0. Image will be skipped because of the following error: Bad Signature
Faces found: 0. Image will be skipped because of the following error: Bad Signature
Faces found: 0. Image will be skipped because of the following error: Bad Signature
Faces found: 0. Image will be skipped because of the following error: Bad Signature
Faces found: 0. Image will be skipped because of the following error: Bad Signature
Processing image /tmp/oc_tmp_MUm9yw
Faces found: 0. Image will be skipped because of the following error: Error during image resize
Processing image /tmp/oc_tmp_dn80pw
Faces found: 0. Image will be skipped because of the following error: Error during image resize
Faces found: 0. Image will be skipped because of the following error: Bad Signature
Faces found: 0. Image will be skipped because of the following error: Bad Signature
Faces found: 0. Image will be skipped because of the following error: Bad Signature
Faces found: 0. Image will be skipped because of the following error: Bad Signature
Faces found: 0. Image will be skipped because of the following error: Bad Signature
Faces found: 0. Image will be skipped because of the following error: Bad Signature
Faces found: 0. Image will be skipped because of the following error: Bad Signature
Faces found: 0. Image will be skipped because of the following error: Bad Signature
Faces found: 0. Image will be skipped because of the following error: Bad Signature
Faces found: 0. Image will be skipped because of the following error: Bad Signature
Processing image /tmp/oc_tmp_YCnAPw
Faces found: 0. Image will be skipped because of the following error: Error during image resize
Faces found: 0. Image will be skipped because of the following error: Bad Signature
Faces found: 0. Image will be skipped because of the following error: Bad Signature
Faces found: 0. Image will be skipped because of the following error: Bad Signature
Faces found: 0. Image will be skipped because of the following error: Bad Signature
Faces found: 0. Image will be skipped because of the following error: Bad Signature
Faces found: 0. Image will be skipped because of the following error: Bad Signature
Faces found: 0. Image will be skipped because of the following error: Bad Signature
Faces found: 0. Image will be skipped because of the following error: Bad Signature
Faces found: 0. Image will be skipped because of the following error: Bad Signature
Faces found: 0. Image will be skipped because of the following error: Bad Signature
Faces found: 0. Image will be skipped because of the following error: Bad Signature
Faces found: 0. Image will be skipped because of the following error: Bad Signature
Faces found: 0. Image will be skipped because of the following error: Bad Signature
Faces found: 0. Image will be skipped because of the following error: Bad Signature
Faces found: 0. Image will be skipped because of the following error: Bad Signature
Faces found: 0. Image will be skipped because of the following error: Bad Signature
Faces found: 0. Image will be skipped because of the following error: Bad Signature
Faces found: 0. Image will be skipped because of the following error: Bad Signature
Faces found: 0. Image will be skipped because of the following error: Bad Signature
Hey guys,
should work with the latest version now.
Regards, iamklaus
The docker image contains Nextcloud version 22, but the face recognition app specifies version 20 or lower.