Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)PI

XMPP/Jabber: [email protected]

Posts
10
Comments
38
Joined
2 yr. ago
Lemmy Support @lemmy.ml
pinkolik @random-hero.com

How is this possible?

I can see this community in my feed but at the same time this community can't be found. Is there something wrong with my instance?

Lemmy Support @lemmy.ml
pinkolik @random-hero.com

Has my instance been banned?

Hello everyone! I'm experiencing troubles with federation with other instance. I get a lot of operation timed out in logs

 undefined
    
Caused by:
    0: error sending request for url (https://lemmy.world/u/Ricey): operation timed out
    1: operation timed out, context: SpanTrace [{ target: "lemmy_apub::activities", name: "verify_person_in_community", file: "crates/apub/src/activities/mod.rs", line: 50 }, { target: "lemmy_apub::activities::voting::vote", name: "verify", file: "crates/apub/src/activities/voting/vote.rs", line: 57 }, { target: "lemmy_apub::activities::community::announce", name: "receive", file: "crates/apub/src/activities/community/announce.rs", line: 141 }, { target: "lemmy_server::root_span_builder", name: "HTTP request", fields: "http.method=POST http.scheme=\"https\" http.host=random-hero.com http.target=/inbox otel.kind=\"server\" request_id=5955a024-6b1e-458a-b846-156e14fe5368", file: "src/root_span_builder.rs", line: 16 }] }
2023-07-23T20:12:18.815121Z  WARN lemmy_serve
  
Fediverse @lemmy.world
pinkolik @random-hero.com

First steps after booting up my own Mastodon instance

So I have set up my own Mastodon instance and it's empty. What should I do to fill up my instance with content? And how do I do that other users of Mastodon on other instances see my "tweets" on my instance?

Lemmy Support @lemmy.ml
pinkolik @random-hero.com

How to remove my instance users from other instances

cross-posted from: https://random-hero.com/post/51002

Hello everyone! Recently I have removed a couple of bot users from my Lemmy instance via DB query (I removed them from person table). Those bots were subscribing to hundreds of communities on other instances which I don't really want to spend resources on fetching new posts and updates.

