Search
The lemmy.ml pictrs server is resizing all images to thumbnail size
Edit: this appears to be fixed now: https://lemmy.ml/post/22203615/14801411
All images in posts on lemmy\.ml are currently being resized to 256px on the longest dimension (width/height), even if they are image posts, not intended to be just article thumbnails.
Is this an intentional change? It makes text in images illegible and means that I have to view the original post to see the original image on every image post.
If this is a deliberate space-saving measure, could it be tuned for a little better usability? For example, increasing the maximum size of image when the post is an image post (as opposed to a web link that generates a thumbnail) and setting a size threshold to trigger resize (ie. most small images could be left alone).
Some examples from my feed:
Posts not appearing in communities when other group actors are mentioned.
Posts not appearing in communities when other group actors are mentioned.
Tried making a post (link below) to a lemmy community while also mentioning two other groups. My post never appeared in the Lemmy community. This seems like a bug, when I tried posting to two lemmy communities at once the first went through, the second did not.
Does anyone know what's up with this?
Is it a bug that the response of .../api/v3/comment/list?post_id is always empty?
I try to get comment data for my posts via API from my Lemmy instance, but whatever I try on using the GetComments endpoint it delivers an empty array.
For example ... GET https://programming.dev/api/v3/comment/list?post_id=20878811
leads to:
json { "comments": [] }
I want to ask here, before creating an issue. Has someone a hint?
400 and 499 errors in NGINX logs
Hi all,
How would I go about identifying why all these 400 (and some 499) errors are popping up in my server's logs?
[26/Sep/2024:17:12:42 -0400] "POST /inbox HTTP/1.1" 400 137 "-" "Lemmy/0.19.6-beta1; +https://lemmy.ml" [26/Sep/2024:17:12:43 -0400] "POST /inbox HTTP/1.1" 400 133 "-" "Lemmy/0.19.3-4-gc98049af6; +https://lemmy.world" [26/Sep/2024:17:12:44 -0400] "POST /inbox HTTP/1.1" 400 137 "-" "Lemmy/0.19.6-beta1; +https://lemmy.ml" [26/Sep/2024:17:12:44 -0400] "POST /inbox HTTP/1.1" 499 0 "-" "Lemmy/0.18.4; +https://beehaw.org" [26/Sep/2024:17:12:44 -0400] "POST /inbox HTTP/1.1" 200 0 "-" "Lemmy/0.19.6-beta1; +https://lemmy.ml" [26/Sep/2024:17:12:44 -0400] "POST /inbox HTTP/1.1" 200 0 "-" "Lemmy/0.19.6-beta1; +https://lemmy.ml" [26/Sep/2024:17:12:52 -0400] "POST /inbox HTTP/1.1" 499 0 "-" "Mbin/1.7.1 (+https://fedia.io/agent)" [26/Sep/2024:17:12:53 -0400] "POST /inbox HTTP/1.1" 400 139 "-" "Lemmy/0.19.6-beta1; +https://lemmy.ml" [26/Sep/2024:17:12:53 -0400] "POST /inbox HTTP/1.1" 400 140 "-" "Lemmy/0.19.3-4-gc98049af6; +https://lemmy.world" [26/Sep/2024:17:12:54 -0400] "POST /inbox HTTP/1.1" 400 135 "-" "Lemmy/0.19.6-beta1; +https://lemmy.ml" [26/Sep/2024:17:12:59 -0400] "POST /inbox HTTP/1.1" 499 0 "-" "Lemmy/0.18.4; +https://beehaw.org" [26/Sep/2024:17:12:59 -0400] "POST /inbox HTTP/1.1" 499 0 "-" "Lemmy/0.18.4; +https://beehaw.org" [26/Sep/2024:17:13:00 -0400] "POST /inbox HTTP/1.1" 499 0 "-" "Mbin/1.7.1 (+https://fedia.io/agent)" [26/Sep/2024:17:13:03 -0400] "POST /inbox HTTP/1.1" 400 137 "-" "Lemmy/0.19.6-beta1; +https://lemmy.ml" [26/Sep/2024:17:13:04 -0400] "POST /inbox HTTP/1.1" 400 132 "-" "Lemmy/0.19.3-4-gc98049af6; +https://lemmy.world" [26/Sep/2024:17:13:04 -0400] "POST /inbox HTTP/1.1" 200 0 "-" "Lemmy/0.19.3-4-gc98049af6; +https://lemmy.world"
I don't see a way to get Lemmy server to spit out any helpful info. I've tried setting RUST_LOG=verbose
in the env, but no luck, still no log output.
Sorting my posts by Top always defaults to displaying top all time posts
No matter which Top sorting method I select in my profile, the result will always be all of my my all-time top posts instead of a selection based on the selected time frame from the drop down menu. All Top (x) selections seem to only show the uncurtailed Top All Time results while sorting by Old, New or Controversial seems to work as intended.
I am browsing the default lemmy website interface from a Firefox web browser.
Force resize externally linked images? Generate thumbnails of externally linked images?
External images could be linked and displayed using:
![](external url)
Then Lemmy images could be resized which I think also shrinks the file size; hence faster display time, save internet data, and save screen space; by adding &thumbnail=
:
![](https://lemmy. .../pictrs/image/... .webp?format=webp&thumbnail=320)
So, is it possible to do similar but for any external image? Or at least generate thumbnails of many external images? Thanks in advance.
hello. How long do I need to wait for the e-mail to verify it? waiting 8h now...
@lemmy\_support hello. How long do I need to wait for the e-mail to verify it? waiting 8h now...
Do we have analytics around how much Lemmy traffic is on mobile vs desktop?
Inb4 "analytics" is a bad word in the fediverse, understandably so, but I ask because for one of the communities that I moderate, I noticed the banner image and icon image were nearly 20 MB each, so I replaced them with smaller versions (<1 MB each). On desktop w/ a fast wired connection, it's no biggie, but it's good practice anyway to minimize page weight, if for no other reason than to make the site more usable for people on slow or cellular connections.
I tried searching for traffic data about Lemmy, and the best I could find is this page on similarweb.com, which shows traffic broken out by country and referrals, among other things, but a breakout of mobile vs desktop appears to be locked behind a paywall.
Do we have any analytics on mobile vs desktop traffic for Lemmy?
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 do I create a post in Mastodon that can go to a Lemmy community
I would like to post news articles to the lemmy.ml Palestine community from Mastodon. I have read that I only need a flair [News] in the title and the mention of @[email protected] in the body of the post. However, that hasn't seemed to work.
Any suggestions would be greatly appreciated. Thanks! :-)
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.
[Theming Guide]: https://join-lemmy.org/docs/administration/theming.html [hanubeki-lemmy-themes]: https://github.com/hanubeki/hanubeki-lemmy-themes [cashing lemmy-ui static files for 24 hours]: https://github.com/LemmyNet/lemmy-ui/blob/2b726b51b5a0a2751bc0e955c39b3179284a1695/src/server/middleware.ts#L48-L51
> Thank you Sami, it was a cash problem, I updated the post with more details
Lemmy RSS: retrieving more than 20 items
Hi Lemmy friends,
Is there any way to have Lemmy's community RSS feeds provide more than 20 <item>
tags at a time? Can I add a querystring variable to get the next page or two of data?
Background on what I'm trying to do: I run the Movie, TV and Game trailers community. I'd like to create a simple website / landing page that displays an ongoing roll of the latest/top/hot trailers posted to the community.
I can use the community's RSS feed for this, but the feed only includes a maximum of 20 entries (for an average end-to-end runtime of about one hour). I'd really like to get the next few pages of entries as well.
Thanks!
When will join-lemmy.org/apps be updated?
This still seems like the #1 entry port for folks who are new to Lemmy, but it is pretty out of date. It still recommends Combustible, which never had a stable release (Oct 1, 2023 Alpha 0.1.1), lemmyBB, with no known instances (Apr 24, 2023), Lunar, which never left Testflight (Dec 12, 2023), and the same for Memmy (Nov 6, 2023).
At the same time it is missing lots of recent apps, such as Connect, Interstellar, Arctic, or Tesseract.
Would it be possible to use a tool similar to LemmyApps or the API to keep the list updated automatically?
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?
Support set url from posts of other fediverse softwares (ej mastodon, mitra, akkoma...)
Support set url from posts of other fediverse softwares (ej mastodon, mitra, akkoma...)
Hello!
In the last few days I have been testing to create news posts in Lemmy communities from Mastodon and Mitra.
I have seen that the posts are created correctly, setting the title with the first line of the post, but the url is not set correctly, it puts all the content in the body, but the attached url is not set. Would there be any way to extract the url from the body to be able to set it, as is done with the title?
I attach examples:
Post created from Lemmy with url in lemmy: https://scribe.disroot.org/api/v3/post?id=532812 Post created from Mastodon without url in lemmy: https://scribe.disroot.org/api/v3/post?id=532812
0.19.5: edits to community sidebar mangle shields.io-linked badges
Over at [email protected] we've got a sidebar with a "total subscribers" shields.io badge, like many other communities all over the Lemmyverse do. I made a simple, non-badge-related edit to the sidebar and due to what seems an aggressive image proxy, the shields.io badge address gets mangled after the edit is saved.
This is "Community Info" from [email protected] on Jerboa. At the bottom of the screen is the midwest.social/api/v3/image_proxy image.
This is "Community Info" from [email protected] on Jerboa, as an example of a working badge. At the bottom the screen is the working shields.io badge.
The pre-save preview shows everything as should be. It's only when the edit is saved does the badge address get mangled.
I contacted our fearless leader, @[email protected], and he changed an image proxy setting. Now [email protected] works as it should. Any further details or information in regards should be asked of him. Thanks. *** Workers of The World...Relax! [email protected] ☆ [email protected] ☆ [email protected]
Postgres using a lot of CPU since update
EDIT: It seems to have been fixed thanks to @[email protected]. 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.
What are the conditions for the Lemmy post to be distributed to other Lemmy instances?
A quick look at the https://join-lemmy.org/docs/administration/federation_getting_started.html does not answer that question. Though at least ChatGPT has an opinion (which may be misleading) 😀
> the probability of it (the post) being distributed on multiple instances depends on factors such as the popularity of the post, the number of upvotes and comments it receives, and how widely it is shared across different instances. Posts that generate a lot of engagement and discussion are more likely to be distributed on multiple instances, as they are more likely to be shared and reposted by users. Additionally, posts that are deemed relevant or controversial may also be more likely to be spread across multiple instances.
I am unsure what it means by shared (i assume just posting a link is not enough).
If that is true that reposted (often called cross-posted) post makes a fully "featured" copy/backup on a different Lemmy instance, is there anything else that does it? Thank you
Reply button infinitely turning wheel, not submited, Search yields no results, Error 502
přeposláno z: https://lemmings.world/post/10376607
> Having account on https://lemmings.world, like 10 hours ago I have been trying to post a reply in a community that is hosted on a different instance (monero.town), the progress wheel was constantly turning on the Repply button and the browser developer console (F12) shown Error 502 Bad gateway ("invalid response from the upstream server" - https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/502). "Bad gateway" error is shown by the Lemmy on login form at lemmings.world. > > That turning wheel also appears on a new post/topic submission button (creating topic on external lemmy.ml community being on lemmings.world ). > > After trying to search in my home instance, https://lemmings.world/search?q=502+error&type=All&listingType=All&page=1&sort=TopAll It output nothing and the console again shown Error 502:
> ... > > GET https://lemmings.world/api/v3/resolve_object?q=502 error [HTTP/1.1 502 Bad Gateway 0ms] > > XHRGET https://lemmings.world/api/v3/user/report_count? [HTTP/1.1 502 Bad Gateway 0ms] > ... >
Certain mod actions don't federate
I've created the community [email protected] from an account on lemmy.zip, but want to use my tchncs.de account to moderate and run it, so I transferred the community to my tchncs.de account.
I've changed content in the sidebar and pinned a post to the top, but both of those changes don't federate from tchncs.de to lemmy.zip
You can see the changes when viewing the community from tchncs.de but you don't see the changes when viewing the community directly on lemmy.zip
Both instances run Lemmy 0.19.4
How can this be resolved?
@andrew_s Ok that makes more sense but I do know I've tried it other times when there was no user and it posted to one community but not the other.
@lemmy_support
@db0 on Mastodon it just boosts the posts, I assume that's what Lemmy also does in addition to copying it and formatting the data as a post.
If I oversimplified or got that wrong I'd definitely appreciate if @dessalines or @nutomic could correct me on that. As far as I know there doesn't seem to be a reason why the same post can't appear simultaneously in multiple communties, since they're just boosts and duplicates on the federated instances. @lemmy_support
@db0 Might be, I can't be sure if it's just the first one, or random. I don't really want to try, my instance admin might not be too happy with me posting too many test posts in the name of science.
Though the weird thing is that it just straight up denies it even if the other groups aren't Lemmy or federate with Lemmy, which Guppe groups don't.
Link to my post containing multiple group mentions and one Lemmy community:
https://chaos.social/@Draconic_NEO/113406243431431881
Link to post containing two Lemmy communities:
https://chaos.social/@Draconic_NEO/113406248999089892
It might help if you share the URL for that post, so the media type can be known.
I see that you already found [email protected].
Oddly, the endpoint on lemm.el and lemmy.ml return comments:
> curl 'https://lemm.ee/api/v3/comment/list?post_id=45734814' | jq '.comments.[] | .comment.content[:50]'
"Yeah, you're right. I didn't read enough of the do"
"Thank you for the tip ... but whatever I try with "
"~~In 0.19.5, they removed the deprecated `post_id`"
> curl 'https://lemmy.ml/api/v3/comment/list?post_id=21766749' | jq '.comments.[] | .comment.content[:50]'
"Yeah, you're right. I didn't read enough of the do"
"Thank you for the tip ... but whatever I try with "
"~~In 0.19.5, they removed the deprecated `post_id`"
I think it would be better to ask the admin of the instance before creating the issue.
There is no such method, and they may get annoyed should you message all of them at the same time*. As u/Blaze said, your other options are to make a report against a post or comment, or make a “[Meta]” post.
*Depending on several factors that would take too long to explain.
looks like the first line says that you got banned and gives a reason, (note that I don’t know anything about you or that community, just pointing out what I saw in the list, nothing more)
Banned
Don_Dickle from the community
reason: Ban evasion/Trolling (alt of [email protected])
This is set by the instance admin: https://git.asonix.dog/asonix/pict-rs/src/branch/main/pict-rs.toml Some instances may not allow image uploading at all. AFAIK, neither the Lemmy API nor the pict-rs API exposes this information, so there’s no way to know in an automated fashion.
Found it: https://lemmy.dbzer0.com/post/17357923/9209304
On 0.19.3, you can:
- Limit the file upload size for local users through nginx configuration
- Disable incoming federated images through Lemmy configuration: https://github.com/LemmyNet/lemmy/blob/main/config/defaults.hjson#L49 (set this to false)
Additional: On https://github.com/LemmyNet/lemmy/blob/main/docker/nginx.conf, there is an option "client_max_body_size" that you can set to 0.
Feel free to have a look at [email protected], there are regular discussions on this topic
Don't worry about it, the frontends usually take care of using alternate sources if you want to:
You can read our discussion and reasoning for this here.
https://lemmyverse.net/communities
Trending communities: [email protected] (make sure you enable "Show bot posts" to see here)
If you're really looking for newly created communities...
sorted by new https://lemmyverse.net/communities?order=published
Lemmy's built in communities page sorted by new /communities?listingType=All&sort=New&page=1
We launched some threads dedicated to specific topics last month, you should find some communities that are interesting to you
Seems like 'posts' works okay, but it's 'comments' that don't (and overview is a mix of both).
API call to see posts:
curl --request GET --url 'https://lemmy.world/api/v3/user?username=beebarfbadger&sort=TopDay&page=1&limit=1' --header 'accept: application/json' | jq .posts[].post.published
=
2024-09-26T15:35:33.998368Z
(today's top post is today)
API call to see comments:
curl --request GET --url 'https://lemmy.world/api/v3/user?username=beebarfbadger&sort=TopHour&page=1&limit=1' --header 'accept: application/json' | jq .comments[].comment.published
=
2024-03-03T05:09:45.255807Z
(this hour's top comment was in March)
They probably know about it, but if not it's probably a good idea to report the bug here: https://github.com/LemmyNet/lemmy/issues
They are based in Canada, so it's still quite early for them
Pinging @[email protected] @[email protected] and @[email protected] as well
@Blaze @TheDude yeah, that instance and I emailed [email protected]
@Blaze hey, sh.itjust.work