41
submitted 2 months ago* (last edited 2 months ago) by TankieTanuki@hexbear.net to c/technology@hexbear.net

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.

you are viewing a single comment's thread
view the rest of the comments
[-] farting_weedman@hexbear.net 2 points 2 months 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@hexbear.net 1 points 2 months ago* (last edited 2 months 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.
[-] farting_weedman@hexbear.net 3 points 2 months ago

Yeah that’s what I was thinking. Standing up openvpn especially is pretty well documented.

this post was submitted on 15 Jun 2024
41 points (100.0% liked)

technology

23099 readers
48 users here now

On the road to fully automated luxury gay space communism.

Spreading Linux propaganda since 2020

Rules:

founded 4 years ago
MODERATORS