RoundSparrow

joined 2 years ago
MODERATOR OF
[–] RoundSparrow@lemmy.ml 1 points 2 years ago* (last edited 2 years ago) (1 children)

Lemmy 0.18.x doesn't use websockets that I know, so I'm not sure why this helped.

I mentioned you are trying to use arm on GitHub... https://github.com/LemmyNet/lemmy/issues/3102

[–] RoundSparrow@lemmy.ml 7 points 2 years ago

The real war is hate media memes and messages that trickle down to those obedient to voices from the clouds, electric voices these days. In the old days, books that said burning bushes gave out signals.

[–] RoundSparrow@lemmy.ml 1 points 2 years ago* (last edited 2 years ago) (3 children)

These aren't really what you are looking for in the Firefox console. They tell you the line of code with the error, but not which page has the JSON missing itself.

I notice your server says Lemmy 0.18.0 - the current is 0.18.4 - any reason you are attempting an older version?

/api/v3/user/register

those are the kind of paths you are looking for that can't be reached and your proxy likely isn't forwarding correctly to the lemmy_server Rust app.

[–] RoundSparrow@lemmy.ml 4 points 2 years ago

Instances running lemmy-ui normally publish their list of federated and blocked: https://lemmy.ml/instances

There might be some scripts or websites out there comparing them.

[–] RoundSparrow@lemmy.ml 2 points 2 years ago* (last edited 2 years ago) (5 children)

SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data

This is an error you are getting in your web browser with lemmy-ui? Do you know how to use the console of Firefox or Chrome to look at what API call that error is coming from?

Caddy as reverse proxy, but I left nginx

Could be related to your problem... as lemmy-ui doesn't seem to be talking to the API to get JSON responses. I suggest looking at your proxy logs at the instant you press submit on the form.

[–] RoundSparrow@lemmy.ml 3 points 2 years ago (1 children)

The question seems like a misuse of the word 'federate'.

[–] RoundSparrow@lemmy.ml 2 points 2 years ago

Cool to hear, have a great weekend

[–] RoundSparrow@lemmy.ml 3 points 2 years ago

OK, solved my own issue

lemmy-ui bypasses the variable if it sees you running localhost 1234, it hard codes 8536

export default function getExternalHost() {
  return isBrowser()
    ? `${window.location.hostname}${
        ["1234", "1235"].includes(window.location.port)
          ? ":8536"
          : window.location.port === ""
          ? ""
          : `:${window.location.port}`
      }`
    : process.env.LEMMY_UI_LEMMY_EXTERNAL_HOST || testHost;
}

[–] RoundSparrow@lemmy.ml 2 points 2 years ago* (last edited 2 years ago) (2 children)

it has 40 comments total, but the problem is that when I request comments without specifying max_depth, and sort ordered by New, I receive only 10 comments, if I try to specify page, or limit, I get an error {"error":"couldnt_get_comments"}.

What values are you sending for limit and page? Are you sure they just aren't out of range?

without specifying max_depth

I think max_depth has a default, but I don't recall at the moment. Are the 10 comments you do get all trunk level comments, directly on the post?

My intention is doing something similar to an user pressing “Comments” on front of a community, like calling the community URL

From what I understand, depth only comes into play when you are viewing the comments of a specific post. If you are just listing comments across multiple posts in a community... they are presented flat. At least that is how lemmy-ui does it when I view comments for a community... which I assuming is using API /comment/list. Am I following what you are attempting?

[–] RoundSparrow@lemmy.ml 2 points 2 years ago

How am I supposed to copy everything from those communities

what exactly do you mean to copy? messages, posts and comments from other people?

Are no other servers subscribed to that community and have copies?

[–] RoundSparrow@lemmy.ml 1 points 2 years ago* (last edited 2 years ago) (3 children)

If what you want to do is “copy all my communities from current instance to new instance”,

do you mean "copy my list of subscribed communities from one user login to another user login"?

[–] RoundSparrow@lemmy.ml 2 points 2 years ago* (last edited 2 years ago) (2 children)

I have this post replicated to my own instance where I have direct SQL access: https://BulletinTree.com/comment/1318138

I'm looking at it and I see 2 deleted-by-creator that seem to be direct replies to the first comment in the branch that says 9.

The lemmy-ui I am running is off main, not the 0.18.0 branch, and I just updated it a couple days ago. But it obviously differs in exposing these, and so does my API.

EDIT: I updated my lemmy-ui to main just now again, it had changes, and still showing. Obviously my API is returning the deleted comments for not-logged-in users still... I wonder if that's because I'm running main of lemmy_server and not the 0.18.4 tag branch and they differ in behavior.

 

Same posting federated to other servers, currently:

https://sh.itjust.works/post/59798
1 vote, 2 comments

https://lemmy.ml/post/1228901
11 votes, 2 comments

https://beehaw.org/post/525078
1 vote, 0 comments

 

Seemingly abandoned for years. Thank you.

 

Seems abandoned for years

 

Can anyone get this working on Ubuntu 22.04?

I installed go1.20.5 on my system, did "make", and configured it for leemy.ml with my username and password - but it is not working. No errors that I see.

 

!lemmy_admin@lemmy.ml

I'm trying to get "Lemmy from scratch" working so I can hack on the code.

 

Example of posting I am talking about:

https://lemmy.ml/post/1165264

I can't find any way to click on the image to see it in full size to actual be able to read the text in the image. I can right-click and open the image in a new web browser tab... but it would seem ideal to be able to click on the image and see it larger.

Thank you

 

Still learning, but so far the webapp non-mobile experience seems to be that if I'm sitting on the home page looking at the listing of postings, it automatically inserts new ones at the top without me having to hit refresh.

That's different from "old Reddit", Fark, Slashdot behavior where the page output was static and a manual browser refresh is required.

Is there a preference to control this behavior so it can be a static page? I tend to revisit my web browser tabs after an hour or two and want to finish reading where I left off - and it dynamically updating goes against my desires.

Thank you.

view more: ‹ prev next ›