Your answer could potentially help me un-fuck my website!

Details here.


Edit: The total capacity is currently 160 GB, so no amount of pruning will free up 1 TB. I need to mount an external share or something.


Edit2: I’m trying this but the command isn’t working despite zero exit status.

        • TankieTanuki [he/him]@hexbear.netOP
          link
          fedilink
          English
          arrow-up
          6
          ·
          edit-2
          14 days ago

          Storage isn’t one of the things the sell on their business page but yeah, maybe their team can rig up something for a fee. It’s worth a shot.

          • Awoo [she/her]@hexbear.net
            link
            fedilink
            English
            arrow-up
            6
            ·
            edit-2
            14 days ago

            Some of these companies can be really good, others can be like “no”. InmotionHosting support were the primary reason I used them despite being slightly more expensive because their support would literally help with any issue even ones no other company would, and they would do stuff like give free storage for a problem like this. At one point I was using like 21TB of space on their service and really testing the limitations of “unlimited storage” they offered on their plan and they were totally cool with it even though I was clearly taking the piss a little. The only thing they held me to was that all things being stored on it had to be frontend accessible.

              • Awoo [she/her]@hexbear.net
                link
                fedilink
                English
                arrow-up
                2
                ·
                edit-2
                14 days ago

                No like physically used as part of the website. Not just sitting on the server that the website was on without actually being in use on the website itself.

                At the time what we were doing was archiving all pictures and video from a very very large and active discord. These were then searchable, you could see who posted what pictures and video, in what order historically, even sort by total number of reacts.

                I don’t like the fact that discords buries all media for guilds and communities behind a god awful chat. So many screenshots and videos and all kinds of media are just buried in discord, extracting JUST the media and making it viewable and searchable by user etc preserves genuinely emotionally sentimental content. Things like that time a group of friends defeated their first dungeon together and stuff like that deserves to not get forgotten about never to be found ever again somewhere in the depths of a discord server.

                Also I am a hoarder.

  • PaX [comrade/them, they/them]@hexbear.net
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    14 days ago

    I have been in similar situations before and there is no easy answer agony-wholesome

    I have no idea how Peertube works but if you’re on Linux you might be able to turn on filesystem compression… but if the data you’re storing is already compressed (like video) that probably won’t help very much

    You could try sshfs like you mentioned in your post but it might be unreliable :( , maybe you could try NFS or even mount remote storage over Plan 9 protocol

      • PaX [comrade/them, they/them]@hexbear.net
        link
        fedilink
        English
        arrow-up
        5
        ·
        14 days ago

        Unlimited destruction upon NAT qin-shi-huangdi-fireball

        Do both hosts have internet connection via IPv6? You could try this over IPv6, usually no NAT, but your ISP might do some kind of firewalling

        You could also probably put up a Wireguard (VPN) connection between them since the webserver is not behind NAT

        Or also “forward a port” if you have access to the NATing router between your PC and webserver

  • Findom_DeLuise [she/her, they/them]@hexbear.net
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    14 days ago

    You probably have some archival shit under /var/log that you can prune. I will usually go level-by-level running du -sh {PARENT_PATH}/* to narrow things down one level at a time until I find the offender. Check under /opt and user home dirs, too. Otherwise, you’re probably stuck adding another disk or pushing data out to an S3 bucket.

  • farting_weedman [none/use name]@hexbear.net
    link
    fedilink
    English
    arrow-up
    2
    ·
    14 days ago

    Stop the service that’s doing the thing causing you a problem.

    Fix the thing you screwed up

    Restart the fixed service that was causing the problem

    What could possibly go wrong?

    In this case, and I’m making wild assumptions because I don’t have a peertube instance to play with, stop peertube, connect your local system up to it with a vpn to traverse your nat, mount some volume in the local system as the remote systems target for the file system move, then start peertube back up and see if it starts filling your local drive with some data.

    • TankieTanuki [he/him]@hexbear.netOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      14 days ago

      When I made the wrong command, the application registered hundreds of move jobs in its database. The developer said there is no way to cancel the jobs. If I restart peertube.service then it will notice the incomplete jobs and immediately resume them. I think I’m going to use btrfs next time so I can take a system snapshot before executing risky server commands.

      connect your local system up to it with a vpn to traverse your nat

      I need a little more detail on this. Here’s my takeaway:

      1. Host an (e.g.) OpenVPN server on the webserver, after creating the proper certificate infrastructure.
      2. Connect as client from home PC.
      3. VPN Success. Now I can access each other on the local subnet that starts with a 10. or something.
      4. Mount home PC’s NFS share on the webserver.
  • Sickos [they/them, it/its]@hexbear.net
    link
    fedilink
    English
    arrow-up
    1
    ·
    14 days ago

    So if I’m reading this right, the issue is going to be that when you revive peertube, it’s going to resume trying to move stuff? Is it running in a container or directly on that machine?

    • Sickos [they/them, it/its]@hexbear.net
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      14 days ago

      If I’m understanding this correctly, and keep in mind I know nothing of peertube, I’m just an old coder tearing through their source, you could break your config. Configure it not to use object storage and restart. If can’t find the storage it’s trying to move stuff from, it can’t move that stuff.

      OBJECT_STORAGE: { ENABLED: config.get<boolean>('object_storage.enabled'),