matiasdelellis / facerecognition

Nextcloud app that implement a basic facial recognition system.
GNU Affero General Public License v3.0
510 stars 46 forks source link

it seems you don't have python binding installed #531

Closed thenamelessthing closed 2 years ago

thenamelessthing commented 2 years ago

In my personnal face recognition page, It seem to work properly but in the system face recognition page I have the following message:

Current model: 1

It seems that you do not meet the dependencies to use the current model.

image

When I check the progress I also see this warning:

image

How can I fix these message?

Server configuration

Background task log with debug.

sudo -u apache php occ -vvv face:background_job ![image](https://user-images.githubusercontent.com/10235448/142776338-2c0843d6-5093-4c93-9dbe-f300c5220fc2.png)

Web server error log

Web server error log ``` Insert your webserver log here ```

Nextcloud log (data/nextcloud.log)

Nextcloud log ``` Insert your Nextcloud log here {"reqId":"n1NO9aw41ARkUUthoqKq","level":3,"time":"2021-11-21T18:50:02+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Module 'pdlib' already loaded at Unknown#0","userAgent":"--","version":"22.2.3.0","id":"619a9bfe22d57"}

Browser log

Browser log ``` Insert your browser log here, this could for example include: a) The javascript console log b) The network log c) ... ```
matiasdelellis commented 2 years ago

Hi @thenamelessthing About the title that does not correspond to the rest of the report, but I guess that's what the test tells to you.. if php test is ok, you can ignore the rest. ;)

About:

It seems that you do not meet the dependencies to use the current model.

You have to increase the memory assigned to php.. 512mb is too low..

About:

'pdlib' is already loaded...

..you have at least two files in /etc/php/php.d enabling the module .. leave just one..

matiasdelellis commented 2 years ago

Hi @thenamelessthing To avoid some of this confusion I made some changes in #534 It will be annoying for everyone, but it will also avoid a lot of problems. 😅

thenamelessthing commented 2 years ago

Thank you, adjusting the mem to 1GB and remove the duplicate entry in my php config solved the problem!