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. LinkDing on Cloudron - Bookmarks Manage and Search

LinkDing on Cloudron - Bookmarks Manage and Search

Scheduled Pinned Locked Moved Solved App Wishlist
linkdingbookmarkssearchmanagerbrowser
36 Posts 7 Posters 4.1k Views 7 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.
  • KubernetesK Kubernetes

    @LoudLemur For sure there are some Apps in the Wish List that I may pickup to package. But first I want to see the current work to get done. I usually don't want to have to many parallel streams at once.

    marcusquinnM Offline
    marcusquinnM Offline
    marcusquinn
    wrote on last edited by
    #21

    @Kubernetes You might find some of the AI tools interesting:

    • https://forum.cloudron.io/topic/8938/chatbot-ui-for-chatgpt
    • https://forum.cloudron.io/topic/9130/flowise-ui-for-langchain
    • https://forum.cloudron.io/topic/8988/langflow-ui-for-langchain
    • https://forum.cloudron.io/topic/8997/weaviate-open-source-vector-database-for-ai-long-term-memory-and-local-data-alternative-to-pinecone
    • https://forum.cloudron.io/topic/9078/chroma-open-source-vector-database-for-ai-long-term-memory-and-local-data-alternative-to-pinecone
    • https://forum.cloudron.io/topic/9002/agentgpt-web-ui-for-autogpt

    Web Design https://www.evergreen.je
    Development https://brandlight.org
    Life https://marcusquinn.com

    timconsidineT 1 Reply Last reply
    1
    • marcusquinnM marcusquinn

      @Kubernetes You might find some of the AI tools interesting:

      • https://forum.cloudron.io/topic/8938/chatbot-ui-for-chatgpt
      • https://forum.cloudron.io/topic/9130/flowise-ui-for-langchain
      • https://forum.cloudron.io/topic/8988/langflow-ui-for-langchain
      • https://forum.cloudron.io/topic/8997/weaviate-open-source-vector-database-for-ai-long-term-memory-and-local-data-alternative-to-pinecone
      • https://forum.cloudron.io/topic/9078/chroma-open-source-vector-database-for-ai-long-term-memory-and-local-data-alternative-to-pinecone
      • https://forum.cloudron.io/topic/9002/agentgpt-web-ui-for-autogpt
      timconsidineT Offline
      timconsidineT Offline
      timconsidine
      App Dev
      wrote on last edited by
      #22

      @marcusquinn he has packaged ChatPad which I think is better than chatbot-ui

      Thanks for the posts on pinecone alternatives.
      I can't get flowise working (even as standalone deployment), so maybe they will provide a solution.

      1 Reply Last reply
      1
      • KubernetesK Kubernetes

        I have to say, that I don't like uwsgi. The build of it did break the single stage image all the time. Finally I found a way to fix it by installing the latest uwsgi version, but not the one specified in the requirements.txt of the linkding project.

        @girish please have a look at my repo. it seems to run fine on cloudron now, is single stage and after creating a user in terminal, the linkding app is usable.

        KubernetesK Offline
        KubernetesK Offline
        Kubernetes
        App Dev
        wrote on last edited by
        #23

        @girish just to let you know that Linkding is running without any problems since I packaged it...

        L girishG 2 Replies Last reply
        3
        • KubernetesK Kubernetes

          @girish just to let you know that Linkding is running without any problems since I packaged it...

          L Online
          L Online
          LoudLemur
          wrote on last edited by
          #24

          @Kubernetes said in LinkDing on Cloudron - Bookmarks Manage and Search:

          @girish just to let you know that Linkding is running without any problems since I packaged it...

          Excellent! Well done! I hope it wasn't too troublesome to accomplish and that it was satisfying.

          Do you still have the desire to package? I hope so!

          1 Reply Last reply
          1
          • KubernetesK Kubernetes

            @girish just to let you know that Linkding is running without any problems since I packaged it...

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

            @Kubernetes I forked the app to https://git.cloudron.io/cloudron/linkding-app . You should have permissions.

            I thought I will fix it but then thought I can help you along instead 🙂

            • First off, the app doesn't build. For example, it does COPY linkding/package.json linkding/package-lock.json ./ . Where are these files in the repo? I am guessing you had linkding checked out locally when building the app maybe. Instead you should do something like https://git.cloudron.io/cloudron/changedetection-app/-/blob/master/Dockerfile#L9 . Also, see how the VERSION is pinned to a specific version of linkding.

            • Next, in bootstrap.sh , you have cp -nr /app/code/linkding/* /app/data/ . This is copying the code into data directory and now the code is also part of your backup. You should be able to run all the commands out of /app/code itself (which is readonly filesystem).

            • The apt is most likely redundant. The base image has all the libraries

            • There are actually two CMD . We can remove the HEALTHCHECK and the CMD immediately after, Cloudron does not use it.

            • You can rename bootstrap.sh to start.sh . This is just Cloudron convention

            KubernetesK 1 Reply Last reply
            1
            • girishG girish

              @Kubernetes I forked the app to https://git.cloudron.io/cloudron/linkding-app . You should have permissions.

              I thought I will fix it but then thought I can help you along instead 🙂

              • First off, the app doesn't build. For example, it does COPY linkding/package.json linkding/package-lock.json ./ . Where are these files in the repo? I am guessing you had linkding checked out locally when building the app maybe. Instead you should do something like https://git.cloudron.io/cloudron/changedetection-app/-/blob/master/Dockerfile#L9 . Also, see how the VERSION is pinned to a specific version of linkding.

              • Next, in bootstrap.sh , you have cp -nr /app/code/linkding/* /app/data/ . This is copying the code into data directory and now the code is also part of your backup. You should be able to run all the commands out of /app/code itself (which is readonly filesystem).

              • The apt is most likely redundant. The base image has all the libraries

              • There are actually two CMD . We can remove the HEALTHCHECK and the CMD immediately after, Cloudron does not use it.

              • You can rename bootstrap.sh to start.sh . This is just Cloudron convention

              KubernetesK Offline
              KubernetesK Offline
              Kubernetes
              App Dev
              wrote on last edited by
              #26

              @girish Great, I will have a look right now 🙂

              1 Reply Last reply
              0
              • KubernetesK Offline
                KubernetesK Offline
                Kubernetes
                App Dev
                wrote on last edited by Kubernetes
                #27

                @girish I fixed the most mentioned things, but I still use to copy the application to /app/data because it needs to have write access when started.

                EDIT 1: I did a merge request now 🙂

                EDIT 2: I am not sure if I did push it right. I see the merged change in my repo now, but not in yours....

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

                  @Kubernetes I think your local git repo is still pointing to your original repo on gitlab. You have to switch it to the forked one.

                  KubernetesK 1 Reply Last reply
                  0
                  • girishG girish

                    @Kubernetes I think your local git repo is still pointing to your original repo on gitlab. You have to switch it to the forked one.

                    KubernetesK Offline
                    KubernetesK Offline
                    Kubernetes
                    App Dev
                    wrote on last edited by
                    #29

                    @girish No, it is not. I did a git clone of the forked repo to a new path. I tried it now twice, but both times the push (even with branch) is going to my repo, but not to yours. I am not experienced with using git in collaboration, so there might be something I am doing wrong. But I don't know what it is. When I try to push (without branching), I get this error:

                    user@homeserver:~/gitlab.cloudron-official/linkding-app$ git push                                                                                                         
                    Enumerating objects: 7, done.                                                                                                                                               
                    Counting objects: 100% (7/7), done.                                                                                                                                         
                    Delta compression using up to 4 threads                                                                                                                                     
                    Compressing objects: 100% (4/4), done.                                                                                                                                      
                    Writing objects: 100% (4/4), 1.15 KiB | 1.15 MiB/s, done.                                                                                                                   
                    Total 4 (delta 2), reused 0 (delta 0), pack-reused 0                                                                                                                        
                    remote: GitLab: You are not allowed to push code to protected branches on this project.                                                                                     
                    To ssh://git.cloudron.io:6000/cloudron/linkding-app.git                                                                                                                     
                     ! [remote rejected] main -> main (pre-receive hook declined)                                                                                                               
                    error: failed to push some refs to 'ssh://git.cloudron.io:6000/cloudron/linkding-app.git'   
                    

                    any hints?

                    girishG 2 Replies Last reply
                    1
                    • KubernetesK Kubernetes

                      @girish No, it is not. I did a git clone of the forked repo to a new path. I tried it now twice, but both times the push (even with branch) is going to my repo, but not to yours. I am not experienced with using git in collaboration, so there might be something I am doing wrong. But I don't know what it is. When I try to push (without branching), I get this error:

                      user@homeserver:~/gitlab.cloudron-official/linkding-app$ git push                                                                                                         
                      Enumerating objects: 7, done.                                                                                                                                               
                      Counting objects: 100% (7/7), done.                                                                                                                                         
                      Delta compression using up to 4 threads                                                                                                                                     
                      Compressing objects: 100% (4/4), done.                                                                                                                                      
                      Writing objects: 100% (4/4), 1.15 KiB | 1.15 MiB/s, done.                                                                                                                   
                      Total 4 (delta 2), reused 0 (delta 0), pack-reused 0                                                                                                                        
                      remote: GitLab: You are not allowed to push code to protected branches on this project.                                                                                     
                      To ssh://git.cloudron.io:6000/cloudron/linkding-app.git                                                                                                                     
                       ! [remote rejected] main -> main (pre-receive hook declined)                                                                                                               
                      error: failed to push some refs to 'ssh://git.cloudron.io:6000/cloudron/linkding-app.git'   
                      

                      any hints?

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

                      @Kubernetes that looks like some permission issue . Let me check what I did..

                      1 Reply Last reply
                      2
                      • KubernetesK Kubernetes

                        @girish No, it is not. I did a git clone of the forked repo to a new path. I tried it now twice, but both times the push (even with branch) is going to my repo, but not to yours. I am not experienced with using git in collaboration, so there might be something I am doing wrong. But I don't know what it is. When I try to push (without branching), I get this error:

                        user@homeserver:~/gitlab.cloudron-official/linkding-app$ git push                                                                                                         
                        Enumerating objects: 7, done.                                                                                                                                               
                        Counting objects: 100% (7/7), done.                                                                                                                                         
                        Delta compression using up to 4 threads                                                                                                                                     
                        Compressing objects: 100% (4/4), done.                                                                                                                                      
                        Writing objects: 100% (4/4), 1.15 KiB | 1.15 MiB/s, done.                                                                                                                   
                        Total 4 (delta 2), reused 0 (delta 0), pack-reused 0                                                                                                                        
                        remote: GitLab: You are not allowed to push code to protected branches on this project.                                                                                     
                        To ssh://git.cloudron.io:6000/cloudron/linkding-app.git                                                                                                                     
                         ! [remote rejected] main -> main (pre-receive hook declined)                                                                                                               
                        error: failed to push some refs to 'ssh://git.cloudron.io:6000/cloudron/linkding-app.git'   
                        

                        any hints?

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

                        @Kubernetes yes, was my mistake. Can you please try again?

                        KubernetesK 1 Reply Last reply
                        3
                        • girishG girish

                          @Kubernetes yes, was my mistake. Can you please try again?

                          KubernetesK Offline
                          KubernetesK Offline
                          Kubernetes
                          App Dev
                          wrote on last edited by
                          #32

                          @girish Yes! Now it did work, I pushed the two fixed files. As mentioned, it is still using /app/data as the manage.py does need write access during startup of the linkding application. I was not able to discover how to workaround this.

                          1 Reply Last reply
                          4
                          • KubernetesK Offline
                            KubernetesK Offline
                            Kubernetes
                            App Dev
                            wrote on last edited by Kubernetes
                            #33

                            I created a backup script that can be configured in the App Cron settings to backup the linkding database regulary to the /app/data/backups folder

                            backup.sh

                            #!/bin/bash
                            mkdir -p /app/data/backups/
                            cd /app/data/backups/
                            CURRENT_TIMESTAMP=$(date +'%Y%m%d_%H%M%S')
                            BACKUP_FILE="backup_${CURRENT_TIMESTAMP}.sqlite3"
                            sqlite3 /app/data/data/db.sqlite3 ".backup '${BACKUP_FILE}'"
                            

                            @girish
                            is it possible to get this configured automatically when deploying the package?

                            1 Reply Last reply
                            3
                            • girishG Offline
                              girishG Offline
                              girish
                              Staff
                              wrote on last edited by
                              #34

                              On Cloudron, backups are automatic if one follows the right packaging style. I have to look into the app further.

                              KubernetesK 1 Reply Last reply
                              0
                              • girishG girish

                                On Cloudron, backups are automatic if one follows the right packaging style. I have to look into the app further.

                                KubernetesK Offline
                                KubernetesK Offline
                                Kubernetes
                                App Dev
                                wrote on last edited by
                                #35

                                @girish yes, I know that about regular updates. But in this case I am not sure, if a container data backup is the best way to backup a sqlite3 database. Not sure about open references and so. Thats why I thought a backup with sqlite backup command would be more resistant 🙂

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

                                  Initial version is out. Let's continue any discuss in the linkding category. Thanks @Kubernetes

                                  1 Reply Last reply
                                  5
                                  • girishG girish marked this topic as a question on
                                  • girishG girish has marked this topic as solved on
                                  • girishG girish locked this topic on
                                  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