Hi, i’m into programming, sexual transmutation and psychedelics!

  • 16 Posts
  • 70 Comments
Joined 1 year ago
cake
Cake day: June 13th, 2023

help-circle
  • dontblink@feddit.itOPtoSelfhosted@lemmy.worldHDD randomly unmounting
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    8 hours ago

    Thank you so much for taking the time to answer!

    I’m not sure how to get the N from session history, nor how to check my session history…

    but this might be some relevant output I’ve found with journalctl -k -b

    Nov 21 16:08:18 rpi kernel: usb 2-2.1-port2: cannot reset (err = -110)
    Nov 21 16:08:19 rpi kernel: usb 2-2.1-port2: cannot reset (err = -110)
    Nov 21 16:08:19 rpi kernel: usb 2-2.1-port2: Cannot enable. Maybe the USB cable is bad?
    
    Nov 21 16:41:57 rpi kernel: I/O error, dev sdb, sector 2466347032 op 0x0:(READ) flags 0x3000 phys_seg 1 prio class 2
    Nov 21 16:41:57 rpi kernel: EXT4-fs warning (device sdb1): ext4_dx_find_entry:1796: inode #75497968: lblock 42: comm apache2: error -5 reading directory block
    Nov 21 16:41:57 rpi kernel: EXT4-fs error (device sdb1): ext4_journal_check_start:83: comm apache2: Detected aborted journal
    Nov 21 16:41:57 rpi kernel: Buffer I/O error on dev sdb1, logical block 0, lost sync page write
    Nov 21 16:41:57 rpi kernel: EXT4-fs (sdb1): I/O error while writing superblock
    Nov 21 16:41:57 rpi kernel: EXT4-fs (sdb1): Remounting filesystem read-only
    
    

    The output is from yesterday, when the device stopped working correctly.

    I’m not familiar with linux kernel, but I can see there is definitely something wrong…

    The HDD (old) is attached to a USB hub (new), I tried switching port of the hub but the same issue happened again, if I try to mount it with sudo mount /mnt/2tb, it says it is already mounted:

    mount: /mnt/2tb: /dev/sdb1 already mounted on /mnt/2tb.
           dmesg(1) may have more information after failed mount system call.
    
    

    sudo dmesg | grep sdb gives back:

    [147776.801028] I/O error, dev sdb, sector 77904 op 0x0:(READ) flags 0x3000 phys_seg 1 prio class 2
    [147776.815452] EXT4-fs warning (device sdb1): htree_dirblock_to_tree:1083: inode #2: lblock 0: comm ls: error -5 reading directory block
    [147796.731734] sdb1: Can't mount, would change RO state
    










  • I mean theoretically if you are hosting your own chat server, for example on Matrix, you can easily make all the chats unaccessible from the clients by issuing a command to shutdown your server or simply the chat server service if there’s no content cached locally.

    I think you can do this pretty easily with a raspberry pi by connecting via ssh…

    Just use a shell script that changes the static ip to something else after the command to shutdown the service/wipe out the data (depending on what your goal is) has been issued, or use a vpn or something like that if possible, because anyone issuing the command would need to know your server ip.

    And issuing a command by ssh to a remote server both from smartphone or pc should be as easy that you can actually build a very small app for that, or use some app that creates shortcuts that directly connects and issue custom commands.

    That way you are forced to give people your new ip every time chats become unaccessible/deleted and someone can’t connect back even if wanting to without talking to you, unless you decide you can use the older ip for whatever reason.

    Of course not using your real ip but using some service like a vpn or proxy (or tor?) would be much better here, but i don’t really know how.

    That can give you full power on the chat history and create the said “panic button” for every client involved.






  • The RSS feature is amazing, i wanted to do something like that with RSS Bridge, but it looks like both Instagram and Facebook are doing their best to block exactly these kind of things, so it works half of the times and it needs to be fixed quite often, i think now it doesn’t work very well either… Also it is very complicated to be set up if you don’t know a bit of PHP. Of course i’m willing to learn but all this blocking that projects like this (see Barinsta or Bibliogram) get is really discouraging. I think Meta content is probably one of the worst to scrape.

    Regarding Proxygram: for now it works, i’m using a public istance to grab some RSS feeds, if it proves to be reliable i will be happy to host my own istance as well, if possible :) It’s sometimes slow to grab data (i guess because sessions get easily blocked/limited, getting error 500) but not really a problem as i just want to see new events every couple of days, one issue tho is that the RSS doesn’t show all the posts (only showing the last three of them), which can be annoying as you may lose something if you don’t see it and save it.

    EDIT: It actually does get other posts as well, just reaaally slowly, meaning that if you follow really large accounts in a week or so you can find your feed full of older posts marked as unread.

    Anyway thanks to whoever is making the hard job of building/owning an instagram scraper, I really know it can be tough.




  • Not necessarily, of course open source is better, but i really just want something that gives me power over the content i can see, this is usually what happens in open source, that’s why i posted here, but im open to closedsource solutions. I didn’t know of the existence of modded stuff like this. How can they mod a closed source app? Are they partner with instagram? How does it work? Do they just scrape content like anyone else? How are they not getting banned like other scraper apps?