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
  • Brite
  • 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 - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. App Wishlist
  3. Dify.ai, a self-hosted prompt-management tool

Dify.ai, a self-hosted prompt-management tool

Scheduled Pinned Locked Moved App Wishlist
43 Posts 12 Posters 14.9k Views 14 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.
  • luckowL luckow

    @timconsidine same on the third network:

    curl -fsSL https://customappgateway.appx.uk/install.sh | bash -s -- --install-app "Dify AI"
    CustomAppGateway Universal Installer
    ----------------------------------------
    Detected OS: Linux (x86_64)
    Downloading installer from: https://customappgateway.appx.uk/cag-installer-linux
    Running Installer...
    ----------------------------------------
    Welcome to the Custom App Gateway (CAG) Installer
    -----------------------------------------------
    Fetching catalogue to find app: Dify AI...
    ✔ Found App: Dify AI (undefined)
    NOTE: You will need an API Token from your Cloudron Profile.
          Go to https://my.your-cloudron.com/#/profile to generate one.
    ? Enter your Cloudron Domain (e.g., my.example.com): my.example.org
    ? Enter your Cloudron API Token: ****************************************************************
    ? Enter the subdomain to install the app (e.g., ccai.example.com): dify.example.org
    
    Validating connection...
    ✔ Connection successful
    
    Fetching App Manifest...
    Fetching manifest from: https://customappgateway.appx.uk/deploy/dify/CloudronManifest.json
    ✔ Manifest fetched successfully
    Resolving manifest file references...
    
    Installing App to dify.example.org...
    Image: tcmbp132021/cloudron-dify:latest
    ✘ Installation failed: No such route
    Details: {
      "status": "Not Found",
      "message": "No such route"
    }
    
    ping hub.docker.com 
    PING hub.docker.com (2606:4700:4409::ac40:9045) 56 Datenbytes
    64 Bytes von 2606:4700:4409::ac40:9045: icmp_seq=1 ttl=56 Zeit=43.1 ms
    64 Bytes von 2606:4700:4409::ac40:9045: icmp_seq=2 ttl=56 Zeit=48.4 ms
    64 Bytes von 2606:4700:4409::ac40:9045: icmp_seq=3 ttl=56 Zeit=47.0 ms
    

    I have no idea what the difference is between your network and mine.

    timconsidineT Offline
    timconsidineT Offline
    timconsidine
    App Dev
    wrote on last edited by
    #30

    @luckow well seems to me it is docker hub access issue, not an app issue.
    My ping was via cloudflare and IPV4
    Yours seem ipv6 and direct.
    No idea why either difference would be a blocker.

    I’ll try some diagnosis

    Indie app dev, huge fan of Cloudron PaaS, scratching my itches : communityapps.appx.uk

    1 Reply Last reply
    1
    • timconsidineT Offline
      timconsidineT Offline
      timconsidine
      App Dev
      wrote on last edited by
      #31

      Re-packaged as a community app :

      Cloudron Versions:
      https://communityapps.appx.uk/cloudron-dify/CloudronVersions.json

      WARNING : it's a big 3.6Gb image to pull down : be patient.

      Community Apps Website:
      https://communityapps.appx.uk

      [ @community-apps ]

      @luckow does the community app solve your image download ?

      @James, how do we communicate updates available ? Just push new details to CloudronVersions.json and Cloudron platform will pick them up and advise those who installed it ? (no update in this one - just a repackage)

      Indie app dev, huge fan of Cloudron PaaS, scratching my itches : communityapps.appx.uk

      luckowL jamesJ 2 Replies Last reply
      2
      • timconsidineT timconsidine

        Re-packaged as a community app :

        Cloudron Versions:
        https://communityapps.appx.uk/cloudron-dify/CloudronVersions.json

        WARNING : it's a big 3.6Gb image to pull down : be patient.

        Community Apps Website:
        https://communityapps.appx.uk

        [ @community-apps ]

        @luckow does the community app solve your image download ?

        @James, how do we communicate updates available ? Just push new details to CloudronVersions.json and Cloudron platform will pick them up and advise those who installed it ? (no update in this one - just a repackage)

        luckowL Offline
        luckowL Offline
        luckow
        translator
        wrote on last edited by
        #32

        @timconsidine Yes. Great. The download and installation went smoothly.

        Pronouns: he/him | Primary language: German

        timconsidineT 1 Reply Last reply
        2
        • luckowL luckow

          @timconsidine Yes. Great. The download and installation went smoothly.

          timconsidineT Offline
          timconsidineT Offline
          timconsidine
          App Dev
          wrote on last edited by
          #33

          @luckow phew !

          Indie app dev, huge fan of Cloudron PaaS, scratching my itches : communityapps.appx.uk

          1 Reply Last reply
          2
          • timconsidineT timconsidine

            Re-packaged as a community app :

            Cloudron Versions:
            https://communityapps.appx.uk/cloudron-dify/CloudronVersions.json

            WARNING : it's a big 3.6Gb image to pull down : be patient.

            Community Apps Website:
            https://communityapps.appx.uk

            [ @community-apps ]

            @luckow does the community app solve your image download ?

            @James, how do we communicate updates available ? Just push new details to CloudronVersions.json and Cloudron platform will pick them up and advise those who installed it ? (no update in this one - just a repackage)

            jamesJ Offline
            jamesJ Offline
            james
            Staff
            wrote on last edited by
            #34

            Hello @timconsidine

            When you update the CloudronManifest.json file at e.g.: https://communityapps.appx.uk/cloudron-dify/CloudronVersions.json installation that used this URL will pickup the update automatically.

            1 Reply Last reply
            2
            • girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #35

              @timconsidine if you want (to increase you work 😄 ), you can open a separate package updates thread for a package.

              1 Reply Last reply
              3
              • RoundHouse1924R Offline
                RoundHouse1924R Offline
                RoundHouse1924
                wrote on last edited by
                #36

                FWIW, Dify.ai is licensed under a modified version of the Apache License 2.0 with additional conditions:-
                https://github.com/langgenius/dify/blob/main/LICENSE

                Self-hoster with Cloudron, Hetzner, Exoscale, Porkbun & Gandi

                1 Reply Last reply
                2
                • E ekevu123

                  For all developers who work with large language models and prompts, there are graphical user interfaces that can make life easier.

                  Dify.ai is especially good and, that's the best part, it can be self-hosted.
                  Self-hosting documentation: https://docs.dify.ai/getting-started/install-self-hosted

                  Feature overview:

                  • Building visual prompt workflows
                  • Supports multiple LLMs, incl. open-source ones
                  • Supports RAGs and vector databases
                  • It has an API that you can use to integrate into your own application
                  • You can log and evaluate your user's requests

                  I searched for a long time for a good open solution, and came to the conclusion that this is my favourite.

                  I would love to see this on cloudron and maybe other developers who work with LLMs might agree.

                  L Offline
                  L Offline
                  LoudLemur
                  wrote on last edited by
                  #37
                  This post is deleted!
                  timconsidineT E 2 Replies Last reply
                  0
                  • L LoudLemur
                    [[topic:post-is-deleted]]
                    timconsidineT Offline
                    timconsidineT Offline
                    timconsidine
                    App Dev
                    wrote on last edited by
                    #38

                    @LoudLemur also already packaged as community app
                    If you don’t check before posting, you risk becoming a bot posting slop

                    Indie app dev, huge fan of Cloudron PaaS, scratching my itches : communityapps.appx.uk

                    L 1 Reply Last reply
                    2
                    • timconsidineT timconsidine

                      @LoudLemur also already packaged as community app
                      If you don’t check before posting, you risk becoming a bot posting slop

                      L Offline
                      L Offline
                      LoudLemur
                      wrote on last edited by
                      #39

                      @timconsidine This is a good point. If I do try these in the future, I shall be sure of checking if they are packaged first. It is useful to check if the estimates prove accurate though.

                      Can you remember if this was actually hard?

                      1 Reply Last reply
                      1
                      • L LoudLemur
                        [[topic:post-is-deleted]]
                        E Offline
                        E Offline
                        ekevu123
                        wrote on last edited by
                        #40

                        @LoudLemur said:

                        @ekevu123 https://forum.cloudron.io/topic/12472/please-use-this-template-to-make-an-app-wishlist-request/13

                        Thank you for pointing out the template, but when I posted this, this didn't exist yet and I didn't want to go through my posts retroactively.

                        1 Reply Last reply
                        2
                        • timconsidineT Offline
                          timconsidineT Offline
                          timconsidine
                          App Dev
                          wrote on last edited by
                          #41

                          Updated my Dify community app to upstream 1.14.2 with sandbox enabled

                          https://communityapps.appx.uk/cloudron-dify/CloudronVersions.json

                          I'm not a Dify expert. Started it mostly for RAG, but I use my own simpler more-focussed custom RAG apps. Looking for use cases for Dify.

                          Indie app dev, huge fan of Cloudron PaaS, scratching my itches : communityapps.appx.uk

                          1 Reply Last reply
                          2
                          • L Offline
                            L Offline
                            LoudLemur
                            wrote last edited by
                            #42

                            @timconsidine

                            Bug report for the Cloudron Dify community package: plugins fail: "failed to find uv path"

                            Package: io.timconsidine.dify (community), version 2.0.15, image forgejo.tcjc.uk/cca/cloudron-dify:2.0.15
                            Cloudron: 9.x

                            Symptom

                            Installing any model-provider plugin from the Marketplace (e.g. Text Embedding Inference / langgenius/huggingface_tei) fails with:

                            failed to launch plugin: failed to find uv path: failed to find uv path: exit status 1
                            failed to init environment
                            

                            Because in Dify 2.0 every model provider is a Python plugin, this blocks all providers — embeddings, LLMs, and rerank — so the app can't be wired to any model.

                            Root cause (verified in the running container)

                            The image does not contain the uv binary, but the plugin daemon shells out to uv to build each plugin's Python venv.

                            • which uv, find / -name uv -type f, /app/code/api/.venv/bin/uv, and python -c "import uv" all come up empty.
                            • start.sh expects uv: it creates /app/data/cache/uv and /app/data/uv/python and exports UV_CACHE_DIR / UV_PYTHON_INSTALL_DIR, but the binary itself was never installed, and no UV_PATH is set.
                            • The plugin daemon's PATH (inherited from start.sh → supervisord) is /app/code/api/.venv/bin:/usr/local/...:/usr/bin:... — all read-only, none containing uv.

                            It is not fixable at runtime by the operator: the rootfs is read-only, and start.sh regenerates /app/data/api-env on every boot, so there is no persistent hook to add uv or UV_PATH.

                            Suggested fix (image-side)

                            Install uv into the image and make it discoverable to the plugin daemon. Any one of:

                            1. In the Dockerfile, install uv into the API venv: pip install uv (puts uv in /app/code/api/.venv/bin, already on the daemon's PATH), or copy the static binary: COPY --from=ghcr.io/astral-sh/uv:latest /uv /usr/local/bin/uv.
                            2. Optionally also export an explicit UV_PATH=/usr/local/bin/uv (or the venv path) in start.sh so the daemon doesn't rely on PATH lookup.

                            After that, confirm a Marketplace plugin (e.g. langgenius/huggingface_tei) installs and a Rerank model can be added.

                            Note

                            Pin/ship a known uv version for reproducibility. This is the same class as langgenius/dify#19522, but here uv is genuinely absent from the image rather than mis-detected.

                            timconsidineT 1 Reply Last reply
                            0
                            • L LoudLemur

                              @timconsidine

                              Bug report for the Cloudron Dify community package: plugins fail: "failed to find uv path"

                              Package: io.timconsidine.dify (community), version 2.0.15, image forgejo.tcjc.uk/cca/cloudron-dify:2.0.15
                              Cloudron: 9.x

                              Symptom

                              Installing any model-provider plugin from the Marketplace (e.g. Text Embedding Inference / langgenius/huggingface_tei) fails with:

                              failed to launch plugin: failed to find uv path: failed to find uv path: exit status 1
                              failed to init environment
                              

                              Because in Dify 2.0 every model provider is a Python plugin, this blocks all providers — embeddings, LLMs, and rerank — so the app can't be wired to any model.

                              Root cause (verified in the running container)

                              The image does not contain the uv binary, but the plugin daemon shells out to uv to build each plugin's Python venv.

                              • which uv, find / -name uv -type f, /app/code/api/.venv/bin/uv, and python -c "import uv" all come up empty.
                              • start.sh expects uv: it creates /app/data/cache/uv and /app/data/uv/python and exports UV_CACHE_DIR / UV_PYTHON_INSTALL_DIR, but the binary itself was never installed, and no UV_PATH is set.
                              • The plugin daemon's PATH (inherited from start.sh → supervisord) is /app/code/api/.venv/bin:/usr/local/...:/usr/bin:... — all read-only, none containing uv.

                              It is not fixable at runtime by the operator: the rootfs is read-only, and start.sh regenerates /app/data/api-env on every boot, so there is no persistent hook to add uv or UV_PATH.

                              Suggested fix (image-side)

                              Install uv into the image and make it discoverable to the plugin daemon. Any one of:

                              1. In the Dockerfile, install uv into the API venv: pip install uv (puts uv in /app/code/api/.venv/bin, already on the daemon's PATH), or copy the static binary: COPY --from=ghcr.io/astral-sh/uv:latest /uv /usr/local/bin/uv.
                              2. Optionally also export an explicit UV_PATH=/usr/local/bin/uv (or the venv path) in start.sh so the daemon doesn't rely on PATH lookup.

                              After that, confirm a Marketplace plugin (e.g. langgenius/huggingface_tei) installs and a Rerank model can be added.

                              Note

                              Pin/ship a known uv version for reproducibility. This is the same class as langgenius/dify#19522, but here uv is genuinely absent from the image rather than mis-detected.

                              timconsidineT Offline
                              timconsidineT Offline
                              timconsidine
                              App Dev
                              wrote last edited by
                              #43

                              @LoudLemur away currently but will look into it in my return

                              Indie app dev, huge fan of Cloudron PaaS, scratching my itches : communityapps.appx.uk

                              1 Reply Last reply
                              1

                              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                              With your input, this post could be even better 💗

                              Register Login
                              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