this post was submitted on 31 Jul 2023
16 points (94.4% liked)

Lemmy Support

4634 readers
2 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS
 

I have setup the Lemmy backend but I can't see the backend running just only json is displaying. Lemmy ui is also setup properly but with very limited features. See the attached screenshot of the backend. I run "cargo run" command to start the Lemmy Backend

top 12 comments
sorted by: hot top controversial new old
[–] [email protected] 6 points 1 year ago* (last edited 1 year ago) (1 children)

The lemmy backend doesn't have a UI, all it talks is JSON through APIs. That's what lemmy-ui is for, it's the UI that goes on top. It's also why the default setup overlays it on top of the backend: they're meant to work together where the UI handles browser requests, but if it's a JSON/API request then it goes to the server instead. They provide the same data in different formats on the same URLs.

[–] [email protected] 2 points 1 year ago (2 children)

@max-P thanks for the quick reply. but please tell me how can I manage my users the lemmy-ui has limited features.

[–] [email protected] 4 points 1 year ago (1 children)

You just go directly to the user's page, and from there you can do things like ban/delete/purge.

As for communities, you can promote users to moderators via the 3 dots overflow menu once they have posted/commented on a community.

Otherwise, there just isn't really a user management page or system. It's a bit clunky but that's how it works at the moment.

[–] [email protected] 1 points 1 year ago (1 children)

You just go directly to the user’s page, and from there you can do things like ban/delete/purge.

I've created a test account, but emails didn't work to verify and now I have an account I can't resend verification and there isn't a purge button.

How exactly do you purge a user?

[–] [email protected] 1 points 1 year ago (1 children)

It's a little bit clunky, you don't have anything on the user's page but if the user has any posts you can click the 3dots menu and it's there.

If the user has no posts you may need to delete from the database directly for now. There might be an API but I'm not familiar with Lemmy's API.

[–] [email protected] 1 points 1 year ago

but if the user has any posts

They are unverified, they can't have posts.

If the user has no posts you may need to delete from the database directly for now.

Do you know by any chance how to do this in a clean way, because I tried and there have been restovers.

[–] [email protected] 4 points 1 year ago (1 children)

What would you like to manage?

If you know SQL, you can view your users in the database directly.

[–] [email protected] 2 points 1 year ago (1 children)

I actually manage my users like wants to see which user subscribed to the community, randomly send alerts to users, etc.

I am very much familiar with SQL queries, but it is hard to run queries all the time.

[–] [email protected] 2 points 1 year ago

randomly send alerts to users

typically you make yourself moderator of a community or as admin of a site you can feature a post, make it appear at the top of the listing

[–] [email protected] 4 points 1 year ago (1 children)

You… can’t. Well only directly via the database if you really want to…

[–] [email protected] -1 points 1 year ago (1 children)

It is a big portal.....it should have the backend

[–] [email protected] 3 points 1 year ago

Management of an instance is very limited and incorporated in the frontend.

I am not a good enough developer to make PR’s to the open source codebase, but someone reading this might be…

I think a replacement of the banned user list by a list of the users on your own instance might help a lot. Makes it easier to navigate to your users and individually manage them (with the tools already available).

However this might scale badly for large instances.