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](https://cdn.answeroverflow.com/1261703157780840559/image.png)
19 Replies
I loved 20 but their yaml to self host is away from a easy deploy
i used thier .env attriute to expose it to local network and it workied but didn't have any luck with domain.
Hi @Kurumi Tokisaki, it should work, what do you see in your console logs?
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](https://cdn.answeroverflow.com/1261812332850319402/image.png)
Twenty
A modern open-source CRM
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
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
the same. Have you fixed it yet?
@Kurumi Tokisaki @Min do you still need help here?
Yes please. i run via docker, but it show blank page
Could you share your developer console / network tab in chrome?
(screenshots), so I can help troubleshoot the issue
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](https://cdn.answeroverflow.com/1266285591914348615/image.png)
@Min, I would need logs from your browser developer console 🙂
[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 logsI 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...)