-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No Connection to Server #42
Comments
I'm having the same issue. I've set it up on an AWS instance, after install I can create documents, but not modify any of its contents. The web sockets seems to be failing, and the page shows "connection to server lost". Edit: I've been able to fix it by following the NGINX guide from the outline docs -- although I'm not sure what exactly fixed it, I had to entirely stop/start my instance before it started working. |
@KevinVR hello man, can you please guide me how do you setup using aws on ec2 instance? |
@meakshayraut All the # https://tomjorge.me/how-to-deploy-your-own-internal-wiki-with-outline-in-self-hosted-version/
version: "3"
services:
outline-redis:
image: redis
restart: always
outline-postgres:
image: postgres
environment:
POSTGRES_USER: {{POSTGRES_USER}}
POSTGRES_PASSWORD: {{POSTGRES_PW}}
POSTGRES_DB: {{POSTGRES_DB}}
volumes:
- pgdata:/var/lib/postgresql/data
restart: always
outline:
image: outlinewiki/outline:latest
command: sh -c "yarn db:migrate --env production-ssl-disabled && yarn start"
environment:
########## Outline Database
- DATABASE_URL=postgres://{{POSTGRES_USER}}:{{POSTGRES_PW}}@outline-postgres:5432/{{POSTGRES_DB}}
- DATABASE_URL_TEST=postgres://{{POSTGRES_USER}}:{{POSTGRES_PW}}@outline-postgres:5432/outline-test
- REDIS_URL=redis://outline-redis:6379
- SECRET_KEY={{SECRET_KEY}} # openssl rand -hex 32
- UTILS_SECRET={{UTILS_SECRETE}} # openssl rand -hex 32
########## Outline mail settings
- SMTP_HOST={{SMTP_HOST}}
- SMTP_PORT={{SMTP_PORT}}
- SMTP_USERNAME={{SMTP_USERNAME}}
- SMTP_PASSWORD={{SMTP_PW}}
- SMTP_FROM_EMAIL={{SMTP_FROM}}
- SMTP_REPLY_EMAIL={{SMTP_REPLY}}
########## Outline Default URL
- URL={{OUTLINE_URL}} #Needs to be the url which you use to access it
########## OICD
########## This uses Generic Oauth 2.0 but the other Providers do also work (just replace this part)
########## https://github.com/outline/outline/blob/main/.env.sample#L59
- OIDC_CLIENT_ID={{OIDC_CLIENT_ID}}
- OIDC_CLIENT_SECRET={{OIDC_CLIENT_SECRET}}
- OIDC_AUTH_URI={{OIDC_AUTH_URI}}
- OIDC_TOKEN_URI={{OIDC_TOKEN_URI}}
- OIDC_USERINFO_URI={{OIDC_USERIF_URI}}
- OIDC_USERNAME_CLAIM={{OIDC_USERNAME_CLAIM}}
- OIDC_DISPLAY_NAME={{OIDC_DISPLAYNAME}}
- OIDC_SCOPES={{OIDC_SCOPES}}
########## Outline S3 Provider credentials
- AWS_ACCESS_KEY_ID={{S3_ACCESS_KEY}}
- AWS_SECRET_ACCESS_KEY={{S3_SECRET_KEY}}
- AWS_REGION={{S3_REGION}}
- AWS_S3_UPLOAD_BUCKET_URL={{S3_URL}}
- AWS_S3_UPLOAD_BUCKET_NAME={{S3_BUCKET_NAME}}
- AWS_S3_UPLOAD_MAX_SIZE=26214400
- AWS_S3_FORCE_PATH_STYLE=true
- AWS_S3_ACL=private
- PGSSLMODE=disable
restart: always
depends_on:
- outline-postgres
- outline-redis
networks:
default:
volumes:
pgdata: |
@Halllo5 I'm facing the same issue with the latest version of outline-wiki. Were you able to fix the issue? |
@kunalgupta022 I actually never figured it out and just switched to manually writing the docker compose. I think I am still using the one I provided in my last comment and it has worked perfectly so far. Otherwise, the documentation has improved a lot, I think: https://docs.getoutline.com/s/hosting/doc/docker-7pfeLP5a8t |
Hello
I have installed everything successfully, but after opening Outline and logging in I can't edit any documents and after a few seconds I get the error message "connection to server lost".
I use a raspberryPI 4b with 8GB ram
Thanks for the help in advance
The text was updated successfully, but these errors were encountered: