Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. App Wishlist
  3. PhotoPrism - Personal Photo Management powered by Go and Google TensorFlow

PhotoPrism - Personal Photo Management powered by Go and Google TensorFlow

Scheduled Pinned Locked Moved App Wishlist
89 Posts 29 Posters 32.5k Views 40 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M moonmeister

    Okay, I decided to take a crack at packaging this and was surprisingly successful.

    I've detailed some of the more technical things over on the PhotoPrism Github: https://github.com/photoprism/photoprism/issues/1284

    For anyone who wants to expriment the docker image is moonmeister/cloudron-photoprism:0.1.3 and the configs can be found here https://github.com/moonmeister/photoprism/tree/feat/cloudron-image/docker/cloudron

    PLEASE NOTE: "Working" is currently defined as "You can log in". Basic features like, uploading photos are still broken. 🤣

    @girish I'm currious what you need when this is all working to publish. Meaning, do you need a dedicated repo with the manifest and Dockerfiles and all associated info? Can this be anywhere or does it need to be in the cloudron gitlab? Or can this stuff live in the PhotoPrism repository in a subfolder?

    I think that's everything I have for now. Anything else I should know? thanks.

    nebulonN Offline
    nebulonN Offline
    nebulon
    Staff
    wrote on last edited by
    #37

    @moonmeister ah impressive, so you were able to deal with tensorflow using our base image? Looking at your Dockerfiles you seem to temporarily rely on moonmeister/photoprism-dev:test2 is this something which could be put into that Dockerfile for completeness to have version pinned releases in the package?

    M 2 Replies Last reply
    2
    • nebulonN nebulon

      @moonmeister ah impressive, so you were able to deal with tensorflow using our base image? Looking at your Dockerfiles you seem to temporarily rely on moonmeister/photoprism-dev:test2 is this something which could be put into that Dockerfile for completeness to have version pinned releases in the package?

      M Offline
      M Offline
      moonmeister
      wrote on last edited by
      #38

      @nebulon Yes, If you checkout my GitHub issue on the PhotoPrism I address that issue. Basically, PhotoPrism doesn't release builds, they release a docker image. That image is built on Ubuntu 12.10. To make the build compatible with 12.04 I had to rebuild their dev image which is what that image is. Before I duplicated all that I was waiting to see if they had any feedback to optimize the process.

      1 Reply Last reply
      1
      • nebulonN nebulon

        @moonmeister ah impressive, so you were able to deal with tensorflow using our base image? Looking at your Dockerfiles you seem to temporarily rely on moonmeister/photoprism-dev:test2 is this something which could be put into that Dockerfile for completeness to have version pinned releases in the package?

        M Offline
        M Offline
        moonmeister
        wrote on last edited by
        #39

        @nebulon As to tensorflow...I just modified their production Dockerfile. I assume it works as of yet.

        M 1 Reply Last reply
        1
        • M moonmeister

          @nebulon As to tensorflow...I just modified their production Dockerfile. I assume it works as of yet.

          M Offline
          M Offline
          moonmeister
          wrote on last edited by moonmeister
          #40

          @nebulon so photoprism is running on 20.10 due to bugs in some dependencies on 20.04. Is it possible to get a 20.10 base image or do I need to figure out backport those dependencies?

          See https://github.com/photoprism/photoprism/issues/1284#issuecomment-841406953 for context.

          UPDATE: photoprism folks informed me they tried compiling ffmpeg for 20.04 but it was a huge nightmare and they gave up. A 20.10 21.04 base image sounds much easier if y'all can provide that.

          robiR M 2 Replies Last reply
          1
          • M moonmeister

            @nebulon so photoprism is running on 20.10 due to bugs in some dependencies on 20.04. Is it possible to get a 20.10 base image or do I need to figure out backport those dependencies?

            See https://github.com/photoprism/photoprism/issues/1284#issuecomment-841406953 for context.

            UPDATE: photoprism folks informed me they tried compiling ffmpeg for 20.04 but it was a huge nightmare and they gave up. A 20.10 21.04 base image sounds much easier if y'all can provide that.

            robiR Offline
            robiR Offline
            robi
            wrote on last edited by
            #41

            @moonmeister why not take the binary from 20.10 and use it on 20.04? Or use a statically compiled one that works anywhere?

            Conscious tech

            M 1 Reply Last reply
            0
            • robiR robi

              @moonmeister why not take the binary from 20.10 and use it on 20.04? Or use a statically compiled one that works anywhere?

              M Offline
              M Offline
              moonmeister
              wrote on last edited by moonmeister
              #42

              @robi Cause it's dynamically compiled. I'm not sure about statically compiling it but it's something I will look into doing.

              UPDATE: Static binaries are not an option.

              1 Reply Last reply
              0
              • S Offline
                S Offline
                squareclouds
                wrote on last edited by
                #43

                i am no dev, but as a common user i am looking forward to see this happen!! 🙂 keep as posted!

                1 Reply Last reply
                3
                • M moonmeister

                  @nebulon so photoprism is running on 20.10 due to bugs in some dependencies on 20.04. Is it possible to get a 20.10 base image or do I need to figure out backport those dependencies?

                  See https://github.com/photoprism/photoprism/issues/1284#issuecomment-841406953 for context.

                  UPDATE: photoprism folks informed me they tried compiling ffmpeg for 20.04 but it was a huge nightmare and they gave up. A 20.10 21.04 base image sounds much easier if y'all can provide that.

                  M Offline
                  M Offline
                  moonmeister
                  wrote on last edited by
                  #44

                  @moonmeister said in PhotoPrism - Personal Photo Management powered by Go and Google TensorFlow:

                  UPDATE: photoprism folks informed me they tried compiling ffmpeg for 20.04 but it was a huge nightmare and they gave up. A 20.10 21.04 base image sounds much easier if y'all can provide that.

                  @nebulon is this possible?

                  jdaviescoatesJ 1 Reply Last reply
                  3
                  • necrevistonnezrN Offline
                    necrevistonnezrN Offline
                    necrevistonnezr
                    wrote on last edited by
                    #45

                    Photoprism gets face detection. Shared albums on its way.
                    https://docs.photoprism.org/release-notes/

                    1 Reply Last reply
                    7
                    • M moonmeister

                      @moonmeister said in PhotoPrism - Personal Photo Management powered by Go and Google TensorFlow:

                      UPDATE: photoprism folks informed me they tried compiling ffmpeg for 20.04 but it was a huge nightmare and they gave up. A 20.10 21.04 base image sounds much easier if y'all can provide that.

                      @nebulon is this possible?

                      jdaviescoatesJ Offline
                      jdaviescoatesJ Offline
                      jdaviescoates
                      wrote on last edited by
                      #46

                      @moonmeister said in PhotoPrism - Personal Photo Management powered by Go and Google TensorFlow:

                      @moonmeister said in PhotoPrism - Personal Photo Management powered by Go and Google TensorFlow:

                      UPDATE: photoprism folks informed me they tried compiling ffmpeg for 20.04 but it was a huge nightmare and they gave up. A 20.10 21.04 base image sounds much easier if y'all can provide that.

                      @nebulon is this possible?

                      I assume it is possible but I think it's Cloudron policy to only support Ubuntu LTS (which I think is wise - but I hope it doesn't mean we'll have to wait until April 2022 for PhotoPrism?!?)

                      I use Cloudron with Gandi & Hetzner

                      girishG 1 Reply Last reply
                      0
                      • jdaviescoatesJ jdaviescoates

                        @moonmeister said in PhotoPrism - Personal Photo Management powered by Go and Google TensorFlow:

                        @moonmeister said in PhotoPrism - Personal Photo Management powered by Go and Google TensorFlow:

                        UPDATE: photoprism folks informed me they tried compiling ffmpeg for 20.04 but it was a huge nightmare and they gave up. A 20.10 21.04 base image sounds much easier if y'all can provide that.

                        @nebulon is this possible?

                        I assume it is possible but I think it's Cloudron policy to only support Ubuntu LTS (which I think is wise - but I hope it doesn't mean we'll have to wait until April 2022 for PhotoPrism?!?)

                        girishG Offline
                        girishG Offline
                        girish
                        Staff
                        wrote on last edited by
                        #47

                        @jdaviescoates Since we use Docker, the base OS is usually not that relevant. We can always compile the required ffmpeg for Ubuntu 20.04 (which the app containers are based on).

                        jdaviescoatesJ 1 Reply Last reply
                        4
                        • girishG girish

                          @jdaviescoates Since we use Docker, the base OS is usually not that relevant. We can always compile the required ffmpeg for Ubuntu 20.04 (which the app containers are based on).

                          jdaviescoatesJ Offline
                          jdaviescoatesJ Offline
                          jdaviescoates
                          wrote on last edited by
                          #48

                          @girish I don't really understand, but great!

                          I use Cloudron with Gandi & Hetzner

                          1 Reply Last reply
                          1
                          • eyecreateE Offline
                            eyecreateE Offline
                            eyecreate
                            App Dev
                            wrote on last edited by
                            #49

                            I'm interested in using this. What is currently preventing this from being on the app store?

                            jdaviescoatesJ 1 Reply Last reply
                            0
                            • eyecreateE eyecreate

                              I'm interested in using this. What is currently preventing this from being on the app store?

                              jdaviescoatesJ Offline
                              jdaviescoatesJ Offline
                              jdaviescoates
                              wrote on last edited by
                              #50

                              @eyecreate no one has packaged it. It seems for some reason it's isn't easy to package, but I don't really understand what the issue is.

                              I use Cloudron with Gandi & Hetzner

                              E 1 Reply Last reply
                              0
                              • L Offline
                                L Offline
                                LoudLemur
                                wrote on last edited by
                                #51

                                PhotoPrism looks beautiful. It is a pity there is no timeline view to go with the Calendar view.

                                Thanks for helping bring this to Cloudron.

                                1 Reply Last reply
                                0
                                • nebulonN nebulon

                                  Yes we will package that app once it reaches a stable release. I've met with the developers in person already so we are on track here 🙂

                                  P Offline
                                  P Offline
                                  privsec
                                  wrote on last edited by
                                  #52

                                  @nebulon I wonder if there is a way to have a cloudron hosted server for the queries to go to.

                                  1 Reply Last reply
                                  0
                                  • chrisC chris referenced this topic on
                                  • chrisC chris referenced this topic on
                                  • chrisC chris referenced this topic on
                                  • jdaviescoatesJ jdaviescoates

                                    @eyecreate no one has packaged it. It seems for some reason it's isn't easy to package, but I don't really understand what the issue is.

                                    E Offline
                                    E Offline
                                    eddowding
                                    wrote on last edited by
                                    #53

                                    @jdaviescoates is there a way to crowdfund people who can package stuff?

                                    P 1 Reply Last reply
                                    2
                                    • E eddowding

                                      @jdaviescoates is there a way to crowdfund people who can package stuff?

                                      P Offline
                                      P Offline
                                      privsec
                                      wrote on last edited by
                                      #54

                                      @eddowding Holy crap this

                                      E 1 Reply Last reply
                                      1
                                      • P privsec

                                        @eddowding Holy crap this

                                        E Offline
                                        E Offline
                                        eddowding
                                        wrote on last edited by
                                        #55

                                        @privsec https://forum.cloudron.io/topic/6175/crowdfund-people-to-package-apps-for-cloudron

                                        1 Reply Last reply
                                        1
                                        • chrisC chris referenced this topic on
                                        • T Offline
                                          T Offline
                                          timka
                                          wrote on last edited by
                                          #56

                                          I also upvote it. Is there a real alternative avaible to this?

                                          L 1 Reply Last reply
                                          1
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Bookmarks
                                          • Search