forem / selfhost

Selfhost your Forem Community on your own infrastructure 🎉
https://www.forem.com/get-started/
GNU Affero General Public License v3.0
1.45k stars 175 forks source link

I get 404 page not found after following the guide #43

Closed gkkirilov closed 3 years ago

gkkirilov commented 3 years ago

Describe the bug I get 404 page not found instead of creating an admin account page

To Reproduce Steps to reproduce the behavior: Follow @jdoss https://www.youtube.com/watch?v=af7N_-M1-3Y and deploy on GCP As the final step restart traefik service on server Open domain see no ssl certificate installed and 404 page not found error.

Expected behavior Register first user page

Screenshots image

OS (please complete the following information):

Cloud Provider (please complete the following information):

Additional context Add any other context about the problem here. This guy has the same problem -> here

jdoss commented 3 years ago

Hey @gkkirilov we found a bug that just got fixed this morning. https://github.com/forem/selfhost/pull/45 Just pull down the latest main branch from GitHub and you can either delete your setup in GCP and relaunch or SSH into your server as the core user, sudo vi /opt/forem/configs/traefik/dynamic.toml, change ReferrerPolicy = same-origin to ReferrerPolicy = "same-origin", save the file :wq and then restart Traefik sudo systemctl restart forem-traefik and that should fix this issue for you.

gkkirilov commented 3 years ago

@jdoss worked like a charm, thank you