Search
Lemmy sending e-mails doesn't work, and so far, guides and searches have not helped me
EDIT: Solved, check Brkdncr@lemmy.world's comment below.
So, I am currently in the process of setting up a PeerTube and Lemmy instance, both on a dedicated Server running Debian 12. PeerTube seems to work properly by now, but the SMTP settings for Lemmy have been a bit of a headscratcher, and I wasn't able to find a solution.
To set up Lemmy, I followed the "from scratch" guide, and, besides the mail issue, it seems like everything else is working so far.
Note that I am currently in the process of learning-by-doing with this whole project. So, I would not rule out, that I may have overlooked something really obvious and stupid, sorry for taking your time, then.
My settings in /opt/lemmy/lemmy-server/lemmy.hjson:
undefined
email: { # Hostname and port of the smtp server smtp_server: "localhost:587" # Login name for smtp server smtp_login: "lemmymail" # Password to login to the smtp server smtp_pa
Can we change our account name?
So made this account a year ago or so and would like to change the account name (not the display name).
But can’t figure out how and where. That’s why I was curious whether it is even possible or not.
Community Not Showing Latest Posts
— Update ———
In your account preferences, "Show Read" is enabled by default. If you disable it, then any time a post is marked "read", you will no longer see it on your feed. The app I use is currently set to mark posts I've scrolled past as "read." I'm not sure how the Lemmy WebUI does it.
This is a great tool to make sure you don't repeatedly see the same read posts on your main feeds, but apparently it also applies when viewing a community directly.
— Original post below ———
I was able to see videos at https://lemmy.world/c/crazyfuckingvideos until just a few days ago. Now it says no new posts for a year and I can't see any new posts.
I've never posted or commented in that community. There are no modlog actions against me regarding that community or instance. I haven't blocked the community or instance. My instance hasn't blocked lemmy.world. I don't think my instance has blocked the community specifically because my alt on the same instance accesses it fine. This problem
Trying to get Lemmy running in Docker
I've setup Lemmy on a VPS with LetsEncrypt. When navigating to my domain, Lemmy just says "There was an error on the server. Try refreshing your browser. If that doesn't work, come back at a later time. If the problem persists, you can seek help in the Lemmy support community or Lemmy Matrix room."
I've checked both the Lemmy API and WUI instances, but no errors are reported:
undefined
lemmy@ubuntu-s-1vcpu-2gb-sfo3-01:~$ docker compose logs postgres | postgres | PostgreSQL Database directory appears to contain a database; Skipping initialization postgres | postgres | 2025-02-17 18:21:24.644 UTC [1] LOG: starting PostgreSQL 17.3 (Debian 17.3-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit postgres | 2025-02-17 18:21:24.646 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 postgres | 2025-02-17 18:21:24.647 UTC [1] LOG: listening on IPv6 address "::", port 5432 postgres | 2025-02-17 18:21:24.652 UTC [1] LOG: listening on Unix socket
Difference in config.hjson with ansible
Edit: the issue was cloudflare proxy. If you're using cloudflare for dns, turn off proxying if you're using lets encrypt.
I must be doing something wrong, because when i run the playbook I get an unconfigured nginx page at the ip of my server.
The instruction docs for ansible states:
Do not edit anything inside the {{ }} braces.
https://github.com/LemmyNet/lemmy-ansible/blob/main/examples/config.hjson
however that config file points to:
https://join-lemmy.org/docs/administration/configuration.html
What is the maximum username length for a Lemmy account?
Solution
The Lemmy server appears to have a database limit of 255 characters [2]; however, individual instances appear to put their own limits on username length though the frontend [3] and/or the API [4.1][4.2].
Original Post
If you know, please also provide relevant documentation.
UPDATE (2025-02-02T06:06Z): I did some brute-force testing, and, at least for sh.itjust.works, it seems that the maximum username length is 50, and the maximum password length is 60 [1].
::: spoiler References
- "Sign Up". sh.itjust.works. Lemmy. Accessed: 2025-02-02T08:49Z. https://sh.itjust.works/signup.
- When creating an account on sh.itjust.works, the sign-up form will throw this error if the provided password is greater than 60 characters in length.
- @TootSweet@l
Stop Lemmy from mirroring link images
By default Lemmy seems to be mirroring every link's preview image. Even when that link was originally posted on an external Lemmy instance. That can put quite a strain on small servers. Is there a way to disable this? Ideally I would have pict-rs just be used to host the images my users upload and nothing else.
Solved:
Add
undefined
pictrs: { image_mode: "None" }
to lemmy.hjson.
When creating a post, how does the "Thumbnail URL" option work exactly?
Solution
As was pointed out by @SatyrSack@feddit.org [1], this feature was added in this pull request. It appears that the custom thumbnail field is only relevant for posts that share a URL: The "Thumbnail URL" field is used to specify a custom thumbnail to be used in place of what would've been automatically generated by the provided URL [2].
Original Post
I thought it would be for adding a custom thumbnail that appears for the post in the feed, but then that seems to be a duplicate of adding an image. At any rate, I tried adding an image link to it, and no image showed up for the post. So I'm not entirely sure what it's actually for.
EDIT (2024-11-30T22:22): Perhaps it's for the pre-expanded thumbnail for a post if it has an image? Does that mean that it only works if you have an image specified? Can it be used to override the thumbnail that's generated from a shared article? Does it work
I accidentally deleted my community
I was trying to edit my community, and I accidentally pressed the delete button. Is there any way to undo this?
How to use extra_theme
folder?
New Lemmy admin here. I found the Theming Guide in the Lemmy docs, but it jumps directly to the 'After a theme is added' section without explaining how to add or create themes. I've searched for examples but couldn't find any configuration that includes these details.
I found hanubeki-lemmy-themes, which actually contains some good themes. However, when I copied the 5
folder to my extra_theme
folder, nothing happened. Can someone guide me on how to add these themes to my instance?
Update:
You should put all your css file in the extra_themes
folder, each .css
is a theme. For hanubeki-lemmy-themes I put all the dist
and src
files in extra_themes
and it works. I already done this before, but my browser was [caching lemmy-ui static files for 24 hours], so when I delete the cache it just works.
[cashing lemmy-ui static fil
Checking admin status of user via the API
Sorry if this is the wrong community, not sure where else to post the question, and I'd rather avoid creating an issue over on Github.
Is there a way to check if a federated user is an administrator via the API? .get_person_details()
will have the admin field set to false for all other than local admins and .get_community()
only reveals the list of moderators.
I know I could scrape the admin list from the main page html, but scraping html is prone to errors if an instance uses an alternative frontend or the frontend is updated. Getting the data via the API should be a more stable solution.
Based on #3703 it seems like a decent chance that this information isn't currently exposed to federated instances though?
Postgres using a lot of CPU since update
EDIT: It seems to have been fixed thanks to @graycube@lemmy.world. Running analyze verbose;
in postgres.
After updating to 0.19.5 from 0.19.3 my postgres is often using up 500%+ of CPU according to docker stats and often going to 100% CPU on most cores according to htop. Also noticed in the uptime monitor:
htop shows one of the 5 postgres processes constantly on UPDATE. I think this might be part of the problem.
I'm not comfortable with postgres and am honestly completely in the dark how or where to mitigate or even pinpoint this issue.
Any help would be appreciated.
Why can't I see a specific post in !caps@lemmy.world from lemmy.ml when the same post is visible on other instances?
EDIT: After discussing this on Matrix, I believe the answer is in the mod logs. The author of the post in question was issued a temporary ban in another community on lemmy.ml, which I suspect is affecting the display of this user’s content across all of lemmy.ml even though the post in question is in a different community from the one that issued the ban (which is kinda screwy tbh).
Description of the problem
The last several months, I've been trying to build up the community over at !caps@lemmy.world. It's going mostly well, but one thing that has me scratching my head lately is that when I'm browsing from lemmy.ml (i.e. https://lemmy.ml/c/caps@lemmy.world), which is 99% of the time, I can't see the most recent post. Oddly enough, the author is also from lemmy.ml, and I have previously interacted w/ the same user in the comments of older posts, so I know it's not a user-specific issue. I've double checked my profile settings and haven't blocked the community, instance, or u
When does the Lemmy UI show you what instance a user is from?
Answer
As mentioned by @Ategon@programming.dev, if only a username is shown, then that is the display name that the user has set. If there is a username and an instance, then that user has not set a display name.
Original Post
There appears to be no rhyme, nor reason to the inclusion of the instance in the poster's username. For clarity, I am referring to the format of @username@instance
. I would have thought that the usernames that don't include the instance are from users that originate from one's local instance, but that appears not to be the case. The second idea was that maybe it was something to do with length, in that a longer username wouldn't include the instance, but that doesn't seem to be the case either.
Lemmy won't show me my posts while being logged in
Go to Settings > Scroll Down > Tick Show Read Posts
> SAVE
Solution:
Without being logged in:
PS: I also have an account on sh.itjust.works and this shit just works over there.
Federation Issues
I run a Lemmy instance at lemmy.sedimentarymountains.com. It has been working for some time. 6 days ago it stopped getting updates from communities it was federated with. If I view all posts by active there is nothing newer than 6 days old. I checked disk space on the server, there is plenty. I don’t appear to be running out of any other resource. I redeployed the ansible playbook which didn’t do anything other then reload some services. I rebooted the server with no change in behavior. I am running 0.18.4 on Ubuntu 22.04.2 LTS.
I did notice that when I searched for !lemmy_support@lemmy.ml it started to pull fresh posts, but only from this community. I tried manually searching for a few other communities and I got a one time update of fresh content from them. I’m not sure what has changed. Is there a log I can review for federation issues?
I originally tried to post this from my instance but it didn't ever show up here. I've created an account on lemmy.ml to post this.
Why do I get two different results on two different Lemmy instance?
[solved] Apparently, I had to type in !piracy@lemmy.ml instead of just piracy and it does work. Now, I guess, that's one disadvantage of lemmy?
[ORIGINAL POST]
sh.itjust.works just doesn't show c/piracy
Is there a community in lemmy to ask for advice on finding open source software that can do certain things?
Changes to user profile not saving?
Hi there,
I am in the process of migrating instances. I have been trying to add a bio and avatar to my profile, but when I press 'Save' at the bottom of my profile settings, I don't see any changes on my profile page.
I have tried this on both instances' profiles, and on desktop and mobile. I don't know if this is an error or perhaps I'm overlooking a necessary step.
Has anybody else encountered this? Any help would be appreciated.
Edit (SOLVED): Changes seemed to push through when I removed the link to my old profile from my bio. Either profiles don't support links, or I hit a character limit. Still not quite sure.
I can't make cross-post work properly
I shared a post about my instance.
Then I hit the cross-post button, chose the community, language and then submitted the form. Although new post created, there is no "cross-posted to" area on both original or target post.
For example here, you can see which communities the post cross-posted to. What am I doing wrong?
Update: looks like both posts should have same URL for crosspost to work. https://github.com/LemmyNet/lemmy/issues/3827