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

**URL:** <https://forum.yunohost.org/t/photoprism-an-ai-powered-photos-app-for-the-decentralized-web/20963>\
**Category:** Apps\
**Tags:** photoprism, french, english\
**Created:** [August 29, 2022, 10:41am UTC](https://forum.yunohost.org/t/photoprism-an-ai-powered-photos-app-for-the-decentralized-web/20963 "2022-08-29T10:41:00Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tho](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tho/32/3667_2.png) [@Tho](https://forum.yunohost.org/u/Tho)\
**Post date:** [August 29, 2022, 10:41am UTC](https://forum.yunohost.org/t/photoprism-an-ai-powered-photos-app-for-the-decentralized-web/20963/1 "2022-08-29T10:41:00Z")

</div>

🇬🇧

# Photoprism for YunoHost

[![Integration level](https://dash.yunohost.org/integration/photoprism.svg)](https://dash.yunohost.org/appci/app/photoprism) ![Working status](https://ci-apps.yunohost.org/ci/badges/photoprism.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/photoprism.maintain.svg)  
[![Install Photoprism with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=photoprism)

_This app has been packaged by @Limezy, all thanks to him 🎉_

## Overview

PhotoPrism® is an AI-Powered Photos App for the Decentralized Web. It makes use of the latest technologies to tag and find pictures automatically without getting in your way. You can run it at home, on a private server, or in the cloud.

### Features

- Browse all your photos and videos without worrying about RAW conversion, duplicates or video formats
- Easily find specific pictures using powerful search filters
- Includes four high-resolution world maps to bring back the memories of your favorite trips
- Play Live Photos™ by hovering over them in albums and search results
- Recognizes the faces of your family and friends
- Automatic classification of pictures based on their content and location

**Demo:** [https://demo-fr.photoprism.app](https://demo-fr.photoprism.app)

## Screenshots

![Screenshot of Photoprism](https://raw.githubusercontent.com/Thovi98/photoprism_ynh/Upgrade-to-latest-version/doc/screenshots/photoprism.jpg)

## Disclaimers / important information

- Known limitations:

- At first install, you’ll be prompted for credentials

## Documentation and resources

- Official app website: [https://photoprism.app](https://photoprism.app)
- Official user documentation: [https://docs.photoprism.app/user-guide/](https://docs.photoprism.app/user-guide/)
- Official admin documentation: [https://docs.photoprism.app/developer-guide/](https://docs.photoprism.app/developer-guide/)
- Upstream app code repository: [https://github.com/photoprism/photoprism](https://github.com/photoprism/photoprism)
- YunoHost documentation for this app: [https://yunohost.org/app\_photoprism](https://yunohost.org/app_photoprism)
- Report a bug: [https://github.com/YunoHost-Apps/photoprism\_ynh/issues](https://github.com/YunoHost-Apps/photoprism_ynh/issues)

## Developer info

Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/photoprism_ynh/tree/testing).

To try the testing branch, please proceed like that.

```bash
sudo yunohost app install https://github.com/YunoHost-Apps/photoprism_ynh/tree/testing --debug
or
sudo yunohost app upgrade photoprism -u https://github.com/YunoHost-Apps/photoprism_ynh/tree/testing --debug

```

**More info regarding app packaging:** [https://yunohost.org/packaging\_apps](https://yunohost.org/packaging_apps)

* * *

🇫🇷

# Photoprism pour YunoHost

[![Niveau d'intégration](https://dash.yunohost.org/integration/photoprism.svg)](https://dash.yunohost.org/appci/app/photoprism) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/photoprism.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/photoprism.maintain.svg)  
[![Installer Photoprism avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=photoprism)

_Cette application a été packagée par @Limezy, grand merci à lui 🎉_

## Vue d’ensemble

PhotoPrism® is an AI-Powered Photos App for the Decentralized Web. It makes use of the latest technologies to tag and find pictures automatically without getting in your way. You can run it at home, on a private server, or in the cloud.

### Fonctionnalités

- Parcourez toutes vos photos et vidéos sans vous soucier de la conversion RAW, des doublons ou des formats vidéo
- Retrouvez facilement des photos spécifiques grâce à des filtres de recherche puissants
- Inclut quatre cartes du monde en haute résolution pour raviver les souvenirs de vos voyages préférés
- Lancez les Photos Live™ en les survolant dans les albums et les résultats de recherche
- Reconnaît les visages de votre famille et de vos amis
- Classification automatique des photos en fonction de leur contenu et de leur emplacement

**Démo :** [https://demo-fr.photoprism.app](https://demo-fr.photoprism.app)

## Captures d’écran

![Capture d'écran de Photoprism](https://raw.githubusercontent.com/Thovi98/photoprism_ynh/Upgrade-to-latest-version/doc/screenshots/photoprism.jpg)

## Avertissements / informations importantes

- Limites connues :

- Lors de la première installation, il vous sera demandé de fournir des informations d’identification.

## Documentations et ressources

- Site officiel de l’app : [https://photoprism.app](https://photoprism.app)
- Documentation officielle utilisateur : [https://docs.photoprism.app/user-guide/](https://docs.photoprism.app/user-guide/)
- Documentation officielle de l’admin : [https://docs.photoprism.app/developer-guide/](https://docs.photoprism.app/developer-guide/)
- Dépôt de code officiel de l’app : [https://github.com/photoprism/photoprism](https://github.com/photoprism/photoprism)
- Documentation YunoHost pour cette app : [https://yunohost.org/app\_photoprism](https://yunohost.org/app_photoprism)
- Signaler un bug : [https://github.com/YunoHost-Apps/photoprism\_ynh/issues](https://github.com/YunoHost-Apps/photoprism_ynh/issues)

## Informations pour les développeurs

Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/photoprism_ynh/tree/testing).

Pour essayer la branche testing, procédez comme suit.

```bash
sudo yunohost app install https://github.com/YunoHost-Apps/photoprism_ynh/tree/testing --debug
ou
sudo yunohost app upgrade photoprism -u https://github.com/YunoHost-Apps/photoprism_ynh/tree/testing --debug

```

**Plus d’infos sur le packaging d’applications :** [https://yunohost.org/packaging\_apps](https://yunohost.org/packaging_apps)

---

<div class="post-metadata">

**Author:** ![Limezy](https://forum.yunohost.org/user_avatar/forum.yunohost.org/limezy/32/4983_2.png) [@Limezy](https://forum.yunohost.org/u/Limezy)\
**Post date:** [August 29, 2022, 1:36pm UTC](https://forum.yunohost.org/t/photoprism-an-ai-powered-photos-app-for-the-decentralized-web/20963/2 "2022-08-29T13:36:20Z")

</div>

Great @Tho thanks for that post !

@All please be aware that @tituspijean has recently found a bug here : [initrd.img error, bad gateway but service running · Issue #22 · YunoHost-Apps/photoprism\_ynh · GitHub](https://github.com/YunoHost-Apps/photoprism_ynh/issues/22), for which we haven’t been yet able to find the root cause.

If you are lucky, photoprism will just run, and in that case should work very well.  
If you are not, you may bump into a 502 nginx error message… until we find a fix !

I’ll report here once the fix will be made.

---

<div class="post-metadata">

**Author:** ![Limezy](https://forum.yunohost.org/user_avatar/forum.yunohost.org/limezy/32/4983_2.png) [@Limezy](https://forum.yunohost.org/u/Limezy)\
**Post date:** [August 30, 2022, 5:09am UTC](https://forum.yunohost.org/t/photoprism-an-ai-powered-photos-app-for-the-decentralized-web/20963/3 "2022-08-30T05:09:48Z")

</div>

A fix is on the way !

> <https://github.com/YunoHost-Apps/photoprism_ynh/pull/26>
>
> Fixes : #22

---

<div class="post-metadata">

**Author:** ![Mamie](https://forum.yunohost.org/user_avatar/forum.yunohost.org/mamie/32/1245_2.png) [@Mamie](https://forum.yunohost.org/u/Mamie)\
**Post date:** [August 30, 2022, 10:46am UTC](https://forum.yunohost.org/t/photoprism-an-ai-powered-photos-app-for-the-decentralized-web/20963/4 "2022-08-30T10:46:02Z")

</div>

Just a small question : is the world map included here ?  
I thought it was a premium function.

Is it also possible to use it as read only of NextCloud folders ?  
(In my case, the photos are not in the shared multimedia folder but 100% handled by NextCloud)

---

<div class="post-metadata">

**Author:** ![arkadi](https://forum.yunohost.org/user_avatar/forum.yunohost.org/arkadi/32/5350_2.png) [@arkadi](https://forum.yunohost.org/u/arkadi)\
**Post date:** [August 30, 2022, 11:33am UTC](https://forum.yunohost.org/t/photoprism-an-ai-powered-photos-app-for-the-decentralized-web/20963/5 "2022-08-30T11:33:18Z")

</div>

Cool! I’ve been running this over a year with Docker. It’s a great app.

---

<div class="post-metadata">

**Author:** ![Limezy](https://forum.yunohost.org/user_avatar/forum.yunohost.org/limezy/32/4983_2.png) [@Limezy](https://forum.yunohost.org/u/Limezy)\
**Post date:** [August 30, 2022, 11:41am UTC](https://forum.yunohost.org/t/photoprism-an-ai-powered-photos-app-for-the-decentralized-web/20963/6 "2022-08-30T11:41:06Z")

</div>

There will still be some work to be done for guys like you, to help for the migration from Docker to the “native” app. I’ll have a look of what photoprism provides for instance migration.

---

<div class="post-metadata">

**Author:** ![Limezy](https://forum.yunohost.org/user_avatar/forum.yunohost.org/limezy/32/4983_2.png) [@Limezy](https://forum.yunohost.org/u/Limezy)\
**Post date:** [August 30, 2022, 4:12pm UTC](https://forum.yunohost.org/t/photoprism-an-ai-powered-photos-app-for-the-decentralized-web/20963/7 "2022-08-30T16:12:31Z")

</div>

> [@Mamie](#):
>
> Just a small question : is the world map included here ?  
> I thought it was a premium function.

I don’t think so, but I would have to recheck

> [@Mamie](#):
>
> Is it also possible to use it as read only of NextCloud folders ?  
> (In my case, the photos are not in the shared multimedia folder but 100% handled by NextCloud)

Yes, but you would have to amend manually the .env file

---

<div class="post-metadata">

**Author:** ![Limezy](https://forum.yunohost.org/user_avatar/forum.yunohost.org/limezy/32/4983_2.png) [@Limezy](https://forum.yunohost.org/u/Limezy)\
**Post date:** [August 30, 2022, 5:02pm UTC](https://forum.yunohost.org/t/photoprism-an-ai-powered-photos-app-for-the-decentralized-web/20963/8 "2022-08-30T17:02:54Z")

</div>

@Mamie after double checking, world map is included by default !

 ![Capture d’écran 2022-08-31 à 00.02.12](https://forum.yunohost.org/uploads/default/original/2X/c/c8384e5d54c403319937ad8b42bca6ac5d577800.jpeg)  
Hello from Bangkok 🙂

---

<div class="post-metadata">

**Author:** ![arkadi](https://forum.yunohost.org/user_avatar/forum.yunohost.org/arkadi/32/5350_2.png) [@arkadi](https://forum.yunohost.org/u/arkadi)\
**Post date:** [August 31, 2022, 8:13am UTC](https://forum.yunohost.org/t/photoprism-an-ai-powered-photos-app-for-the-decentralized-web/20963/9 "2022-08-31T08:13:01Z")

</div>

No worries. I’m happy with my docker install for now. The key feature I’m waiting for is multi-user support.

Currently, I run two instances of photprism + mariadb, one for me and one for my other family member.

It is not ideal.

---

<div class="post-metadata">

**Author:** ![Limezy](https://forum.yunohost.org/user_avatar/forum.yunohost.org/limezy/32/4983_2.png) [@Limezy](https://forum.yunohost.org/u/Limezy)\
**Post date:** [August 31, 2022, 1:33pm UTC](https://forum.yunohost.org/t/photoprism-an-ai-powered-photos-app-for-the-decentralized-web/20963/10 "2022-08-31T13:33:40Z")

</div>

Yes I understand… The OIDC feature request has been waiting since 3 years…  
Once done I’ll use the dex app to bind yunohost users to photoprism !

---

<div class="post-metadata">

**Author:** ![Tho](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tho/32/3667_2.png) [@Tho](https://forum.yunohost.org/u/Tho)\
**Post date:** [September 1, 2022, 9:12am UTC](https://forum.yunohost.org/t/photoprism-an-ai-powered-photos-app-for-the-decentralized-web/20963/11 "2022-09-01T09:12:21Z")

</div>

> [@Limezy](#):
>
> > [@Mamie](#):
> >
> > Is it also possible to use it as read only of NextCloud folders ?  
> > (In my case, the photos are not in the shared multimedia folder but 100% handled by NextCloud)
> 
> Yes, but you would have to amend manually the .env file

Or you symlink your directory with `/home/yunohost.app/photoprism/photos/originals` (or something like that). That’s what I have done and it works great!

---

<div class="post-metadata">

**Author:** ![Limezy](https://forum.yunohost.org/user_avatar/forum.yunohost.org/limezy/32/4983_2.png) [@Limezy](https://forum.yunohost.org/u/Limezy)\
**Post date:** [September 1, 2022, 10:09am UTC](https://forum.yunohost.org/t/photoprism-an-ai-powered-photos-app-for-the-decentralized-web/20963/12 "2022-09-01T10:09:26Z")

</div>

Good to know ! I didn’t think something like this would work

---

<div class="post-metadata">

**Author:** ![mbro](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/m/c37758/32.png) [@mbro](https://forum.yunohost.org/u/mbro)\
**Post date:** [September 19, 2022, 7:30pm UTC](https://forum.yunohost.org/t/photoprism-an-ai-powered-photos-app-for-the-decentralized-web/20963/13 "2022-09-19T19:30:28Z")

</div>

I thought photoprism had an explicit function to import its photos from nextcloud. I’d like it to sync though. Which didn’t work when I ran it in Docker, apparently because the nginx server which runs (yunohost) nextcloud doesn’t allow for that due to some webdav config shortcomings (which apache would not have). I’m not knowledgeable on this at all so I stopped trying after that.

Sync with nextcloud would be awesome though. My phone uploads automatically to nextcloud, but many photos can be deleted later. Managing photos in nextcloud itself is basically impossible for me (too slow, pretty much crashing on larger folders due to thumbnails generation, the plugin preview generator didn’t work for me either and I can’t find an easy documentation on it).

---

<div class="post-metadata">

**Author:** ![arkadi](https://forum.yunohost.org/user_avatar/forum.yunohost.org/arkadi/32/5350_2.png) [@arkadi](https://forum.yunohost.org/u/arkadi)\
**Post date:** [September 21, 2022, 12:56am UTC](https://forum.yunohost.org/t/photoprism-an-ai-powered-photos-app-for-the-decentralized-web/20963/14 "2022-09-21T00:56:46Z")

</div>

> [@mbro](#):
>
> some though. My phone uploads automatically to nextcloud, but many photos can be deleted later

I sync my photos from phone to nextcloud. Then I run an rsync script to move it to my RAID-1 drive where I have photoprism running. I then run index again and photoprism picks up the photos.

A bit old now but my tutorial on it is here. Ask any other questions you have. I’ve been runnig it for at least 2 years now.

> **[Photoprism on Yunohost Installation Guide](https://blog.arkadi.one/p/photoprism-on-yunohost-installation-guide/)**
>
> This is a quick guide for people using Yunohost to install Photoprism.
> Full installation instructions in the Photoprism Documentation
> Before you Start Hard Drive: You should install Photoprism on a drive with at least the same amount of free space as...

NOTE: I do not use the Photoprism yunohost app. I am just running it with Docker.

---

<div class="post-metadata">

**Author:** ![Mamie](https://forum.yunohost.org/user_avatar/forum.yunohost.org/mamie/32/1245_2.png) [@Mamie](https://forum.yunohost.org/u/Mamie)\
**Post date:** [September 21, 2022, 7:24am UTC](https://forum.yunohost.org/t/photoprism-an-ai-powered-photos-app-for-the-decentralized-web/20963/15 "2022-09-21T07:24:38Z")

</div>

Thanks for the tutorial.

On my side I already have the pictures on my phone, in NextCloud (on a RAID on 2 disks), on a local backup and soon on a distant backup.

I really do not want them in double (even if borg deduplication could lead to a not bigger backups).

---

<div class="post-metadata">

**Author:** ![Limezy](https://forum.yunohost.org/user_avatar/forum.yunohost.org/limezy/32/4983_2.png) [@Limezy](https://forum.yunohost.org/u/Limezy)\
**Post date:** [September 21, 2022, 8:06am UTC](https://forum.yunohost.org/t/photoprism-an-ai-powered-photos-app-for-the-decentralized-web/20963/16 "2022-09-21T08:06:40Z")

</div>

I think Photoprism can be configured to look at some specific folder and then import the new pics coming in. (I will have to dig in the config panel documentation to implement this in the app…)  
You still would have some “doubles” though (mainly pre-computed various previews sizes).  
There is no magic, this is the cost for a faster interface…

---

<div class="post-metadata">

**Author:** ![polochon](https://forum.yunohost.org/user_avatar/forum.yunohost.org/polochon/32/2616_2.png) [@polochon](https://forum.yunohost.org/u/polochon)\
**Post date:** [December 22, 2022, 5:36pm UTC](https://forum.yunohost.org/t/photoprism-an-ai-powered-photos-app-for-the-decentralized-web/20963/17 "2022-12-22T17:36:57Z")

</div>

Hi @Limezy , I have an issue to run Photoprism with a 32bits raspberry3 (install well done ✅ )

```auto
admin@polochon:~ $ sudo yunohost service log photoprism
/var/log/photoprism/photoprism.log: 
  - /var/www/photoprism/live/bin/photoprism: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.33' not found (required by /var/www/photoprism/live/bin/photoprism)
  - /var/www/photoprism/live/bin/photoprism: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.32' not found (required by /var/www/photoprism/live/bin/photoprism)
  - /var/www/photoprism/live/bin/photoprism: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.34' not found (required by /var/www/photoprism/live/bin/photoprism)
  - /var/www/photoprism/live/bin/photoprism: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.33' not found (required by /var/www/photoprism/live/bin/photoprism)
  - /var/www/photoprism/live/bin/photoprism: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.32' not found (required by /var/www/photoprism/live/bin/photoprism)
  - /var/www/photoprism/live/bin/photoprism: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.34' not found (required by /var/www/photoprism/live/bin/photoprism)
  - /var/www/photoprism/live/bin/photoprism: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.33' not found (required by /var/www/photoprism/live/bin/photoprism)
  - /var/www/photoprism/live/bin/photoprism: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.32' not found (required by /var/www/photoprism/live/bin/photoprism)
  - /var/www/photoprism/live/bin/photoprism: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.34' not found (required by /var/www/photoprism/live/bin/photoprism)
journalctl: 

```

My system is up do date, but I only have the 2.31 version:

```auto
admin@polochon:~ $ ldd --version
ldd (Debian GLIBC 2.31-13+rpt2+rpi1+deb11u5) 2.31

```

Is there anything I can do? I’m not sure I can force an upgrade of this without collateral dammage. Is there a plan to compile photoprism with older glibc version?

Thanks 🙂  
Polochon

* * *

edit: the issue was due to 32 bits OS, which is not supported apparently. No issue with 64 bits.

---

<div class="post-metadata">

**Author:** ![polochon](https://forum.yunohost.org/user_avatar/forum.yunohost.org/polochon/32/2616_2.png) [@polochon](https://forum.yunohost.org/u/polochon)\
**Post date:** [December 30, 2022, 3:56pm UTC](https://forum.yunohost.org/t/photoprism-an-ai-powered-photos-app-for-the-decentralized-web/20963/18 "2022-12-30T15:56:47Z")

</div>

Hi here,  
I’m not sure if it is really a bug, or maybe it should be mentioned in the documentation, but the webdav adress showed in the settings is not necessary the right one.  
For my case, it was: `https://admin@my-domain-name/originals`.  
But of course, in a case of a yunohost setup, you should add the prefix you setup for the app. So in my case it was `https://admin@my-domain-name/photoprism/originals` because this is the suffix setup at installation

---

<div class="post-metadata">

**Author:** ![Tho](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tho/32/3667_2.png) [@Tho](https://forum.yunohost.org/u/Tho)\
**Post date:** [January 17, 2023, 9:38pm UTC](https://forum.yunohost.org/t/photoprism-an-ai-powered-photos-app-for-the-decentralized-web/20963/19 "2023-01-17T21:38:13Z")

</div>

Are you on latest master of the Photoprism package (version from 1st of September 2022)?  
I don’t have your `glibc` issue with this version.

If I try to update, then the same problem arise because the new Photoprism builds are based on Jammy (Ubuntu 22.10) which has a higher `glibc` version.  
The upstream maintainer is open for a pull request that re-add the Debian Bullseye builds, if someone wants to give a try: [Update the Debian Bullseye docker image · Discussion #3123 · photoprism/photoprism · GitHub](https://github.com/photoprism/photoprism/discussions/3123)

---

<div class="post-metadata">

**Author:** ![polochon](https://forum.yunohost.org/user_avatar/forum.yunohost.org/polochon/32/2616_2.png) [@polochon](https://forum.yunohost.org/u/polochon)\
**Post date:** [January 18, 2023, 8:11am UTC](https://forum.yunohost.org/t/photoprism-an-ai-powered-photos-app-for-the-decentralized-web/20963/20 "2023-01-18T08:11:09Z")

</div>

Hi Tho, the issue was (probably) due to a 32bits OS. After raspbian 64bits reinstallation, everything is fine!

[Next page](https://forum.yunohost.org/t/photoprism-an-ai-powered-photos-app-for-the-decentralized-web/20963.md?page=2)
