EbenezerIbiza
EbenezerIbiza
TTwenty
Created by EbenezerIbiza on 4/14/2025 in #❓︱help
Twenty deployment on podman
Does twentycrm support deployment with podman? I see two possible approaches: A: Use (or modify and use) the docker-compose.yml with podman-compose. B: Manually build a podman pod containing each of the containers for twenty as specified in docker-compose.yml What would be the recommended approach to running twenty under podman? I am currently experimenting with both... And keep getting stuck various places.... My aim with this thread is to have a single place to document what works and what doesn't with regards to deploying twenty on podman as well as to hopefully get help from others who have actual experience witht his.
14 replies
TTwenty
Created by EbenezerIbiza on 3/16/2025 in #❓︱help
Upgrade from 0.41.5 to 0.44.0 fails
I have followed the 1-click w docker compose guide to install twenty to latest version. I seem to have gotten 0.41.5 Now I want to upgrade to latest version 0.44.0 I follow the guide on: https://twenty.com/developers/section/self-hosting/upgrade-guide This means that I 1. dump the postgres database. 2. Stop twenty 3. Edit .env setting TAG=0.44.0 (previous value was TAG=latest 4. Start twenty using docker compose up -d Now it fails with this:
$ docker compose up -d
WARN[0000] The "STORAGE_S3_ENDPOINT" variable is not set. Defaulting to a blank string.
WARN[0000] The "STORAGE_S3_REGION" variable is not set. Defaulting to a blank string.
WARN[0000] The "STORAGE_S3_NAME" variable is not set. Defaulting to a blank string.
WARN[0000] The "STORAGE_S3_REGION" variable is not set. Defaulting to a blank string.
WARN[0000] The "STORAGE_S3_NAME" variable is not set. Defaulting to a blank string.
WARN[0000] The "STORAGE_S3_ENDPOINT" variable is not set. Defaulting to a blank string.
[+] Running 3/3
✘ db Error manifest for twentycrm/twenty:0.44.0 not found: manifest unknown: manifest unknown 1.1s
✘ server Error manifest for twentycrm/twenty:0.44.0 not found: manifest unknown: manifest unknown 1.1s
✘ worker Error manifest for twentycrm/twenty:0.44.0 not found: manifest unknown: manifest unknown 1.1s
Error response from daemon: manifest for twentycrm/twenty:0.44.0 not found: manifest unknown: manifest unknown
$ docker compose up -d
WARN[0000] The "STORAGE_S3_ENDPOINT" variable is not set. Defaulting to a blank string.
WARN[0000] The "STORAGE_S3_REGION" variable is not set. Defaulting to a blank string.
WARN[0000] The "STORAGE_S3_NAME" variable is not set. Defaulting to a blank string.
WARN[0000] The "STORAGE_S3_REGION" variable is not set. Defaulting to a blank string.
WARN[0000] The "STORAGE_S3_NAME" variable is not set. Defaulting to a blank string.
WARN[0000] The "STORAGE_S3_ENDPOINT" variable is not set. Defaulting to a blank string.
[+] Running 3/3
✘ db Error manifest for twentycrm/twenty:0.44.0 not found: manifest unknown: manifest unknown 1.1s
✘ server Error manifest for twentycrm/twenty:0.44.0 not found: manifest unknown: manifest unknown 1.1s
✘ worker Error manifest for twentycrm/twenty:0.44.0 not found: manifest unknown: manifest unknown 1.1s
Error response from daemon: manifest for twentycrm/twenty:0.44.0 not found: manifest unknown: manifest unknown
Am I missing something? Or is some step in the instructions missing? Am I supposed to go through each 0.41.0 -> 0.42.0 step, and so on up until latest version? IF this is what I am supposed to do, then it mentions 'yarn'. What does this mean? Is this something I need to install on the host in addition to docker? (apt install yarnpkg?)
74 replies
TTwenty
Created by EbenezerIbiza on 2/10/2025 in #❓︱help
On how to host TwentyCRM on Debian VPS using Docker compose and external PostgreSQL
I am trying to deploy Twenty CRM on a Debian VPS using docker compose. I have a few issues/questions * External PostgreSQL * Backup * Firewall issues External PostgreSQL I plan to use an external PostgreSQL server running on the docker host. For two reasons: 1. I plan to run other docker apps on this host, and many apps seem to require PostgreSQL, so I figured it is easier to manage and more resource efficient to run a single PostgreSQL instance. 2. I believe it is easier to do a central backup of the single PostgreSQL instance than having to figure out how to extract a pg_dump from a db running inside some docker container. (and then having to set this up per application) It is unclear to me what is the correct way to deploy twenty with external postgres. I am following the "Option 2: Manual steps" here: https://twenty.com/developers/section/self-hosting/docker-compose This means that I have the docker-compose.yml as downloaded and an .env file that looks like this:
TAG=latest
PGPASSWORD_SUPERUSER=**********
SERVER_URL=https://twenty.example.com
SIGN_IN_PREFILLED=false
APP_SECRET=**********
STORAGE_TYPE=local
TAG=latest
PGPASSWORD_SUPERUSER=**********
SERVER_URL=https://twenty.example.com
SIGN_IN_PREFILLED=false
APP_SECRET=**********
STORAGE_TYPE=local
I can bring this up using docker compose up -d However, it does not use an external postgres. I have already installed the external postgres on the host. I have created a twentycrm database owned by the db user twentycrm. So of course, I have tried setting the variables:
PG_DATABASE_USER=twentycrm
PG_DATABASE_PASSWORD=*******
PG_DATABASE_HOST=x.x.x.x
PG_DATABASE_PORT=5432
PG_DATABASE_USER=twentycrm
PG_DATABASE_PASSWORD=*******
PG_DATABASE_HOST=x.x.x.x
PG_DATABASE_PORT=5432
Where x.x.x.x is my server's public IP. (I have made sure the server is listening on '*' and that the user is allowed to authenticate in pg_hba.conf. ) But alas, this does not work. I think I also need to specify the actual database name somehwere? I have also tried using the magick docker DNS name: host.docker.internal Will follow up with the other two issues in comments below (running out of text limit)
10 replies
TTwenty
Created by EbenezerIbiza on 12/9/2024 in #❓︱help
How to reset password without email?
I have followed the 1-click guide to deploy a locally hosted Twenty instance. When I did this, I started registering an account on the Twenty instance. But now I have forgotten the password. There is a "Forgot password" feature, but it seems to rely on a working SMTP config. I do not have a working SMTP config and I am on a network that will now allow outgoing connections to SMTP servers. How can I reset my user's password without using email? I imagine this might be done by manually editing the internal postgres database. How do I obtain access to that and how do I reset the password in it?
7 replies