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
Valexico
Posts
-
First try app packaging : librechat - issue with postgresql extention (pgvector) -
First try app packaging : librechat - issue with postgresql extention (pgvector)@canadaduane
Yes no problem -
App stuck in error when editing location (domain) while app is shut downHi
I had an issue last week with an application (Baserow) :
- The app was stopped
- I tried to add a domain alias in "location" setting
After that the app was stuck in Error state, with error
Error : Inactive - Error getting IP of redis-184ad096-6567-4511-b1a6-b40814b54793 service
.I tried everything but couldn't restart the app. I had to install a new baserow instance and restore from a backup, delete the old one and change the domain again while the app was running.
Today I did a new test to confirm the bug, even with a simple app (LAMP server). And I could reproduce 100% :
- Install LAMP
- Stop App
- Add a domain alias
- -> App stuck in Error mode
Error : Inactive - Error getting IP of redis-184ad096-6567-4511-b1a6-b40814b54793 service
Is there a technique to reboot such stopped App ? I could be very dangerous in production ?
And maybe this issue could be adressed ?
Cheers
-
First try app packaging : librechat - issue with postgresql extention (pgvector)Hi
I wanted to learn cloudron app packaging, and I am actually working on an AI assistant to generate Clourdon packages bases on source repository. Ibuilt a bunch of nested prompts (with Zed editor which is really cool for this) and had encouraging result so far.
I could generate a working package for Librechat which is requested here.
Sources are here : https://gitlab.com/vlebert/librechat-cloudron
The app can start in Cloudron but I have 2 issues
- SSO with OIDC don't work. It is documented here but I can't make it work.
- There is a sub-app called RAG-API used to interact with uploaded document and which require pgvector extention. How to use this extension in a cloudron package ?
Documentation says vector extension is "whitelisted" : https://docs.cloudron.io/packaging/addons/#postgresql
But I can't create this extention in postgres :
Should it be installed with apt in the Dockerfile ? I made a few attempts but no success...
Any help would be greatly appreciated
-
App stuck in error when editing location (domain) while app is shut downYes, it was not on purpose. Nonetheless current behaviour is dangerous if you don't know the technique to restart your stucked app
-
First try app packaging : librechat - issue with postgresql extention (pgvector)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
-
adding apt dependencies to n8n app (or any other app)Hi
I need to be able to add apt dependencies to my n8n app. I know that npm packages can be added through an environment variable, but is it possible to add external apt packages to be used with n8n (with bash command n8n node)?
I have another n8n custom install on a dedicated VPS and I cannot migrate my workflows because of this issue.
On this other custom install, I do 2 things I cannot replicate on cloudron :
- Run bash command using external binaries
- Run bash command using external docker images (for example pandoc which is a pain to install without docker)
One workaround I imagine would be to ssh my host server (the cloudron host machine) and use my commands here. But ideally I would like not to pollute my host which only runs Cloudron.
Is it possible somehow to manage this dependancies ?
-
Error when trying to connect a Postgresql database : could not open certificate file "/root/.postgresql/postgresql.crt": Permission deniedThis error occurs with default engine (psycopg2)
(psycopg2.OperationalError) connection to server at "**********" (151.80.10.***), port 5432 failed: could not open certificate file "/root/.postgresql/postgresql.crt": Permission denied (Background on this error at: https://sqlalche.me/e/14/e3q8)
I think it is a cloudron app issue
You can workaround using sqlalchemy.
-
Validation error, cannot save post.", "context": "Failed to convert HTML to Mobiledoc The html-to-mobiledoc package was not installedSince recent update, I can't any more create new posts from HTML with API.
Did something change in the package ?