help-circle
rss
  • Jonny
  • 5 hores
Issue with syncing Comments of a Comment
Hi, I have a weird behaviour of Syncing Comments. According to the [Troubleshoot](https://join-lemmy.org/docs/en/administration/troubleshooting.html#other-instances-cant-fetch-local-objects-community-post-etc) section for testing synchronisation, it should be possible to retrieve comments via: `curl -H "Accept: application/activity+json" https://your-instance.com/comment/123 # the id of a local comment` That works for Comments which are **direct** responses to a post, e.g. The response https://lemmy.ml/post/421708/comment/253216 (shortcut url: https://lemmy.rimkus.it/comment/1701) can be successfully retrieved via: `curl -H "Accept: application/activity+json" https://lemmy.rimkus.it/comment/1701` **But** The Answer Comment to that Comment: https://lemmy.ml/post/421708/comment/253238 (Shortcut url: https://lemmy.ml/comment/253238) **can not be retrieved** via : `curl -H "Accept: application/activity+json" https://lemmy.ml/comment/253238` This leads to the issue that these Comments are not synced to **my** instance https://lemmy.rimkus.it. Is it a known issue? Can I do anything to get Response Comments to Comments Synced to my instance? Thanks in advance Jonny
fedilink

404 Fetch Error - Environment Variables
Hi, 1. I previously forked lemmy-ui, to help expand it (at version 0.15.3). 2. This week, I merged upstream changes from the official lemmy-ui (version 0.16.7). 3. Now I’m getting this error when visiting the live site: `404: FetchError: request to http://0.0.0.0:8536/api/v3/site` > ^ That URL is derived from `const testHost = "0.0.0.0:8536";` in *env.ts* [confirmed by changing the string value] ** ****POSSIBLE CAUSE and QUESTION**** Perhaps this error can be solved by using the new Environment Variables. If so, where do we input those new Environment Variables? > [so far I’ve tried adding them in docker-compose.yml. Also tried adding them in a new .env file] ** ****MORE INFO**** These are the new Env Variables I'm referencing (from the new Lemmy-UI [ReadMe](https://github.com/LemmyNet/lemmy-ui#readme)): - LEMMY_UI_LEMMY_INTERNAL_HOST - LEMMY_UI_LEMMY_EXTERNAL_HOST - LEMMY_UI_LEMMY_WS_HOST They are consumed by *env.ts*. For example, at line 30: `externalHost = process.env.LEMMY_UI_LEMMY_EXTERNAL_HOST || testHost;` > ^ the Env_Var will replace the `testHost` default. ** Thank you for reading. I will attempt any ideas. [Here are my Docker logs for reference](https://privatebin.at/?00ba3aa07ac25392=#2KLDRupD1hUL8LE5qjLN2KCj8hdzLQ2fP9Kto5gVeyqw) (starting at server reboot). Running: Lemmy 16.6
fedilink

[RESOLVED] Our Beehaw instance is experiencing a problem that we can't identify
Over just 14 days our physical disk usage has increased from 52% to 59%. That's approximately 1.75 GB of disk space being gobbled up for unknown reasons. At that rate, we'd be out of physical server space in 2 -3 months. Of course, one solution would be to double our server disk size which would double our monthly operating cost. The 'pictrs' folder named '001' is 132MB and the one named '002' is 2.2GB. At first glance this doesn't look like it's an image problem. So, we are stumped and don't know what to do.
fedilink

I finished the hungarian translation of Lemmy
Hello, I finished the hungarian translation on Lemmy Weblate page: [https://weblate.yerbamate.ml/projects/lemmy/lemmy/hu/](https://weblate.yerbamate.ml/projects/lemmy/lemmy/hu/) One of Dev can put back the hungarian language in Lemmy? Thanks. I will correct the strings if something is not accurate on the frontend.
fedilink

Where is Lemmy UI files on server?
Maybe it's a dumb question, but sorry, I'm not a dev, I just play and learn with Lemmy on my vps in my free time. Can I ask where can I find Lemmy ui files after Docker install?
fedilink


Hosting lemmy with Caddy v2 and Docker
Hello, I want to host my own lemmy instance but instead of using Nginx as a reverse proxy I want to use Caddy as a reverse proxy since it is easier. Sadly I am still learning how to use it and lemmy is putting me in hard position. Does anybody know how can I do it? Thanks in advance! ::: spoiler spoiler Edit: I have around $1,30 in Monero (at least it was that much a week or two before) if any helps me I am going to give it to him. :::
fedilink

How do I delete a picture?
After uploading a picture there is a popup that lets you delete the picture. But after that is gone I don't know how to do it.
fedilink

Bad UX for replies
Sometimes when you hit reply, it doesn't save. Then you go on to do other things and everything you wrote is lost. Sometimes you have to hit reply 2,3 or even more times for it to actually do it. This is complete insanity and bad UX.
fedilink

Is there a way to audit activity on small instances / to get notified of reports of local users?
I just noticed that my instance lemmy.mesh.party is on the block list for lemmy.ml, which explains why I haven't been seeing any updated posts for about a month. As far as I know I haven't noticed any bad behavior in the couple default communities I created there, but there doesn't seem to be a way to check up on local user's activity elsewhere - I assume the block has to do with someone signing up and trolling, but I'm not sure how to stay in the loop so I can take action before getting blocked by other instances. Is there any way to get better visibility into this or get alerted when local users are creating reports / bans / problems for other instances?
fedilink

Blocked users
I blocked a spam user but they still show up in my inbox. Update: a blocked user's direct message notification was not removed from my inbox. Comments were, so presumably this is a bug.
fedilink

Is there a 100% reliable way of linking to a single comment? The GUI links behave in unexpected ways
Hi, I need to be able to open a single comment on top of the window, like a permalink (I'm creating a hypertext game on lemmy), but the two link methods available in the GUI doesn't behave like they should. * The first "link" button doesn't act like a permalink at all when there are nested comments above it, I don't know why (on Firefox 91.10.0es), but sometimes it just shows some nested comments above instead of the actual comment itself * The second "link" button just end on a 404 page. How is this one supposed to work ? So I was wondering if there is another way of displaying only a single comment by its id, but looking at the HTML dom it doesn't seem like comments have unique ids ? Hope someone can answer :) ----- **Edit** : I checked in another browser, still the same issue. Also this problem is happening with non-nested comments too, the first link to a comment is not reliable and shows random content on the page, but this seems to be happening only when the comments count begins to be high under a post (more than twenty or so? cannot say exactly)
fedilink

[Solved] User name and community name clash caused federation issues
I am commenting with my [@humanetech@lemmy.ml](https://lemmy.ml/u/humanetech) account on https://lemmy.ml/post/346923 Then from mastodon.social several weird behavior: - Searching on https://lemmy.ml/post/346923 doesn't find anything. - Searching on @fediversefutures doesn't find anything (though search on @fediversefutures@lemmy.ml does) - When opening @fediversefutures profile in the timeline, I do not see my [@humanetech@lemmy.ml](https://lemmy.ml/u/humanetech) comments. - But I do see comments from other lemmy.ml accounts replying to the same post. - When I click such reply, the thread loads minus my own replies, and minus my top-level post, which isn't in the timeline for @fediversefutures either when viewing from Mastodon UI (using my [@humanetech@mastodon.social](https://mastodon.social/users/humanetech) account). **Update** Thanks to some great help of [@LemmyDev@mastodon.social](https://mastodon.social/users/LemmyDev) in [this toot](https://mastodon.social/@LemmyDev/108730171841203247) I found out that my account was broken, because someone had later on created a community with the same name. There are open issues to handle such cases: - https://github.com/mastodon/mastodon/issues/17008 - https://github.com/LemmyNet/lemmy/issues/1922 Since the community was inactive LemmyDev deleted it, and my account works again
fedilink

  • Jonny
  • edit-2
    un mes
strange warnings in lemmy logs
Hi, I see following errors in my lemmy logs on my own instance lemmy.rimkus.it: `lemmy_1 | 2022-07-05T08:06:03.416701Z INFO HTTP request{http.method=POST http.scheme="https" http.host=lemmy.rimkus.it http.target=/inbox otel.kind="server" request_id=57a27d45-23be-41f2-966c-f356df0c3618}:shared_inbox: lemmy_apub::http: Received shared inbox activity {"@context":["https://www.w3.org/ns/activitystreams",{"stickied":"as:stickied","pt":"https://join-lemmy.org#","sc":"http://schema.org#","matrixUserId":{"type":"sc:Text","id":"as:alsoKnownAs"},"sensitive":"as:sensitive","comments_enabled":{"type":"sc:Boolean","id":"pt:commentsEnabled"},"moderators":"as:moderators"},"https://w3id.org/security/v1"],"actor":"https://lemmy.ml/c/linux","to":["https://www.w3.org/ns/activitystreams#Public"],"object":{"actor":"https://lemmy.ml/u/Raysun96","to":["https://lemmy.ml/c/linux"],"object":"https://lemmy.ml/post/341373","cc":["https://www.w3.org/ns/activitystreams#Public"],"type":"Like","id":"https://lemmy.ml/activities/like/18818647-b6ac-42df-a875-24d5b623ce1b"},"cc":["https://lemmy.ml/c/linux/followers"],"type":"Announce","id":"https://lemmy.ml/activities/announce/1c2fb16a-126a-49e0-bcf3-9c8a3c8435cd"} lemmy_1 | 2022-07-05T08:06:03.433116Z WARN Error encountered while processing the incoming HTTP request: lemmy_server::root_span_builder: error:0909006C:PEM routines:get_name:no start line:../crypto/pem/pem_lib.c:745:Expecting: PUBLIC KEY lemmy_1 | 0: lemmy_apub::http::receive_activity lemmy_1 | at crates/apub/src/http/mod.rs:79 lemmy_1 | 1: lemmy_apub::http::shared_inbox lemmy_1 | at crates/apub/src/http/mod.rs:41 lemmy_1 | 2: lemmy_server::root_span_builder::HTTP request lemmy_1 | with http.method=POST http.scheme="https" http.host=lemmy.rimkus.it http.target=/inbox otel.kind="server" request_id=57a27d45-23be-41f2-966c-f356df0c3618 http.status_code=400 otel.status_code="OK" lemmy_1 | at src/root_span_builder.rs:16 lemmy_1 | LemmyError { message: None, inner: error:0909006C:PEM routines:get_name:no start line:../crypto/pem/pem_lib.c:745:Expecting: PUBLIC KEY, context: "SpanTrace" } ` and when I try to follow a peer tube instance I see: `lemmy_1 | 2022-07-05T08:07:05.628234Z INFO Websocket Request{trace_id=00000000000000000000000000000000}:perform{self=FollowCommunity { community_id: CommunityId(3), follow: true, auth: Sensitive }}:send:send_lemmy_activity: lemmy_apub::activities: Sending activity https://lemmy.rimkus.it/activities/follow/40d7fc09-90fd-45bb-9353-aa45292dc3ce lemmy_1 | 2022-07-05T08:07:05.632872Z INFO Websocket Request{trace_id=00000000000000000000000000000000}:perform{self=FollowCommunity { community_id: CommunityId(3), follow: true, auth: Sensitive }}:send:send_lemmy_activity: lemmy_apub_lib::activity_queue: Activity queue stats: pending: 0, running: 1, dead (this hour): 0, complete (this hour): 0 lemmy_1 | 2022-07-05T08:07:05.634677Z INFO lemmy_apub_lib::activity_queue: Sending https://lemmy.rimkus.it/activities/follow/40d7fc09-90fd-45bb-9353-aa45292dc3ce to https://mp-tube.de/video-channels/news/inbox lemmy_1 | 2022-07-05T08:07:05.791886Z WARN background_jobs_core::processor_map: Job errored: Processing(Send https://lemmy.rimkus.it/activities/follow/40d7fc09-90fd-45bb-9353-aa45292dc3ce to https://mp-tube.de/video-channels/news/inbox failed with status 403 Forbidden: {"type":"about:blank","title":"Forbidden","detail":"Invalid signature","status":403,"actorUrl":"https://lemmy.rimkus.it/u/ravermeister","error":"Invalid signature"}) ` are they related? does lemmy use public/private keys for a user? and are they somehow "broken"? would be really cool if someone could help to investigate. By the way I use the Installation Guide for [Docker](https://join-lemmy.org/docs/en/administration/install_docker.html) and already dropped the old db/pictrs data and re-created my instance with blank data folders. But the errors stay the same. Thanks in advance :)
fedilink

Keyboard Shortcuts
Is there any hope of getting keyboard shortcuts? If nothing else ctrl+enter is strange to do without.
fedilink

Why are there two of me?
’ve got one …/u/lxvi and another …/u/lxvi@lemmygrad.ml One of them on my PC. One of them on my Phone. When I first switched over to lemmy.ml I made the account once. I made it on my PC. When I signed into my account on my phone it created another instance. Same username. Same Password. Two Accounts. As far as I can tell there’s no way to abandon one for the other… If I’m on my PC it has to be on this account. If I’m on my phone it has to be the other. Same credentials.
fedilink

Login doesn't work on macOS Safari
Logging into lemmy.ml from Safari (15.5) on macOS (12.4) fails. JavaScript log shows a number of refusals to load content that "do not appear in the connect-src directive of the Content Security Policy". The actual JavaScript problem is an undefined 'this': ``` [Error] TypeError: undefined is not an object (evaluating 'this.ws.send') (anonymous function) (client.js:2:939924) n (client.js:2:1557798) Pe (client.js:2:141451) (anonymous function) (client.js:2:766722) (anonymous function) (client.js:2:766739) (anonymous function) (client.js:2:766739) a (client.js:2:765675) (anonymous function) (client.js:2:767105) a (client.js:2:765980) (anonymous function) (client.js:2:767105) (anonymous function) (client.js:2:766739) a (client.js:2:765980) (anonymous function) (client.js:2:767407) (anonymous function) (client.js:2:766739) (anonymous function) (client.js:2:766739) (anonymous function) (client.js:2:766739) (anonymous function) (client.js:2:1733164) (anonymous function) (client.js:2:1733279) (anonymous function) (client.js:2:1733424) Global Code (client.js:2:1733428) ``` This failure is relatively recent. Login worked from Safari at least a month ago. Not sure if the problem started with a change in Safari or a change in Lemmy.
fedilink

How do I quote something, linking to the original source?
Quoting only shows a vertical arrow next to the text. How could I link to the original source of the quote?
fedilink


  • @spla
  • 2 mesos
Update error from 0.16.3
Following official instructions for Docker and when I run 'docker-compose up -d' it throws this error: Pulling lemmy (dessalines/lemmy:0.16.5)... 0.16.5: Pulling from dessalines/lemmy ERROR: no matching manifest for linux/amd64 in the manifest list entries
fedilink

Support / questions about Lemmy.

  • 0 users online
  • 2 users / day
  • 12 users / week
  • 23 users / month
  • 129 users / 6 months
  • 3 subscribers
  • 232 Posts
  • 906 Comments
  • Modlog
Lemmy
A community of leftist privacy and FOSS enthusiasts, run by Lemmy’s developers

What is Lemmy.ml

Rules

  1. No bigotry - including racism, sexism, ableism, homophobia, or xenophobia. Code of Conduct.
  2. Be respectful. Everyone should feel welcome here.
  3. No porn.
  4. No Ads / Spamming.

Feel free to ask questions over in: