Closed nseratt closed 1 year ago
Same here...
Managed to solve the problem by installing the correct version of Composer before perform the Make process.
The steps are below: root@cloud:~# curl -sS https://getcomposer.org/installer | php All settings correct for using Composer Downloading...
Composer (version 2.5.1) successfully installed to: /root/composer.phar Use it: php composer.phar
root@cloud:~# sudo mv composer.phar /usr/bin/composer root@cloud:~# composer --version
More information can refer to https://github.com/composer/composer/issues/9097
Could not find resource file \"/nextcloud/apps/facerecognition/js/vendor/*****
So, These files seem to be missing.. You can verify the files in apps/facerecognition/js/vendor/
???
Did you install the application from git/tarball?? Remember that from git we must compile the application.. 🤔
The app appears to be working, background scanning working..
When I go to my account -> personal settings -> face recognition the page is a blank page.
Photos -> People shows blank as well -- with a large person icon.
As such, I'm not able to tag photos anymore, or view tagged faces in photos.
Previously they had worked, not sure if it's something to do with after upgrading to NextCloud version 25.
Server configuration
Operating system: Ubuntu 18.04
Pdlib version:
How is DLib installed: Make sure it is working correctly with this tool
pdlib-min-test returns success
How is PDlib installed: Make sure it is working correctly with this tool
pdlib-min-test returns success
PHP version:
8.0
Web server:
Apache
Database: mariadb
Nextcloud version:
25.0.3
Logs
Background task log with debug.
sudo -u apache php occ -vvv face:background_job
``` 1/8 - Executing task CheckRequirementsTask (Check all requirements) System: Linux System memory: 7307169792 PHP Memory Limit: 2147483648 2/8 - Executing task CheckCronTask (Check that service is started from either cron or from command) 3/8 - Executing task DisabledUserRemovalTask (Purge all the information of a user when disable the analysis.) yielding yielding yielding yielding yielding 4/8 - Executing task StaleImagesRemovalTask (Crawl for stale images (either missing in filesystem or under .nomedia) and remove them from DB) Skipping stale images removal for user john as there is no need for it 5/8 - Executing task CreateClustersTask (Create new persons or update existing persons) Skipping cluster creation, not enough data (yet) collected. For cluster creation, you need either one of the following: * have 1000 faces already processed * or you need to have 95% of you images processed Use stats command to track progress yielding Found 0 faces without associated persons for user john and model 1 Clusters already exist, estimated there is no need to recreate them yielding Skipping cluster creation, not enough data (yet) collected. For cluster creation, you need either one of the following: * have 1000 faces already processed * or you need to have 95% of you images processed Use stats command to track progress yielding Skipping cluster creation, not enough data (yet) collected. For cluster creation, you need either one of the following: * have 1000 faces already processed * or you need to have 95% of you images processed Use stats command to track progress yielding Found 0 faces without associated persons for user valerie and model 1 Clusters already exist, estimated there is no need to recreate them yielding 6/8 - Executing task AddMissingImagesTask (Crawl for missing images for each user and insert them in DB) Skipping full image scan for user john 7/8 - Executing task EnumerateImagesMissingFacesTask (Find all images which don't have faces generated for them) yielding 8/8 - Executing task ImageProcessingTask (Process all images to extract faces) NOTE: Starting face recognition. If you experience random crashes after this point, please look FAQ at https://github.com/matiasdelellis/facerecognition/wiki/FAQ ```Nextcloud log (data/nextcloud.log)
Nextcloud log
``` .. relevant logs: {"reqId":"Y8g4UCJNji6YftU8BJpYjQAAAAQ","level":0,"time":"2023-01-18T18:20:00+00:00","remoteAddr":"192.168.1.15","user":"john","app":"metadata","method":"GET","url":"/nextcloud/index.php/settings/user/facerecognition","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows NT 10.0; rv:108.0) Gecko/20100101 Firefox/108.0","version":"25.0.3.2","data":{"app":"metadata"}} {"reqId":"Y8g4UCJNji6YftU8BJpYjQAAAAQ","level":0,"time":"2023-01-18T18:20:00+00:00","remoteAddr":"192.168.1.15","user":"john","app":"facerecognition","method":"GET","url":"/nextcloud/index.php/settings/user/facerecognition","message":"Could not find resource file \"/nextcloud/apps/facerecognition/js/vendor/autocomplete.js\"","userAgent":"Mozilla/5.0 (Windows NT 10.0; rv:108.0) Gecko/20100101 Firefox/108.0","version":"25.0.3.2","data":{"app":"facerecognition"}} {"reqId":"Y8g4UCJNji6YftU8BJpYjQAAAAQ","level":0,"time":"2023-01-18T18:20:00+00:00","remoteAddr":"192.168.1.15","user":"john","app":"facerecognition","method":"GET","url":"/nextcloud/index.php/settings/user/facerecognition","message":"Could not find resource file \"/nextcloud/apps/facerecognition/js/vendor/handlebars.js\"","userAgent":"Mozilla/5.0 (Windows NT 10.0; rv:108.0) Gecko/20100101 Firefox/108.0","version":"25.0.3.2","data":{"app":"facerecognition"}} {"reqId":"Y8g4UCJNji6YftU8BJpYjQAAAAQ","level":0,"time":"2023-01-18T18:20:00+00:00","remoteAddr":"192.168.1.15","user":"john","app":"facerecognition","method":"GET","url":"/nextcloud/index.php/settings/user/facerecognition","message":"Could not find resource file \"/nextcloud/apps/facerecognition/js/vendor/lozad.js\"","userAgent":"Mozilla/5.0 (Windows NT 10.0; rv:108.0) Gecko/20100101 Firefox/108.0","version":"25.0.3.2","data":{"app":"facerecognition"}} {"reqId":"Y8g4UCJNji6YftU8BJpYjQAAAAQ","level":0,"time":"2023-01-18T18:20:00+00:00","remoteAddr":"192.168.1.15","user":"john","app":"facerecognition","method":"GET","url":"/nextcloud/index.php/settings/user/facerecognition","message":"Could not find resource file \"/nextcloud/apps/facerecognition/js/vendor/egg.js\"","userAgent":"Mozilla/5.0 (Windows NT 10.0; rv:108.0) Gecko/20100101 Firefox/108.0","version":"25.0.3.2","data":{"app":"facerecognition"}} {"reqId":"Y8g4UCJNji6YftU8BJpYjQAAAAQ","level":0,"time":"2023-01-18T18:20:00+00:00","remoteAddr":"192.168.1.15","user":"john","app":"facerecognition","method":"GET","url":"/nextcloud/index.php/settings/user/facerecognition","message":"Could not find resource file \"/nextcloud/apps/facerecognition/js/templates.js\"","userAgent":"Mozilla/5.0 (Windows NT 10.0; rv:108.0) Gecko/20100101 Firefox/108.0","version":"25.0.3.2","data":{"app":"facerecognition"}} {"reqId":"Y8g4URjpoVj6s5oG0OFCAwAAAAY","level":0,"time":"2023-01-18T18:20:01+00:00","remoteAddr":"192.168.1.15","user":"john","app":"metadata","method":"GET","url":"/nextcloud/apps/facerecognition/js/vendor/autocomplete.js?v=52738922-3","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows NT 10.0; rv:108.0) Gecko/20100101 Firefox/108.0","version":"25.0.3.2","data":{"app":"metadata"}} {"reqId":"Y8g4UWRsXj921C6TZV5ungAAAAA","level":0,"time":"2023-01-18T18:20:01+00:00","remoteAddr":"192.168.1.15","user":"john","app":"metadata","method":"GET","url":"/nextcloud/apps/facerecognition/js/vendor/handlebars.js?v=52738922-3","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows NT 10.0; rv:108.0) Gecko/20100101 Firefox/108.0","version":"25.0.3.2","data":{"app":"metadata"}} {"reqId":"Y8g4UTRj91qDKyRNzf54iAAAAAI","level":0,"time":"2023-01-18T18:20:01+00:00","remoteAddr":"192.168.1.15","user":"john","app":"metadata","method":"GET","url":"/nextcloud/apps/facerecognition/js/vendor/lozad.js?v=52738922-3","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows NT 10.0; rv:108.0) Gecko/20100101 Firefox/108.0","version":"25.0.3.2","data":{"app":"metadata"}} {"reqId":"Y8g4UWRsXj921C6TZV5unwAAAAA","level":0,"time":"2023-01-18T18:20:01+00:00","remoteAddr":"192.168.1.15","user":"john","app":"metadata","method":"GET","url":"/nextcloud/apps/facerecognition/js/vendor/egg.js?v=52738922-3","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows NT 10.0; rv:108.0) Gecko/20100101 Firefox/108.0","version":"25.0.3.2","data":{"app":"metadata"}} {"reqId":"Y8g4USJNji6YftU8BJpYjgAAAAQ","level":0,"time":"2023-01-18T18:20:01+00:00","remoteAddr":"192.168.1.15","user":"john","app":"metadata","method":"GET","url":"/nextcloud/apps/facerecognition/js/templates.js?v=52738922-3","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows NT 10.0; rv:108.0) Gecko/20100101 Firefox/108.0","version":"25.0.3.2","data":{"app":"metadata"}} {"reqId":"Y8g4URjpoVj6s5oG0OFCBAAAAAY","level":0,"time":"2023-01-18T18:20:01+00:00","remoteAddr":"192.168.1.15","user":"john","app":"metadata","method":"GET","url":"/nextcloud/ocs/v2.php/search/providers?from=%2Fnextcloud%2Fsettings%2Fuser%2Ffacerecognition","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows NT 10.0; rv:108.0) Gecko/20100101 Firefox/108.0","version":"25.0.3.2","data":{"app":"metadata"}} ```