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 lima6mo ago
I loved 20 but their yaml to self host is away from a easy deploy
Kurumi Tokisaki
Kurumi TokisakiOP6mo ago
i used thier .env attriute to expose it to local network and it workied but didn't have any luck with domain.
charles
charles6mo ago
Hi @Kurumi Tokisaki, it should work, what do you see in your console logs?
Kurumi Tokisaki
Kurumi TokisakiOP6mo 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 TokisakiOP6mo ago
Twenty
A modern open-source CRM
charles
charles6mo 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
charles6mo 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
Min6mo ago
the same. Have you fixed it yet?
charles
charles5mo ago
@Kurumi Tokisaki @Min do you still need help here?
Min
Min5mo ago
Yes please. i run via docker, but it show blank page
charles
charles5mo ago
Could you share your developer console / network tab in chrome? (screenshots), so I can help troubleshoot the issue
Min
Min5mo 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
charles5mo ago
@Min, I would need logs from your browser developer console 🙂
Min
Min5mo 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
charles5mo 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...)
Min
Min5mo ago
Is this it? Please forgive me, because I'm not very technical.
No description
Kurumi Tokisaki
Kurumi TokisakiOP5mo ago
I need help but I think I won’t be able to do much now, there is a massacre of students going on in my capital city Dhaka and throughout the cities around the country by the regime and our internet, phone network, electricity was taken down for a week and it’s back now partially but the bandwidth is barely working and a lot of communication and non communication websites have been blocked. There is also a carfew to be shot on sight by the military. From what I remember is there are some http content that can’t be upgraded to https so it’s throwing a mixed content error when HTTPS request is sent to my port 80. Idk how to make the whole thing work with https.
charles
charles5mo ago
Reading the news 😦 😦 😦 I'm really sorry @Kurumi Tokisaki, stay safe
Kurumi Tokisaki
Kurumi TokisakiOP5mo ago
Thank you for this. I’m safe since I didn’t attend the protest that turned into movement but a lot of the university students died and even kids under 18. A 17 y/o girl was shot dead from a helicopter by the special security force for fun. My goal now is to escape the country. Now police are picking up students from home and nobody know what are going to happen with them
Want results from more Discord servers?
Add your server