To any comrade who has requested an account on TankieTube: Sorry for ignoring you! I plan to accept all your applications (anyone from Hexbear or Lemmygrad is welcome), but I need to do some things first.
I’m working as fast as I can to configure the server to allow more users and videos but my brain is the size of a walnut and my paws can barely reach the keyboard so technology is difficult for me. I unveiled the PeerTube instance last Friday (a little prematurely) in an attempt to help comrade @[email protected] with movie night.
Edit 1: Technical details:
-
According to comrade @[email protected], our CyTube instance needs an update before it’s compatible with PeerTube for movie nights. Something about RC 3.9 (I’m assuming that’s the version number but maybe it’s a dependency idk)?Done! -
The server’s storage is currently limited to the 50 GiB partition on which it runs. This is the main problem. I’m trying to configure S3 object storage for proper scalability but it’s something I’ve never done before.
-
Email notifications aren’t working yet. That means you won’t get an email when I’ve approved your account, so just watch this space or try to log in in a couple days from now. That also means it can’t yet do automated password resets.
Apparently PeerTube wants me to use something called Sendmail but I’d rather send the emails from the server’s localhost because I don’t want to pay money for some stupid app and because emails are already working for the GNU CLI mail utilities so it should also work With PeerTube—why isn’t it working with PeerTube!?I’m dumb. Sorry for slandering sendmail. Smarter comrades are currently walking me through this stuff -
I got a tremendous deal on a VPS in the Netherlands with a 10 gigabit connection for about $15/mo.
-
Although the network speed is great, the CPU power is limited, so expect post-upload video transcoding to take quite a bit more time than it does for Vimeo or YouTube. I’m trying to improve this by tweaking parameters but currently it takes longer than the video’s runtime to be processed
-
It’s running on Arch (btw)
It’s running on Arch (btw)
I’d recommend using a debian host running a peertube container given how many people are probably gonna want to attack this box.
I’ve been burned by arch updates one too many times to recommend using it for anything but bleeding edge fuck around desktops.
I have a borderline ASD-like obsession with Arch. I realize I’m bucking the conventional wisdom by using it as a webserver, but I’m part of a bold new clique that believes the distribution is not just for breakfast anymore. I’ve been using it exclusively on every device except my smartphone for the past nine years and I wrote a whole library of scripts to work in it. I’m also obsessed with
ssh
andiptables
hardening for the reason you specified. I have been burned by updates a few times, but every one of those issues has been something related to video drivers. I’ve never had a problem with any of the more “core” packages that are used by a webserver. I also take a btrfs snapshot before every system upgrade so I can quickly restore the filesystem in the event of a borked update.ironic, I use arch exclusively on my smartphone
I do like it, seems like it would mostly just work for servers if kept well patched, though it is true that debian stable will probably be more secure against novel attacks. I don’t love it for my laptop I don’t think though, I’m a little baby who doesn’t want to do a bunch of configuration and theming, and (tbf quite a while ago) the last time I ran arch on a laptop the default WM settings for whatever WM I tried was very sparse
Wow, I thought Linux on smartphones was infeasible! Can it be installed on a rooted android? How is the battery management?
Waitaminute… I thought Arch was for x86 architecture only… don’t smarthpones use ARM?
Arch are in fact being dicks about supporting arm officially (which is silly, with aarch64 servers being so widespread now, plus things like rpi, though I get that its not a nice consistent platform like x86, its more liable to vary wildly from device to device). Officially, what I’m using is Danctnix, which is an offshoot run by like one or two people, of arch linux ARM, which is not a part of Arch proper, per-se. https://archlinuxarm.org/
I’ll be honest it is a mess in a lot of ways, but I am daily driving it, for like 6 months now. I run it on a pinephone pro, so dedicated hardware, but I got it used cheap, and a select few android phones can run a similar stack I believe (linux + wayland + phosh or sxmo). last I heard the OP6 was one of the best supported android devices (postmarketOS wiki is a good resource for device compatibility, though not perfectly up to date. pmOS is another mobile-focused distro based on Alpine iirc): https://wiki.postmarketos.org/wiki/OnePlus_6_(oneplus-enchilada)
dualbooting postmarketOS and divestos with my fajita has been great! I also run Arch on my pinephone, but it’s hardware is a weakness. I really like the hardware switches though, I wish more phones had them.
yeah it sucks how proprietary and up its own ass the arm soc market is because I would love a pinephone with a more modern SoC than 2016…
never seen divestos, sounds neat. I like the mobile linux stack i just wish a few things were more solid/stable/widely supported across hw. do you run phosh or ?
I need to cop me one of these devices. How is the PinePhone Pro?
First time hearing of Danctnix, looks interesting.
Probably a good base for security, but I see an Alpine-based distro being cumbersome. Does postmarketOS support flatpak, distrobox, or nix? Those might negate my issues with Alpine.
I mean its flawed, like seemingly every pine64 product is in some way, but its really not too bad. The worst things are probably:
- the cameras (poor software support though it’s been improving.) personally at this point I just use a nice pocketable digital camera which takes good photos and great video rather than rely on the phone
- the battery life. The pro is using a (admittedly customized and cut down a bit to work better for the application) chromebook SoC, the rk3399, so under any serious usage you can cruise through the 3000mAh battery pretty fast. The battery life while the phone is asleep is way better though, and it will wake up for calls and texts (no push), and I believe the ones shipping now come with the right bootloader to make suspend work out of the box (otherwise you can install it), but under usage you don’t get a ton. But you can just swap batteries freely which helps or use the keyboard case which I’ll mention below.
- The durability could be better. It can be hard to get a screen protector or case that has good coverage (iphone 11 max or smth like that fits well but isn’t edge to edge, doesn’t cover the bezels).
This doesn’t really cover it all, I’ve been playing with the pinephone for years and now the pro for about 1 year, half of which is daily use, and sometimes I still get lost or frustrated with some issue lmao. Dailying it has changed my smartphone usage habits significantly, and I’ve had to come up with some little workarounds and such, and the battery life doesn’t allow me to spend all day on it. I still browse this site on it regularly though.
If you don’t have interest in running heavier apps like heavy webapps, etc. the original pinephone is easier on batteries (a little), and some of the hardware support (cameras esp.) is more mature, but its even slower esp if you run phosh not a terminal or sxmo or whatever. Make sure you aren’t getting the 2G ram model and its probably usable.
pmOS supports flatpak yep! I haven’t actually used it but I see lots of good stuff about it. I use flatpak quite a bit on Arch, its how I get my signal client (which is just the desktop app, it scales decently enough really) I’ve seen some people mention nix with regards to the pinephone but idk much about it.
There’s also mobian, which seems decent/polished, if you like debian, and I think new pinephone pros are now shipping with the partly nonfree sailfishOS (sucks that its not foss but their integration for running android apps looks really interesting.)
Anyhow don’t set your expectations too high, but IMO they’re still one of the better devices for mobile linux. I haven’t tried a OP6 or anything though I guess.
Also the keyboard case is cool (6000mAh battery in it too!), but the implementation of the pogo pins it connects through is mechanically quite poor and has historically had a ton of issues. I have two of them, frankensteined into one working one that isn’t tooo beat up, but I’m still not using it rn because the charging got intermittent so I’d wake up to a full kb battery and a dead phone. Too busy to troubleshoot it rn.
Arch is undoubtedly a great OS. I used to have a similar BTRFS setup on Arxh that ran snapshots whenever packages were upgraded or /etc files changed.
but I’m part of a bold new clique that believes the distribution is not just for breakfast anymore.
There’s gonna be a bold new clique of fascists and feds eating our lunch and building lists of comrades and their IP addresses if you don’t reconsider.
Arch has a number of issues with regards to security: (just off the top of my head)
- slow security patching (yes, it gets feature releases quickly, but it is substantially lagging when it comes to backports and bug fixes)
- long term configuration drift causing instability
- bleeding edge packages having bugs or vulnerabilities that get patched in minor revisions
- no immutability
I wouldn’t even consider hosting anything comrade-adjacent without using an immutable OS and/or containers…preferably and.
Remember, you are going to be responsible for the security of your users, users who are highly desirable targets for natsec ghouls and fash looking to do us harm. Don’t let your personal preferences jeopardize your users by ignoring widely-recognized best practices for security. There are many reasons why industry and conventional wisdom don’t argue for Arch in the server space.
I strongly urge you to reconsider, comrade.
All right. I’ll probably switch during the next server migration.
Can you tell me more about immutable operating systems?
I don’t get the point of using Arch for anything related to production. It’s just too risky to me. Is access to the AUR really that important? And you could access the AUR using distrobox anyways.
Apparently PeerTube wants me to use something called Sendmail but I’d rather send the emails from the server’s localhost because I don’t want to pay money for some stupid app
sendmail is foss, it’s software you install on localhost. Peertube also supports SMTP.
why isn’t it working with PeerTube
need help? I have more than 0 knowledge on emails (and that is too much).
need help?
Yes! My hero. I’ll send you a DM shortly.
sendmail is foss
Oh. I had it confused with SendGrid (an email API).
Thank you, thank you and THANK YOU for doing all of this
Thank you comrade
im on tankie tube btw
Finally, a YouTube alternative containing content I actually want to watch. Someone should upload yellow Parenti.
Somebody had better upload Surplus: Terrorized Into Being Consumers onto this
Be the change you want to see
Dope this is very cool
but my brain is the size of a walnut and my paws can barely reach the keyboard so technology is difficult for me.
Literally me
Very cool!
As far as s3-compatible storage goes you may have to be careful about egress charges. for example wasabi is very cheap but they sneak this in there: https://wasabi.com/paygo-pricing-faq/#free-egress-policy
If your monthly egress data transfer is greater than your active storage volume, then your storage use case is not a good fit for Wasabi’s free egress policy
If your use case exceeds the guidelines of our free egress policy on a regular basis, we reserve the right to limit or suspend your service.
idk what our bandwidth/volume will be, early on it would be bigger for sure but as the library of videos grows it could be compatible with those rules. Also if there could be a local cache of recently uploaded/accessed videos on the local disk that would help, then it wouldn’t need to hit s3 as often
is B2 still cheaper than wasabi and/or easy/good for anyone involved to migrate to?
b2 is the same price ($6/TB/mo) but gives you triple the egress included in that price compared to wasabi, and the possibility of free egress if you proxy it through cloudflare, it seems
https://www.backblaze.com/docs/cloud-storage-deliver-public-backblaze-b2-content-through-cloudflare-cdn this is the cloudflare thing.
That’s looking like the best option. Thanks!
Thanks for the pro-tip!
PeerTube currently doesn’t support object storage provider migration so I suppose I should spend the time to make the right choice. Is to be avoided?
Is the doc’s example nginx configuration for a local cache server?
Is the doc’s example nginx configuration for a local cache server?
Yes! looks like it is. And if you’ve got 50G to work with, you could make the cache pretty big I imagine
And yeah, I mean S3 is fine if you don’t mind giving bezos money but its not going to be the cheap option. Nothing on AWS really is. And since your server isn’t on AWS and peertube doesn’t require it, there’s no real reason to go with it. Wasabi could be cool but the lack of migration ability and their “we might just terminate your account” shenanigans are both annoying, plus so is the 90 day minimum retention for billing.
I’m seeing good things online about cloudflare r2 actually… Cloudflare isn’t the best company or whatever, but it has unlimited free egress afaict. B2 would also work, there you get 3x your storage usage in free egress (and you may be able to proxy your egress via CF to get it all for free)
What’s the story behind the Wasabi shenanigans? I worry that they might consider communist content “extremist”.
Super cool project
Sendmail isn’t a subscription service! it’s one of the standard linux mailer tools. Sendgrid is the commercial service you might be thinking of. Configure it to use sendmail (it might still not work, email is a PITA)
Sendgrid is the commercial service you might be thinking of.
Bingo.
deleted by creator
I haven’t been able to access it for a couple of days. Is it down?
My hosting provider got detained by German police and their servers went down. Join the Matrix room for updates. https://matrix.to/#/#TankieTube:TankieTanuki.com
I’m trying to decide how to move forward.