matiasdelellis / facerecognition

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

Failed to install Model 1 #637

Closed someone132s closed 1 year ago

someone132s commented 1 year ago

Hey, Thanks for reporting issues back to Nextcloud Face Recognition. Please, try to complete this report in detail so we can help you easier. :smile:

Make sure you read all the documentation, and the FAQ, and that the issue has not been reported before. :wink:

Expected behaviour

Couldn't install model 1 or 2 or 3 or 4, and having no error messages.

Actual behaviour

I successfully set the PHP's memory to 1024MB, and tried to install the model 1. And I have no error messages like

'The current PHP memory limit is below the recommended value of 512MB.'

it's just prompted me like this.

' You do not meet the dependencies to install the model 1 (Default) Summary: Seems that you still have to configure the assigned memory for image processing. Please read the documentation for this model to continue: https://github.com/matiasdelellis/facerecognition/wiki/Models#model-1 ' i checked the memory limits i set, it's correct. And when i set the limits below 512M, the message of recommand value appears again.

Steps to reproduce

  1. install normally until the installation of models
  2. try to install models
  3. happens

Server configuration

Client configuration

Logs

Background task log with debug.

sudo -u apache php occ -vvv face:background_job ``` PHP Warning: Module "imagick" is already loaded in Unknown on line 0 1/8 - Executing task CheckRequirementsTask (Check all requirements) System: Linux System memory: 67116191744 PHP Memory Limit: 1073741824 Seems there are no installed models. Please read the documentation about this: https://github.com/matiasdelellis/facerecognition/wiki/Models#install-models and install them with the 'occ face:setup --model MODEL_ID' command. Fill an issue here if that doesn't help: https://github.com/matiasdelellis/facerecognition/issues Task CheckRequirementsTask signalled we should not continue, bailing out ```

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 ```

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 1 year ago

Hi @someone132s Sorry about the delay.. you was able to fix it??

Can you share the output of the setup command??? I had a suspicion, but actually I can't even find the line that generates this error.. 🤔

DeerMaximum commented 1 year ago

I have the same issue. Is there any fix?