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

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

Setting up a self-hosted instance

i tried to change it but it gets overwritten every time i run npx convex dev

Hi,

Hi, It is possible to generate instance secret and admin key without using rust / cargo ? I want to run backend only with precompiled binary ?...

Hi, we wanted to demo a version of our

Hi, we wanted to demo a version of our app that runs a convex instance in the browser. I assume chef runs in the browser. Is there docs on how to do something similar?

i already tried before , but when server

i already tried before , but when server was changing , the convex admin key is changing

Hello I had a weird error on my self

Hello I had a weird error on my self hosted server: convex-backend | 2025-04-30T12:31:01.849360Z ERROR isolate::client: Restarting Isolate user_timeout: UserTimeout, last request: "UDF: _system/frontend/paginatedDeploymentEvents.js:default" The error happens when I try to delete in the dashboard a table with the Delete All button. It worked with other tables but with this one (bigger than the others) it appears to completly crash the server. It does not just crash the docker instance but it manages to crash the machine itself with a behaviour similar to what a fork bomb would do to a PC. The machine completly freeze even the mouse....
No description

also R2 requires all non-trailing parts

also R2 requires all non-trailing parts to have the same length, if I try to upload a big file on the dashboard of convex it shows this error ``` INFO convex-cloud-http: [] 10.0.11.4:35506 "OPTIONS /api/storage/upload INFO file_storage::core: Uploading with content length Some(ContentLength(20782000)) ERROR common::errors: Caught error (RUST_BACKTRACE=1 RUST_LOG=info,common::errors=debug for full trace): service error: unhandled error (InvalidPart): Error { code: "InvalidPart", message: "All non-trailing parts must have the same length." }...

Has anyone had any issues with R2 and

Has anyone had any issues with R2 and convex self hosted using S3 as the storage where if I delete a file from convex it doesnt get deleted on R2

Self hosted - auth - user management

Once you follow the manual setup go to custom schema https://labs.convex.dev/auth/setup/schema and define a custom schema for users copy and paste it and add any additional fields you need, then do to the convex dashboard and go to data all the tables are there

If I opt in to using self hosted Convex

If I opt in to using self hosted Convex with PostSQL/MySQL database connection, it is possible for me to create a separate microservice write to the Convex database without using Convex. My current usecase has something that is very heavy on the write operation, currently using Clickhouse, we want to use Convex as the client side to read from these real time data, which Convex is already using Websocket between FE and BE which is perfect, but the thing we are concern is if external service can d...

When trying to run locally (using the

When trying to run locally (using the binary: precompiled-2025-04-11-56756cc) with mysql (mysql Ver 8.0.41-0ubuntu0.22.04.1 for Linux on x86_64 ((Ubuntu))) on Ubuntu I get an error. Here's the command: ./convex-local-backend --instance-name convex-self-hosted --instance-secret <redacted> --db mysql-v5 "mysql://convex:<redacted>@localhost:33060" Here's the error: Caught error (RUST_BACKTRACE=1 RUST_LOG=info,common::errors=debug for full trace): Your request couldn't be completed. Try again later.: Input/output error: Input/output error: can't parse: buf doesn't have enough data: Input/output error: can't parse: buf doesn't have enough data: can't parse: buf doesn't have enough data...

Everything seems to be working except

Everything seems to be working except for convex auth which I cannot get working

Is it really so that convex uses

Is it really so that convex uses basically one db table for all convex tables in Postgres? This seems a bit odd (and i'm a bit worried as our current db is few terabytes of data). I was planning to use Postgres directly for reporting but now it does not seem possible

About Minio... I tried to find reason

About Minio... I tried to find reason for signature mismatch but my rust skills are limited...

is there an outage in the convex

is there an outage in the convex development services

Hey I try hosting convex thru cloudflare

Hey I try hosting convex thru cloudflare tunnels, right now I have dashboard.example.com and convexbackend.example.com. I've added the convexbackend.example.com to the .env file but I still get the following error. When going manually to the link I do get the success message
No description

Hi! I'm trying out self hosting convex

Hi! I'm trying out self hosting convex on fly.io with great success! So far I could get much better latency in my region (Brazil, São Paulo) as the cloud product is US only for now. With the cloud product a simple mutation/query update would take ~250ms, and self hosting in my region I get ~60ms. My questions are: Which image from ghcr.io should I use? Always the one tagged as "latest"?...

Hey guys , I have installed the docker

Hey guys , I have installed the docker version on my ubunto vps , I am able to connect to my backend from my project, however on dashboard.domain.com i am getting This deployment is not online. Check that your Convex server is running and accessible at http://127.0.0.1:3210. , even though I have setup the nginx proxy for api.domain.com to localhost:3210 , and I have generated ssl for them using certbot , am I missing something ? i have been trying to make this work for the past 2 days and i can't seem to wrap my head around it....

hi all, im sure it's something pretty

hi all, im sure it's something pretty simple, but has anyone been able to get a valid generateUploadUrl in order to upload? i've followed the docs/demo and the url that comes back is this: http://convex-<subdomains>/api/storage/upload?token=<token> -- however anytime i try to use it i get a 404 not found. even testing with curl it goes to /404. am i missing something? this is the dashboard url. i also have a backend at http://backend-<subdomains>