Search
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 [3][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@lemmy.world To: ["[SOLVED] What is the maximum username length for a Lemmy account?". "Kalcifer" @Kalcifer@sh.
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
Upgrading from 0.17.2 to .18 failed. i need only the http server
Hi.
i'm using ansible for installation and upgrading.
My setup has an external nginx running which does the SSL part, so i want to remove the SSL and certbot parts of the
/templates/nginx.conf
file.
(i'm not sure if i have to edit the other nginx_internal.conf
file) But with the below settings i get 'Bad gateway'.
Hoping someone can point me in the right direction. Thanks
undefined
limit_req_zone $binary_remote_addr zone={{domain}}_ratelimit:10m rate=1r/s; # changelog # 2023-06-27 Merge remote #5246 and remove certbot and ssl server { listen 80; listen [::]:80; server_name {{domain}}; location / { proxy_pass http://0.0.0.0:{{lemmy_port}}; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } } access_log /var/log/nginx/access.log combi
My previous post does not appear in the (local) community that I posted it to
[SOLVED]: The issue was caused by having "Show read posts" unticked in Settings. This will hide your own posts from you!
I recently made a post[1] to this community about a bug that I experienced and reported.
The post does not appear in the New
feed for /c/lemmy_support nor does it appear in my user profile under Posts
[2].
However the post does have 3 replies (from users on multiple different instances) which means that other users can see it across the fediverse, so it's not a federation issue. (Also, my account and the community are both hosted on the same instance - lemmy.ml).
I was not subscribed to /c/lemmy_support at the time I made that post, but I am subscribed now to see if that affects my visibility of this post.
Is this a bug, or am I misunderstanding how lemmy works?
Interestingly, if I view my profile while logged out, it does show the posts that I made, but when logged in it shows zero posts in my profile.
[1] https://lemmy.ml/post/1394597
[2] ![](
Frequent Lemmy Backend Timeouts
As far as I can tell, my instance is nowhere near max database connections. However, after about two hours, I always get errors like "WARN Error encountered while processing the incoming HTTP request: lemmy_server::root_span_builder: Timeout occurred while waiting for a slot to become available" if we're under any load at all. Does anyone know what's going on here? This doesn't seem to be a resource use issue. It happens with the default docker configuration as shown in the docs. It happens if I spin up a test instance and generate a bunch of load, so it seems perfectly replicable.
Edit: The solution for me was building the docker images myself. Didn't matter if I used the official releases from dockerhub, the development images, whatever. It still crashed with this error eventually. I've been up with the images I built myself for eight or so hours, and we seem fine.
Help with Lemmy setup
Hello! I have been struggling through a few tutorials on getting a lemmy instance to work correctly when setup with Docker. I have it mostly done, but there are various issues each time that I do not have the knowledge to properly correct. I am familiar with Docker, and already have an Oracle VPS set up on ARM64 Ubuntu. I already have portainer and an NGINX proxy set up and working okay. I have an existing lemmy instance "running" but not quite working. My best guess here would be to have someone assist with setting up the docker-compose to work with current updates/settings, as well as the config.hjson.
TIA, and I cant wait to have my own entry into the fediverse working right!