this post was submitted on 11 Jul 2025
655 points (95.7% liked)

You Should Know

39738 readers
361 users here now

YSK - for all the things that can make your life easier!

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules (interactive)


Rule 1- All posts must begin with YSK.

All posts must begin with YSK. If you're a Mastodon user, then include YSK after @youshouldknow. This is a community to share tips and tricks that will help you improve your life.



Rule 2- Your post body text must include the reason "Why" YSK:

**In your post's text body, you must include the reason "Why" YSK: It’s helpful for readability, and informs readers about the importance of the content. **



Rule 3- Do not seek mental, medical and professional help here.

Do not seek mental, medical and professional help here. Breaking this rule will not get you or your post removed, but it will put you at risk, and possibly in danger.



Rule 4- No self promotion or upvote-farming of any kind.

That's it.



Rule 5- No baiting or sealioning or promoting an agenda.

Posts and comments which, instead of being of an innocuous nature, are specifically intended (based on reports and in the opinion of our crack moderation team) to bait users into ideological wars on charged political topics will be removed and the authors warned - or banned - depending on severity.



Rule 6- Regarding non-YSK posts.

Provided it is about the community itself, you may post non-YSK posts using the [META] tag on your post title.



Rule 7- You can't harass or disturb other members.

If you harass or discriminate against any individual member, you will be removed.

If you are a member, sympathizer or a resemblant of a movement that is known to largely hate, mock, discriminate against, and/or want to take lives of a group of people and you were provably vocal about your hate, then you will be banned on sight.

For further explanation, clarification and feedback about this rule, you may follow this link.



Rule 8- All comments should try to stay relevant to their parent content.



Rule 9- Reposts from other platforms are not allowed.

Let everyone have their own content.



Rule 10- The majority of bots aren't allowed to participate here.

Unless included in our Whitelist for Bots, your bot will not be allowed to participate in this community. To have your bot whitelisted, please contact the moderators for a short review.



Rule 11- Posts must actually be true: Disiniformation, trolling, and being misleading will not be tolerated. Repeated or egregious attempts will earn you a ban. This also applies to filing reports: If you continually file false reports YOU WILL BE BANNED! We can see who reports what, and shenanigans will not be tolerated.

If you file a report, include what specific rule is being violated and how.



Partnered Communities:

You can view our partnered communities list by following this link. To partner with our community and be included, you are free to message the moderators or comment on a pinned post.

Community Moderation

For inquiry on becoming a moderator of this community, you may comment on the pinned post of the time, or simply shoot a message to the current moderators.

Credits

Our icon(masterpiece) was made by @clen15!

founded 2 years ago
MODERATORS
 

So if you do the Docker setup, obeying the instructions and substituting everything that needs to get substituted, but don't proofread the files in detail and so miss that line 40 of docker-compose.yml doesn't have the variable {{domain}} like in every other location you need to write your domain, but instead just says LEMMY_UI_LEMMY_EXTERNAL_HOST=lemmy.ml and so you fail to change it away from lemmy.ml... then, everything will work, until you type in your admin password for the first time, at which point your browser will send a request to lemmy.ml which includes your admin username, your email address, and the admin password you're trying to set. And, also, of course your IP address wherever you are sitting and setting up the server.

I have no reason at all to think the Lemmy devs have set their server up to log this information when it comes in. nginx will throw it away by default, of course, but it would be easy for them to have it save it instead, if they wanted to. And my guess is most people won't use a different admin password once they figure out why creating their admin user isn't working and fix it.

@dessalines@lemmy.ml @nutomic@lemmy.ml I think you should fix the docker-compose.yml file not to do this.

Edit: Just to increase the information-to-rudeness ratio of my post. The docs are at:

https://join-lemmy.org/docs/administration/install_docker.html

And they recommend using wget to download:

https://raw.githubusercontent.com/LemmyNet/lemmy-docs/main/assets/docker-compose.yml

Which is pulled from:

https://github.com/LemmyNet/lemmy-docs/tree/main/assets

Which is what has the wrong line 40 in it.

Edit: They fixed it. Good stuff.

you are viewing a single comment's thread
view the rest of the comments
[–] Azzu@lemmy.dbzer0.com 61 points 1 day ago (4 children)

Why make a Lemmy post about this and not just a GitHub issue?

[–] PhilipTheBucket@ponder.cat 114 points 1 day ago (2 children)

I think it should be more public knowledge than just people who peruse the github issues. Also, it's so trivial to fix that it will save them some time if they don't have to close the issue after they spend literally 10-15 seconds fixing it.

[–] limer@lemmy.dbzer0.com 94 points 1 day ago (1 children)

I think you should also make a GitHub issue too

[–] Azzu@lemmy.dbzer0.com 2 points 1 day ago (1 children)

There is no other reason to do it like this in a Lemmy post other than you want to publicly discredit the devs somehow. This is quite obviously a mistake and not a way to harvest admin passwords. Just fixing it and not trying to stir up shit would have been the right thing to do.

[–] eugenevdebs@lemmy.dbzer0.com 1 points 13 hours ago

"Why would I get the notice through the proper means where they can fix it, when I can make a public post that doesn't actually solve the issue at hand?"

The same thing as people who think reddit threads are bug reports.

[–] lorty@lemmy.ml 4 points 23 hours ago

Why try to fix the issue if you can just farm some drama?

[–] southsamurai@sh.itjust.works 4 points 1 day ago* (last edited 1 day ago) (1 children)

Just for the hell of it, I don't know about OP, but I don't even know how to.

I went to the relevant linked section and couldn't find a way to raise an issue directly. I'm going to try again, and if I succeed I'll return here and make a top level comment for anyone scrolling by and wondering. I've never tried to do this before, so I'll see how it goes.

Edit: aha!

You have to go to the issues page and select the "new issue" button, where you'll be directed to log in to github.

Which, for me, means I'm finished trying. No desire whatsoever to have another login for a one time thing. If I ever manage to learn enough code to do anything like this often enough, I'd do it, but it just isn't worth it to satisfy my curiosity about the process.

[–] Azzu@lemmy.dbzer0.com 1 points 1 day ago (1 children)

OP managed to find the bug. He knows how to fix it. Obviously he'd know how to make an issue about it, and probably even know how to contribute his fix that he already made in the official way to the open source project.

You do not possess these skills so obviously you're not the one who should make the issue.

Yet he decided to somehow create this public post highlighting something that could be sketchy to try to publicly discredit the devs. There is no other reason to do it like this.

[–] BroBot9000@lemmy.world 3 points 23 hours ago

If it could be sketchy the public should know about it.

The people that didn’t change their password after it getting leaked should also know about it and update their info.

Whistleblowers like Op are doing the right thing. No blind faith in some dear leader.

[–] finitebanjo@lemmy.world 2 points 1 day ago

Because the main Lemmy devs are authoritarian assholes.