Convex Community

CC

Convex Community

Join the Convex Discord! Explore Convex, the fullstack TypeScript platform for developers and startup founders.

Join

support-community

show-and-tell

general

self-hosted

announcements

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>

Hi, my POC is stuck at "Downloading

Hi, my POC is stuck at "Downloading current deployment state". Any hint why it could fail at this stage?

Hi Everyone, I'm trying to self host

Hi Everyone, I'm trying to self host convex on the coolify but I got some issue. this what I did I create a coolify project and I deployed my next js project on it I add the environement varilables (CONVEX_SELF_HOSTED_ADMIN_KEY and CONVEX_SELF_HOSTED_URL) I added a convex service on the same coolify project and there I got 2 services (backend and dashbaord) and I can go to the dashbard via the generated adminkey the backend is up and runing. I got visite my nextjs application where the main root...

Hello, I am encountering an error when

Hello, I am encountering an error when trying to migrate a database to my self-hosted solution: the error is 413 Request Entity too large. The context is that I am using a MySql server as backend and I am wondering if there are configurations that must be set that are not yet described in the guide. We managed to migrate this database from the cloud to the litesql we did for testing but now the production solution using MySql throw this error. Does anyone knows how to fix it? Thanks. I was thinking... could it be that the docker image of the convex backend i am using is old?...

Are there any existing self hosting

Are there any existing self hosting conversations about scale? Like rules of thumb for how much throughput certain common sized servers can handle. And maybe basic things to know about any kind of horizontal scaling if possible?

So on a project I have, I'm trying to

So on a project I have, I'm trying to self host and creat a terraform configuration that can launch convex into a VPC on Google Cloud. I'm having trouble with the generate_admin_key step. both calling that command and getting the key. I'd much rather prefer to generate my own key and pass that in to the container. But I didn't see any options discussed for that. Has anyone successfully packaged this up into something that can be run that way? or is everyone just setting this up on Cloud accounts...
Next