6
submitted 1 year ago by d4nm3d@reddthat.com to c/selfhost@lemmy.ml

I've set one up using the docker instructions but i can't log in to it.. When i try to signup or login the green button just swirls constantly...

top 11 comments
sorted by: hot top controversial new old
[-] jlh@lemmy.jlh.name 3 points 1 year ago* (last edited 1 year ago)

Are your reverse proxy/ websockets working correctly? When I first started the UI without adding the routes for the backend, the login button would just time out exactly like that.

See if there are any network errors in your browser's developer tools, and see if there are any logs in your backend container.

[-] d4nm3d@reddthat.com 1 points 1 year ago

They should of been.. i'm running caddy so it's pretty turn key but i'll give it another go.

[-] jlh@lemmy.jlh.name 2 points 1 year ago

Are you running an nginx container as well? The nginx config is pretty complicated and crucial, so I would recommend pointing caddy to the nginx container and let it handle all the different routing.

nginx config here: https://join-lemmy.org/docs/en/administration/install_docker.html

[-] slashzero@hakbox.social 2 points 1 year ago* (last edited 1 year ago)

You can see the server side logs for errors:

sudo docker logs lemmy_lemmy_1

The errors there might shed more light into what is going on.

I’m assuming you put the admin user and password into the lemmy.hjson file and are trying to log in with those?

[-] d4nm3d@reddthat.com 2 points 1 year ago

thats was the key.. thank you!

[-] slashzero@hakbox.social 1 points 1 year ago

No problem! Glad I could help. I spent most of yesterday working through similar issues you are currently working on, so use what I learned!

[-] d4nm3d@reddthat.com 1 points 1 year ago

huh.. the guide i followed didn't mention a lemmy.hjson file.. let me start again!

[-] slashzero@hakbox.social 1 points 1 year ago

The documentation is not currently in the greatest state, from what I saw. There is literally nothing other than the default config for how to setup email / SMTP.

[-] d4nm3d@reddthat.com 1 points 1 year ago

this was also on my list of questions... i've seen nothing and i need to point things to smtp2go.. but at the moment i think i'm going to hold off.. i don't have the time or resources to be an early adopter..

[-] slashzero@hakbox.social 1 points 1 year ago

I didn't mean to discourage you! It's really not that bad, if you like system-administration. I enjoy it, but it can get pretty frustrating.

[-] d4nm3d@reddthat.com 1 points 1 year ago

my experiment was largely a knee jerk reaction to things going on over at reddit..i think there are plenty more people more capable than i am of assisting in growing this environment.. once i can contribute by simply offering up compute i'll be back.. for now I'll have to enjoy from afar.

load more comments
view more: next ›
this post was submitted on 10 Jun 2023
6 points (100.0% liked)

Self Hosted - Self-hosting your services.

11378 readers
27 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules

Important

Beginning of January 1st 2024 this rule WILL be enforced. Posts that are not tagged will be warned and if not fixed within 24h then removed!

Cross-posting

If you see a rule-breaker please DM the mods!

founded 3 years ago
MODERATORS