Installing the Face Recognition app in Yunohost/Nextcloud. Safe?

Hi,

I was wondering if installing the Face Recognition app that is available in Nextcloud would be safe on our Yunohost ?

On their page, they explain that the app is using a package called php7.4-pdlib.

Is anyone using this app within a Yunohost server without breaking everything ?

Thanks in advance,
Charly

I’m using it since 6 month or so, everything works great !
But the package is php7.3-pdlib, not 7.4 because we are on Buster.

That’s cool.
May I ask you what kind of hardware you’re using ?

Thanks !
Charly

Exactly this : HP ProLiant MicroServer - Turion II Neo N40L 1.5 GHz - Monitor : none. Series Specs - CNET

Hey !

2 years later, the face recognition app for Nextcloud is still in beta and Yunohost has been updated to Debian Bullseye.

I am trying to install it on my yunohost running on a VPS and this tread is the only one about this topic.

Do you still use the face-recognition app without problem ?
How did you install the pdlib package on the server ?

I am having troubles installing it :
I am following those instructions here PDlib Installation · matiasdelellis/facerecognition Wiki · GitHub
But when i run the first command i don’t have the rights on this folder

sudo echo "deb https://repo.delellis.com.ar bullseye bullseye" > /etc/apt/sources.list.d/20-pdlib.list
-bash: /etc/apt/sources.list.d/20-pdlib.list: Permission denied

So i used the chown command to be able to execute it correctly

sudo chown admin /etc/apt/sources.list.d

But now when i try to execute the 2 lasts commands, it doesn’t work either because my admin account doesn’t have the rights over parents directories :

 apt update
Reading package lists... Done
W: Unable to read /etc/apt/apt.conf.d/02periodic - open (13: Permission denied)
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)
admin@mon-nuage:/etc/apt/sources.list.d$ apt install php7.4-pdlib
W: Unable to read /etc/apt/apt.conf.d/02periodic - open (13: Permission denied)
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?

I am not very good in computing and i don’t want to abuse the use of the chown command to get acces to the whole /etc/apt/ directory. I think if yunohost doesn’t gives the admin user the rights to mess with this directory it must be for a good reason.

Should i try to force the installation ?
Can anything be broken with my server ?
Why don’t we have the rights on this directory in the first place ?
Thanks a lot for your help !!!

Do you use your admin or root account?
Try first to sudo -i

I don’t use it anymore because I didn’t use it so much

i use the admin account that was created when i installed the yunohost server.
I don’t really understand why i can do more things after using sudo -i than just using sudo before each command.

You confirm it is safe ? i am going to break some things messing arround with that /apt/lists/ folder ?

sudo -i will let you become root as asked in you logs.

When I installed it wasn’t a problem. I assume it’s the same now, although I didn’t try now.

But what’s your Nextcloud version? In Nextcloud >=25, you can install Recognize wich does the same thing: recognize faces.

Thanks a lot i didn’t know the new recognize app it works without any troublesome installation