[Photoprism] An AI-Powered Photos App for the Decentralized Web

Can’t access my photos via sftp neither photoprism folder. I think it’s something related to privilege but don’t know what to do

Hi everyone,

I installed Photoprism and then wanted to test different ways to stock and import my files.
I deleted the directories in /originals and import again, but now it seems that the number of photos in my library is twice.
I’d like to start over with a fresh database.
How can I proceed ?
Is there a reset command like in the docker compose installation ?

Thanks but I installed the yunohost package of Photoprism and I don’t think this documentation applies. Am I mistaken ?

Ah! I honed in on docker-compose.

You can do it right in the app.


Click the complete rescan check box.
Then start.

Thanks for the tip, I started a complete rescan and it changed something in the library but I don’t understand why some photos I thought I had deleted are still visible.
For example, I deleted the /originals/2015/ directory but pictures of 2015 are visible in “Folders” and “Calendar” !
I also have a warning message telling me “The index currently contains 1167 hidden files”.
Any idea ?

  1. When you deleted, did you archive, then delete?
  2. Hidden files could be because they are low quality or too small. Check your Archive.

does this app have the potential to be turned into a photo portfolio (letting visitors access it, but without the permission to settings and whatnot) or is it meant to be for personal private use only?

It’s not the main goal of the project but you can create a publicly accessible album. You could make the link to it disappear after a certain time period too.

1 Like

Hi there!

Photoprism is great, and it received major updates in the last year, but unfortunately the YunoHost version dates back to September 2022… Could it be possible to update the package?

Thanks a lot! :heart:

1 Like

According to this issue, Photoprism will wait for the next Debian upgrade to be upgraded : Update to latest Version · Issue #37 · YunoHost-Apps/photoprism_ynh · GitHub

2 Likes

Oh, I understand. It makes total sense. Sorry for bothering!

Bonjour,
J’ai installé Photoprism sur mon YunoHost.
Pour ne pas déplacer mon dossier photo, j’ai fait un lien symbolique de la manière suivante : sudo ln -s /mon_dossier_photos/Phototheque/ /home/yunohost.app/photoprism/photos/originals
J’ai redémarré photoprism, mais quand je scan le dossier des “fichiers originaux” il ne trouve rien…
Ou peut se situer ma mauvaise manipulation ?
Merci d’avance de votre attention

As-tu bien vérifié que le lien fonctionnait à la main ? Que racontent les fichiers journaux de Photoprism quand tu lances un scan ?

J’ai bien vérifié que mon lien fonctionne bien, par l’arborescence et en mode terminal.
Voici les logs :

time="2024-06-11T15:01:38+02:00" level=info msg="classify: loading labels from labels.txt"
time="2024-06-11T15:01:38+02:00" level=info msg="index: found no .ppignore file"
time="2024-06-11T15:01:38+02:00" level=info msg="index: added folder /"
time="2024-06-11T15:01:38+02:00" level=info msg="index: found no new or modified files"
time="2024-06-11T15:01:39+02:00" level=info msg="indexation terminée en 3 s"
time="2024-06-11T15:27:33+02:00" level=info msg="indexage des originaux…"
time="2024-06-11T15:27:33+02:00" level=info msg="index: found no .ppignore file"
time="2024-06-11T15:27:33+02:00" level=info msg="index: found no new or modified files"
time="2024-06-11T15:27:33+02:00" level=info msg="indexation terminée en 0 s"
time="2024-06-11T15:27:36+02:00" level=info msg="paramètres sauvegardés"
time="2024-06-11T15:27:37+02:00" level=info msg="indexage des originaux…"
time="2024-06-11T15:27:37+02:00" level=info msg="index: found no .ppignore file"
time="2024-06-11T15:27:37+02:00" level=info msg="index: found no new or modified files"
time="2024-06-11T15:27:37+02:00" level=info msg="indexation terminée en 0 s"

Tu as essayé en cochant « réanalyse complète » ?
Sinon que te dises les journaux du service Photoprism ?

Je viens d’eesayer en cochant “Réanalyse complète”, pas mieux…
Voici les logs du service photoprism :
https://paste.yunohost.org/pekecoyiro

Je dois avoir un problème avec le lien symbolique, car lorque de mets des photos dans le dossier “originals” directement, cela fonctionne.

le dossier “originals” a-t-il les memes permissions/proprietaire/groupe que le dossier Phototeque?
Je me demande a quel utilisateur appartient le process de scan Photoprism…

Bonjour,

Je dois avoir un problème de droit dans les dossiers, mais je ne m’en sors pas.
Quels droits les dossiers et fichiers doivent-ils avoir ?

Bonjour,

Je pense avoir trouver la solution à mon problème. Le disque dur où son sauvegarder mes photos est différent de celui où est installé photoprism.
Le logiciel support les symblink à condition qu’ils soit sur le même support :
https://docs.photoprism.app/connu-dess/-symbollic-links

Il faut que je repense architecture de mes HDD…
Je suis ouvert à lire comment vous avez fait !