I have purged those communities from my instance but they keep reappearing. As far as I can tell, this happens because other instances still "think" that users from my instance (bots, which don't exist already) are still subscribed, and therefore send updates to my instance.

How can I completely get rid of those communities?

  • The thing is I've never been subscribed to those. Probably it was those bots who subscribed to those communities. And since I already deleted them from person table, I don't know what I can do about it. Is there a way to globally send unsubscribe requests? I even tried removing community first and then purging

  •  undefined
        
    [pinkolik@acer-laptop ~]$ speedtest-cli
    Retrieving speedtest.net configuration...
    Testing from Unknown (x.x.x.x)...
    Retrieving speedtest.net server list...
    Selecting best server based on ping...
    Hosted by SDHD Hosts (x) [x km]: 87.342 ms
    Testing download speed................................................................................
    Download: 47.72 Mbit/s
    Testing upload speed......................................................................................................
    Upload: 49.01 Mbit/s
    
      
  •  undefined
        
    [pinkolik@acer-laptop ~]$ cat /etc/xdg/reflector/reflector.conf 
    # Reflector configuration file for the systemd service.
    #
    # Empty lines and lines beginning with "#" are ignored.  All other lines should
    # contain valid reflector command-line arguments. The lines are parsed with
    # Python's shlex modules so standard shell syntax should work. All arguments are
    # collected into a single argument list.
    #
    # See "reflector --help" for details.
    
    # Recommended Options
    
    # Set the output path where the mirrorlist will be saved (--save).
    --save /etc/pacman.d/mirrorlist
    
    # Select the transfer protocol (--protocol).
    --protocol https
    
    # Select the country (--country).
    # Consult the list of available countries with "reflector --list-countries" and
    # select the countries nearest to you or the ones that you trust. For example:
    # --country France,Germany
    
    # Use only the  most recently synchronized mirrors (--latest).
    --latest 5
    
    # Sort the mirrors by synchronization time (--sort).
    --sort age
    [pinkolik@acer-laptop ~]$ cat /etc/pacman.d/mirrorlist
    ################################################################################
    ################# Arch Linux mirrorlist generated by Reflector #################
    ################################################################################
    
    # With:       reflector @/etc/xdg/reflector/reflector.conf
    # When:       2023-07-22 13:21:47 UTC
    # From:       https://archlinux.org/mirrors/status/json/
    # Retrieved:  2023-07-22 13:21:47 UTC
    # Last Check: 2023-07-22 13:16:12 UTC
    
    Server = https://london.mirror.pkgbuild.com/$repo/os/$arch
    Server = https://mirror.ubrco.de/archlinux/$repo/os/$arch
    Server = https://archlinux.mailtunnel.eu/$repo/os/$arch
    Server = https://mirror.f4st.host/archlinux/$repo/os/$arch
    Server = https://mirror.tmmworkshop.com/archlinux/$repo/os/$arch
    [pinkolik@acer-laptop ~]$ 
    
      
  • Thanks! That's exactly what I was looking for :) I have two questions though.

    1. Should I stop lemmy before running this script?
    2. -- Easiest way to disable triggers for a transaction. If you know of a better way, please share. SET session_replication_role = replica; How do I enable it back?
  • Arch Linux @lemmy.ml
    pinkolik @random-hero.com

    Pacman slow download speed

    Hello everyone!

    I'm experiencing troubles when installing and updating dependencies via pacman, download speed is waaay too low like 30-40 kb/s. I've tried reflector and rank-mirors, I even moved mirrors from another machine where everything works well but nothing helped.

    As far as I can tell it's not a slow internet connection problem, because when I download torrents the speed is good (up to 7 megabytes per second).

    How can I troubleshoot this?

    Thanks!

    Lemmy Support @lemmy.ml
    pinkolik @random-hero.com

    Can't purge communities

    Hello everyone!

    Recently my instance have become a target of community subscribers bots, which subscribed my instance to hundreds of communities. I've deleted all those bot accounts manually and enabled captcha and application for registration.

    Then I stopped all containers except for lemmy-postgres and ran a following query to purge all empty communities

    delete from community where id in (select community_id from community_aggregates ca where ca.subscribers = 0 for update skip locked);

    At first I thought that it worked because all communities and related posts have disappeared, but when I started all the other containers, lemmy for some reason again started adding back those communities with 0 subscribers to my database.

    What am I doing wrong? How do I purge them? Also, I would appreciate on any guide how to remove all dangling images (which don't have any reference from db) in pict-rs.

    Thanks!

    Lemmy Support @lemmy.ml
    pinkolik @random-hero.com

    Why do random communities appear on my instance?

    There have appeared hundreds of communities on my instance I have never searched. Where do they come from? Is it some spam attack? How do I prevent this, and how do I get rid of them?

    XMPP @slrpnk.net
    pinkolik @random-hero.com

    Why does Lemmy promote Matrix but not XMPP?

    I mean both of those protocols serve similiar purpose, both are federated and both considered secure. So why can't I have an XMPP address in my profile instead of Matrix? Or are there any reasons why Matrix "works" better with lemmy?

    Liftoff! @lemmy.world
    pinkolik @random-hero.com

    Troubles searching new communities

    Hello! When I try to find a new community that hasn't been searched before on my instance via Liftoff, nothing shows up even after multiple attempts. However, when I do the same via usual browser, everything works fine. Does anyone know how to solve that? Other than that I love using Liftoff

    Selfhosted @lemmy.world
    pinkolik @random-hero.com

    Is it possible to change lemmy's domain?

    Is it possible to change lemmy's domain after I have already started it once and produced some content? I am thinking of moving to a subdomain but I'm not sure if it will go smoothly