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

1 messages · Page 1 of 1 (latest)

atomic ridge
#

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.

dusty pumice
#

I loved 20 but their yaml to self host is away from a easy deploy

atomic ridge
summer path
#

Hi @atomic ridge, it should work, what do you see in your console logs?

atomic ridge
atomic ridge
summer path
#

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

foggy seal
summer path
#

@atomic ridge @foggy seal do you still need help here?

foggy seal
#

Yes please. i run via docker, but it show blank page

summer path
#

Could you share your developer console / network tab in chrome?

#

(screenshots), so I can help troubleshoot the issue

foggy seal
#

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
`

summer path
#

@foggy seal, I would need logs from your browser developer console 🙂

foggy seal
# summer path <@248442229939634177>, 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 logs

summer path
#

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...)

foggy seal
#

Is this it? Please forgive me, because I'm not very technical.

atomic ridge
# summer path The one in chrome

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.

summer path
#

Reading the news 😦 😦 😦 I'm really sorry @atomic ridge, stay safe

atomic ridge