How do i log in to a new Lemmy instance

3 years ago by D4NM3D to c/selfhost

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

jlh 2 points 3 years 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.

path: 0 53246, hotness: undefined, score: 2, children: 2
d4nm3d 1 point 3 years ago

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

path: 0 53246 53713, hotness: undefined, score: 1, children: 1
jlh 2 points 3 years 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/...

path: 0 53246 53713 53744, hotness: undefined, score: 2, children: 0
slashzero 2 points 3 years 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?

path: 0 53266, hotness: undefined, score: 2, children: 7
d4nm3d 2 points 3 years ago

thats was the key.. thank you!

path: 0 53266 53828, hotness: undefined, score: 2, children: 1
slashzero 1 point 3 years 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!

path: 0 53266 53828 54168, hotness: undefined, score: 1, children: 0
d4nm3d 1 point 3 years ago

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

path: 0 53266 53720, hotness: undefined, score: 1, children: 4
slashzero 1 point 3 years 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.

path: 0 53266 53720 54179, hotness: undefined, score: 1, children: 3
d4nm3d 1 point 3 years 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..

path: 0 53266 53720 54179 56279, hotness: undefined, score: 1, children: 2
slashzero 1 point 3 years 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.

path: 0 53266 53720 54179 56279 56866, hotness: undefined, score: 1, children: 1
selfhost
selfhost

@lemmy.ml

login for more options
21175
570
255

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

  • No harassment
  • crossposts from c/Open Source & c/docker & related may be allowed, depending on context
  • Video Promoting is allowed if is within the topic.
  • No spamming.
  • Stay friendly.
  • Follow the lemmy.ml instance rules.
  • Tag your post. (Read under)

Important

  • Lemmy doesn't have tags yet, so mark it with [Question], [Help], [Project], [Other], [Promoting] or other you may think is appropriate. This is strongly encouraged!

Cross-posting

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

go to feed...