yarn fails?

Hey everyone, I'm trying to get Twenty to work on an ubuntu server. Been following the guide for 1-click docker but have some issues though! I can access the localhost:3000 but when I try to sign in I just get the "relation "core.user" does not exist" message, so I ran docker exec -it twenty-db-1 psql -U twenty -d default and then signed in which worked. After running \dt it just says "default=# \dt Did not find any relations. So following the troubleshooting guide I did: docker exec -it twenty-server-1 yarn docker exec -it twenty-server-1 npx nx database:reset Which throws an error as in screenshot. It's like yarn is not installing properly and that's where the problem lays? Or do you have any other ideas? Versions: node -v: v18.20.5 npm -v: 10.8.2 npx -v: 10.8.2 Appreciate any guidance here 🙏
No description
No description
5 Replies
Andreas
AndreasOP2w ago
@ɃØĦɆᵾS you seem to have a lot of knowledge, do you have any insights from when you set it up? 🙂
Raph
Raph2w ago
Can you provide a redacted version of the ENV?
ɃØĦɆᵾS
ɃØĦɆᵾS2w ago
About database, here's short summary https://discord.com/channels/1130383047699738754/1281354088264634380/1281476293677944844 About setting Twenty in Docker, I don't know as I'm using Local setup :/
Andreas
AndreasOP2w ago
Yes sure @Raph see below 🙂 PGUSER_SUPERUSER=postgres POSTGRESQL_USER=twenty POSTGRES_ADMIN_PASSWORD=…. POSTGRESQL_PASSWORD=twenty PG_DATABASE_HOST=db:5432 REDIS_URL=redis://redis:6379 PG_DATABASE_URL=postgres://twenty:twenty@db:5432/default SIGN_IN_PREFILLED=true STORAGE_TYPE=local STORAGE_S3_NAME= STORAGE_S3_ENDPOINT= STORAGE_S3_REGION= APP_SECRET=…. PGPASSWORD_SUPERUSER=…. ALLOW_EMPTY_PASSWORD=yes ACCESS_TOKEN_SECRET=…. LOGIN_TOKEN_SECRET=….. REFRESH_TOKEN_SECRET=…. FILE_TOKEN_SECRET=…. REACT_APP_SERVER_BASE_URL=http://….:3000 FRONT_DOMAIN=..... DEFAULT_SUBDOMAIN=app SERVER_URL=http://….:3000 FRONT_PROTOCOL=http FRONT_PORT=3001 PORT=3000 CACHE_STORAGE_TYPE=redis CACHE_STORAGE_TTL=3600 * 24 * 7 API_RATE_LIMITING_TTL=100 API_RATE_LIMITING_LIMIT=200 ACCESS_TOKEN_EXPIRES_IN=30m LOGIN_TOKEN_EXPIRES_IN=15m @Raph did you get any insight from my .env? 🙂 Actually, I upgraded to the newest version of twenty which seems to have solved the yarn problem!
charles
charles2w ago
great!
Want results from more Discord servers?
Add your server