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.
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.
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.
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.
The question seems like a misuse of the word 'federate'.
Cool to hear, have a great weekend
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;
}
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?
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?
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"?
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.
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