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 Packaging & Development
  3. First try app packaging : librechat - issue with postgresql extention (pgvector)

First try app packaging : librechat - issue with postgresql extention (pgvector)

Scheduled Pinned Locked Moved App Packaging & Development
20 Posts 5 Posters 1.1k Views 5 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.
  • nebulonN Offline
    nebulonN Offline
    nebulon
    Staff
    wrote on last edited by
    #9

    So looks like the application code needs to be adjusted further. I guess we have to see if both extensions can be made to work in parallel. So lets keep this as a feature request.

    1 Reply Last reply
    0
    • nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #10

      We have managed to add the pgvector extension next to pgvectors. So far things are looking good, but we have to do more testing so we don't break other apps using postgres at the moment. But I am hopeful we can get this done with the next Cloudron release.

      1 Reply Last reply
      3
      • V Offline
        V Offline
        Valexico
        wrote on last edited by
        #11

        Wow thanks @nebulon . I think it would have been necessary one day or another with the current AI hype.

        By the way I'd be glad to share my "cloudron packaging prompt engineering" techniques some when. I'll make a second try with another app, I am thinking appsmith 🙂

        1 Reply Last reply
        2
        • canadaduaneC Offline
          canadaduaneC Offline
          canadaduane
          wrote on last edited by
          #12

          This is awesome progress @Valexico! Did pgvector make it in to the base Cloudron release, and were you able to then connect LibreChat's DB up?

          BTW I'm very interested in this right now because Open WebUI (the only chat frontend currently supported by Cloudrain AFAIU) recently changed their license to something that is no longer open source (by OSI definition).

          1 Reply Last reply
          2
          • V Offline
            V Offline
            Valexico
            wrote on last edited by
            #13

            Hi @canadaduane
            I think I did have a working app at the end but not 100% features. And then I didn't had time (and interest) to finish the setup
            If somebody is interested I can share my past work but I guess litellm have change quite a bit since

            1 Reply Last reply
            3
            • canadaduaneC Offline
              canadaduaneC Offline
              canadaduane
              wrote last edited by canadaduane
              #14

              I have a working setup, based on @Valexico 's work here:

              github.com/canadaduane/librechat-cloudron
              https://github.com/halecraft/librechat-cloudron

              The package has been updated to the latest version of LibreChat 0.7.8, and I fixed a few minor wrinkles such as OIDC login, write access to the public dir, and postgres support. I haven't yet tested it with all of the providers (this requires access keys in the .env file).

              image.png

              marcusquinnM 1 Reply Last reply
              7
              • canadaduaneC canadaduane referenced this topic
              • canadaduaneC canadaduane

                I have a working setup, based on @Valexico 's work here:

                github.com/canadaduane/librechat-cloudron
                https://github.com/halecraft/librechat-cloudron

                The package has been updated to the latest version of LibreChat 0.7.8, and I fixed a few minor wrinkles such as OIDC login, write access to the public dir, and postgres support. I haven't yet tested it with all of the providers (this requires access keys in the .env file).

                image.png

                marcusquinnM Offline
                marcusquinnM Offline
                marcusquinn
                wrote last edited by
                #15

                @canadaduane Amazing work, well done, and thanks @Valexico, too!

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

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

                  @canadaduane great stuff! Is there any packaging issues to be aware of? Can you also attach some LICENSE to your work and we can then look into publishing it in the App Store.

                  1 Reply Last reply
                  3
                  • canadaduaneC Offline
                    canadaduaneC Offline
                    canadaduane
                    wrote last edited by
                    #17

                    Thanks @girish! I've added an MIT license. Also, I tested with a basic OPENROUTER_KEY and it seems to work well. I'm not aware of any issues at this time.

                    1 Reply Last reply
                    3
                    • canadaduaneC Offline
                      canadaduaneC Offline
                      canadaduane
                      wrote last edited by
                      #18

                      @Valexico is the MIT license ok with you also?

                      1 Reply Last reply
                      3
                      • V Offline
                        V Offline
                        Valexico
                        wrote last edited by
                        #19

                        @canadaduane
                        Yes no problem

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

                          Thanks, cc @vladimir.d . We will take a look .

                          1 Reply Last reply
                          2
                          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