localhost:3000 showing blank after installing it on my raspberry pi server.

I looked at the docker-compose file that was used and it has the attribute image: Ubuntu. Tried it in Ubuntu and it does work there. So my question is how to make it work for my raspberry pi?? Edit: I just checked I can only access it through localhost but I can't access it on another computer from my local network.
No description
19 Replies
lucas lima
lucas lima2mo ago
I loved 20 but their yaml to self host is away from a easy deploy
Kurumi Tokisaki
Kurumi Tokisaki2mo ago
i used thier .env attriute to expose it to local network and it workied but didn't have any luck with domain.
charles
charles2mo ago
Hi @Kurumi Tokisaki, it should work, what do you see in your console logs?
Kurumi Tokisaki
Kurumi Tokisaki2mo ago
it show it has mixed content. so I've a domain managed by cloudflare. Cloudflare enforces https. I've an enginx proxy manager that serves that port with http request since it doesn't work with the other.
No description
Kurumi Tokisaki
Kurumi Tokisaki2mo ago
Twenty
A modern open-source CRM
charles
charles2mo ago
can you also add a cloudflare dns in front of your server? Both need to be https in order to have a secure application. The good news is that twenty server and front actually run on the same container 🙂 So your API is available here: https://crm.xmeteorite.xyz/graphql
charles
charles2mo ago
So I would say that you just need to update your SERVER_URL to be= https://crm.xmeteorite.xyz/
Twenty
A modern open-source CRM
Min
Min2mo ago
the same. Have you fixed it yet?
charles
charles2mo ago
@Kurumi Tokisaki @Min do you still need help here?
Min
Min2mo ago
Yes please. i run via docker, but it show blank page
charles
charles2mo ago
Could you share your developer console / network tab in chrome? (screenshots), so I can help troubleshoot the issue
Min
Min2mo ago
here is my compose version: '3.8' services: server: image: twentycrm/twenty:latest restart: always environment: - PORT= 3000 - PG_DATABASE_URL=postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB} - SERVER_URL=${SERVER_URL} - FRONT_BASE_URL=${FRONT_BASE_URL} - ACCESS_TOKEN_SECRET=${ACCESS_TOKEN_SECRET} - LOGIN_TOKEN_SECRET=${LOGIN_TOKEN_SECRET} - REFRESH_TOKEN_SECRET=${REFRESH_TOKEN_SECRET} - FILE_TOKEN_SECRET=${FILE_TOKEN_SECRET} - QUEUE_BULL_REDIS_HOST=redis - QUEUE_BULL_REDIS_PORT=6379 - QUEUE_BULL_REDIS_DB=2 - SIGN_IN_PREFILLED=true - STORAGE_TYPE=local - MESSAGE_QUEUE_TYPE=pg-boss ports: - 3000:3000 volumes: - server-local-data:/app/packages/twenty-server/${STORAGE_LOCAL_PATH:-.local-storage} - docker-data:/app/docker-data networks: - app_network worker: image: twentycrm/twenty:latest command: ["yarn", "worker:prod"] restart: always environment: - PORT= 3000 - PG_DATABASE_URL=postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB} - SERVER_URL=${SERVER_URL} - FRONT_BASE_URL=${FRONT_BASE_URL} - ACCESS_TOKEN_SECRET=${ACCESS_TOKEN_SECRET} - LOGIN_TOKEN_SECRET=${LOGIN_TOKEN_SECRET} - REFRESH_TOKEN_SECRET=${REFRESH_TOKEN_SECRET} - FILE_TOKEN_SECRET=${FILE_TOKEN_SECRET} - QUEUE_BULL_REDIS_HOST=redis - QUEUE_BULL_REDIS_PORT=6379 - QUEUE_BULL_REDIS_DB=2 - SIGN_IN_PREFILLED=true - STORAGE_TYPE=local - MESSAGE_QUEUE_TYPE=pg-boss networks: - app_network volumes: server-local-data: docker-data: networks: app_network: driver: bridge name: database_network external: true
No description
charles
charles2mo ago
@Min, I would need logs from your browser developer console 🙂
Min
Min2mo ago
[Nest] 1 - 07/26/2024, 6:43:47 AM LOG [RouterExplorer] Mapped {/auth/google, GET} route [Nest] 1 - 07/26/2024, 6:43:47 AM LOG [RouterExplorer] Mapped {/auth/google/redirect, GET} route [Nest] 1 - 07/26/2024, 6:43:47 AM LOG [RoutesResolver] MicrosoftAuthController {/auth/microsoft}: [Nest] 1 - 07/26/2024, 6:43:47 AM LOG [RouterExplorer] Mapped {/auth/microsoft, GET} route [Nest] 1 - 07/26/2024, 6:43:47 AM LOG [RouterExplorer] Mapped {/auth/microsoft/redirect, GET} route [Nest] 1 - 07/26/2024, 6:43:47 AM LOG [RoutesResolver] GoogleAPIsAuthController {/auth/google-apis}: [Nest] 1 - 07/26/2024, 6:43:47 AM LOG [RouterExplorer] Mapped {/auth/google-apis, GET} route [Nest] 1 - 07/26/2024, 6:43:47 AM LOG [RouterExplorer] Mapped {/auth/google-apis/get-access-token, GET} route [Nest] 1 - 07/26/2024, 6:43:47 AM LOG [RoutesResolver] VerifyAuthController {/auth/verify}: [Nest] 1 - 07/26/2024, 6:43:47 AM LOG [RouterExplorer] Mapped {/auth/verify, POST} route [Nest] 1 - 07/26/2024, 6:43:47 AM LOG [RoutesResolver] BillingController {/billing}: [Nest] 1 - 07/26/2024, 6:43:47 AM LOG [RouterExplorer] Mapped {/billing/webhooks, POST} route [Nest] 1 - 07/26/2024, 6:43:47 AM LOG [RoutesResolver] FileController {/files}: [Nest] 1 - 07/26/2024, 6:43:47 AM LOG [RouterExplorer] Mapped {/files/*/:filename, GET} route [Nest] 1 - 07/26/2024, 6:43:47 AM LOG [RoutesResolver] OpenApiController {/open-api}: [Nest] 1 - 07/26/2024, 6:43:47 AM LOG [RouterExplorer] Mapped {/open-api/core, GET} route [Nest] 1 - 07/26/2024, 6:43:47 AM LOG [RouterExplorer] Mapped {/open-api/metadata, GET} route [Nest] 1 - 07/26/2024, 6:43:47 AM LOG [RoutesResolver] RestApiMetadataController {/rest/metadata/*}: [Nest] 1 - 07/26/2024, 6:43:47 AM LOG [RouterExplorer] Mapped {/rest/metadata/*, GET} route [Nest] 1 - 07/26/2024, 6:43:47 AM LOG [RouterExplorer] Mapped {/rest/metadata/*, DELETE} route [Nest] 1 - 07/26/2024, 6:43:47 AM LOG [RouterExplorer] Mapped {/rest/metadata/*, POST} route [Nest] 1 - 07/26/2024, 6:43:47 AM LOG [RouterExplorer] Mapped {/rest/metadata/*, PATCH} route [Nest] 1 - 07/26/2024, 6:43:47 AM LOG [RouterExplorer] Mapped {/rest/metadata/*, PUT} route [Nest] 1 - 07/26/2024, 6:43:47 AM LOG [RoutesResolver] RestApiCoreBatchController {/rest/batch/*}: [Nest] 1 - 07/26/2024, 6:43:47 AM LOG [RouterExplorer] Mapped {/rest/batch/*, POST} route [Nest] 1 - 07/26/2024, 6:43:47 AM LOG [RoutesResolver] RestApiCoreController {/rest/*}: [Nest] 1 - 07/26/2024, 6:43:47 AM LOG [RouterExplorer] Mapped {/rest/*, GET} route [Nest] 1 - 07/26/2024, 6:43:47 AM LOG [RouterExplorer] Mapped {/rest/*, DELETE} route [Nest] 1 - 07/26/2024, 6:43:47 AM LOG [RouterExplorer] Mapped {/rest/*, POST} route [Nest] 1 - 07/26/2024, 6:43:47 AM LOG [RouterExplorer] Mapped {/rest/*, PATCH} route [Nest] 1 - 07/26/2024, 6:43:47 AM LOG [RouterExplorer] Mapped {/rest/*, PUT} route [Nest] 1 - 07/26/2024, 6:43:47 AM LOG [GraphQLModule] Mapped {/metadata, POST} route [Nest] 1 - 07/26/2024, 6:43:47 AM LOG [GraphQLModule] Mapped {/graphql, POST} route [Nest] 1 - 07/26/2024, 6:43:47 AM LOG [NestApplication] Nest application successfully started this is my logs
charles
charles2mo ago
I would need your browser developer console logs 🙂 The one in chrome Your front cannot load so the starting investigation point should be your browser (chrome, firefox...)
Want results from more Discord servers?
Add your server