Convex Community

CC

Convex Community

Join the Convex Discord! Explore Convex, the open-source reactive database for app developers.

Join

support-community

show-and-tell

general

self-hosted

announcements

Just finished deploying my first self-

Just finished deploying my first self-hosted convex application and I ran into similar problem as @bastianwegge, I solved by using Caddy as a reverse proxy with TLS adding that security layer to the convex apps running on docker And then I had the problem that for some reason my containers weren't able to access my domain-name:port and I thought it was a problem of running non-443 port, but it was some weird docker networking problem that I workarounded with an entry on /etc/hosts; shoul anyone else run into the slight headache that I did...

I am new to Convex and would like to

I am new to Convex and would like to host it myself. I want to build an application that revolves around file uploads. I assume that the system will have many terabytes of data in the medium term. With Supabase, you can use S3/MinIo as file storage and thus scale horizontally (with multiple S3/Minio instances). So my questions are:...

Hi guys! I have my self-hosted

Hi guys! I have my self-hosted deployment running on a Google Cloud Run instance, and I'm having a problem making new deployments. I get the following error when running convex deploy:
✖ Error fetching POST /deploy2/start_push 413 Request Entity Too Large
✖ Error fetching POST /deploy2/start_push 413 Request Entity Too Large
I think the problem is that Cloud Run has a maximum request size limit of 32MB, and my bundle must be bigger, but I don't know what to do about it, does anyone have any ideas? I tried activating HTTP/2 on the Cloud Run instance, but the deployment process tries to connect via websocket to the instance and the connection fails constantly with a 502 response from the server....

You can use the CLI to export and import

You can use the CLI to export and import backups, what is missing? I think that the UI implementation is missing from the self hosted dashboard because one of the strengths of the cloud version is that you can seamlessly import backups from other deployments, which obviously wouldn’t make sense in self hosted version...

Nah, nothing to do with the deploy

Nah, nothing to do with the deploy command. So can you see both URLs?

Mind if I ask do you use coolify? Or

Mind if I ask do you use coolify? Or something else? I use coolify and with internal it gives me the same error u wrote and with public url it just shows me postgres timeout

Convex Coolify Self Host Thread

Convex Coolify Self Host Thread

thanks for the release team, one problem

thanks for the release team, one problem I'm having seems to be not fixed with latest release: when I try to call a "node action" from a "httpAction" to upload an image, it fails with;
Error: Your request couldn't be completed. Try again later.] name: 'ConvexError [Symbol(ConvexError)]: true }
Error: Your request couldn't be completed. Try again later.] name: 'ConvexError [Symbol(ConvexError)]: true }
it used to work like a month ago, I'm on latest convex/dashboard/contex-js 🤔 when I place my action code directly in to httpAction it works so its not a blocker...

Nothing in particular, just something

Nothing in particular, just something that will show everything, but I'd prefer to either have SSO on it, or just throw my own in front of it. That does look nice! I just want to make sure it has the same features as the regular dashboard

is it possible to enable log streams and

is it possible to enable log streams and maybe sentry integration with self-hosted?

wanted to get minio working locally in

wanted to get minio working locally in docker compose, had updated the storage layer to support it via environment variable, any chance we can get this reviewed ASAP? thanks https://github.com/get-convex/convex-backend/pull/122/files...

kind of painful, had to read the source

kind of painful, had to read the source code for some of the errors I was running into, and it's very much just "throw an existing convex app on there", no support for a dev workflow. But it does work.

Does self hosted convex log more details

Does self hosted convex log more details somewhere? I'm trying to debug why I'm getting Could not decode token, but anyhow should be able to print the exact error from biscuit. Only the context is sent over WS to clients. jwt.io says everything is ok, and the claims include iss, sub, aud, exp, iat and kid - documentation (and even the example here ) doesn't mention that it's required to match, but biscuit would fail if a key wasn't found by it's id (source ). JWK has kid and use as well as required fields for es256. I'm using ES256 (crv is P-256) as the signing algorithm....

Amazing to have continued updates. Sadly

Amazing to have continued updates. Sadly ran into a migration error on my relatively new instance. Seems like a simple thing to fix. ``` convex-backend-1 | 2025-05-24T01:01:42.649056Z INFO model::migrations: Attempting migration convex-backend-1 | 2025-05-24T01:01:42.649202Z INFO model::migrations: Migrating to 119 convex-backend-1 | 2025-05-24T01:01:42.649322Z ERROR model::migrations: Migration worker failed, sleeping 64.362319946s ...

Does anyone know of any way to track the

Does anyone know of any way to track the progress of either an export or table update? I added an index to a table with ~7million documents and it has been running for over 24 hours now. And a full export has been running for over 2 days. I know they are actually doing something as the database container has a consistent ~10% cpu utilisation. At this point it would be quicker to just wipe the table and reimport everything with the index already set. This is really concerning me as trying to pull...
No description

Hi guys, does convex self-hosted

Hi guys, does convex self-hosted includes query caching like the cloud version (based on the query args, with invalidation and so on) ? Or is there an api exposed by the convex binary that can be used to achieve this layer of caching outside of convex (for example with AWS API Gateway) ?

Hey :hellowave: I'm self-hosting Convex

Hey :hellowave: I'm self-hosting Convex and my server triggered a disk space warning. After investigating, I found that /convex/data/tmp inside the Convex backend container had over 434,000 directories :pepeomg: which massively inflated inode usage and filled the disk. Any advice on what Convex stores there, and how to prevent this buildup?

I think Im having a similar issue while

I think Im having a similar issue while trying to use AWS ECS behind a ALB to run convex's backend. I have everything deployed but I keep getting 404s from /http and /http/api. I can exec in and generate the key but the load balancer fails the health check... still trying to work it out

Hey guys, wanted to try out convex

Hey guys, wanted to try out convex because I've been hearing about it and running into a small issue. I cleaned up the data and imported it on my locally running instance. I want to now export this data so I can use it for production as well when I host on my server. ...
No description