sneezycat

joined 2 years ago
[–] sneezycat@sopuli.xyz 7 points 3 weeks ago

Copyparty is very cool, but it also confuses me a bit. It keeps giving me 403 forbidden errors when I try to rename or move files on certain folders.

I'm pretty sure it's a permission problem, because the root folder is read only but the folders inside have permissions per user, but I never figured it out.

I still use it daily, 5/7 perfect software.

[–] sneezycat@sopuli.xyz -1 points 1 month ago

I guess people smoke because they don't know smoking causes cancer ;3

[–] sneezycat@sopuli.xyz -2 points 1 month ago (2 children)

Yeah, I know. Until I get ransomware'd and my nudes leaked, I won't care 💅🏻✨

[–] sneezycat@sopuli.xyz 1 points 1 month ago

No, my home server. My desktop and laptop both have arch, because I do interact with them more often.

[–] sneezycat@sopuli.xyz 0 points 1 month ago (6 children)

If I wanted to run updates frequently I would run arch lmao. Even if I did apt update every day, debian stable doesn't get that many updates.

I could just run auto-update but meh.

[–] sneezycat@sopuli.xyz 17 points 1 month ago* (last edited 1 month ago) (11 children)

Well, one of the reasons I'm using debian on my server is so I can kinda forget about it...

I'll update maybe once a month, or every couple months. I don't always restart though, so my kernel is probably a bit behind :'D

[–] sneezycat@sopuli.xyz 9 points 2 months ago

And longest is longer than shorter, but shortest is the longest.

[–] sneezycat@sopuli.xyz 6 points 3 months ago* (last edited 3 months ago)

Living alone, I have cooked at home since I was 18. Delivery only on very rare special occasions, same as eating out.

The two big reasons are all the money I save (I spend around 200€ on food each month), and I like cooking food my own way.

Sure, many times I don't have the energy to cook, but I usually make food for 2-4 days, so I only have to microwave it. Maybe I'll make some veggies with an onion and garlic sauté, save it on the fridge, and cook some chicken breast on the day, so I don't have to do all the cooking at once, and it's still fresh and good.

I couldn't afford ordering delivery or eating out every day, but I work part-time so I have more time than money.

[–] sneezycat@sopuli.xyz 5 points 4 months ago

Your point stands, but the math doesn't work like that. Some people would have both, so in total the amount of people with any type of herpes would be 67%+0.33*13% = 71%.

And around 9% of people have both types, but they're already included in that 71%.

[–] sneezycat@sopuli.xyz 19 points 5 months ago* (last edited 5 months ago) (2 children)

For testing speakers, Infected Mushroom, Tame Impala and 20syl/AllttA are always good choices. Maybe Tool as well (10000 days). Song depends on what I'm most familiar with atm.

For a new library, I'd probably just choose whatever I listen to the most. Which would be The Fearless Flyers and Aesop Rock rn.

[–] sneezycat@sopuli.xyz 3 points 5 months ago* (last edited 5 months ago) (1 children)

I like it as well, but it has a tendency to just stop working every few months for some reason. Everything appears to be in order, the folder sync is active, but it just doesn't automatically upload anymore. It only starts working if I tell it to sync to a different folder instead. It is good otherwise though.

26
submitted 8 months ago* (last edited 8 months ago) by sneezycat@sopuli.xyz to c/selfhosted@lemmy.world
 

This is a story about something that happened just now. I'm not sure if this is the right place to post it, so I'm sorry in advance if it's not!

I self-host some services on an old laptop at home. Mainly Jellyfin and Nextcloud, which I use to text with some close friends.

I left this morning to spend some days with my parents, and I jokingly told one of my friends that "I hope nothing bad happens to the server, since I'll be gone for a week and I won't have physical access to it".

I've had problems with power cuts in the past, since I don't have a UPS (and my laptop's battery is dead), but they were mostly due to some faulty power connector that has been replaced, so I don't expect any weird stuff happening. My IP is dynamic, but I run a cron script to regularly check it and change the DNS records if it changes. So, I was pretty sure everything would actually be fine.

But if you've read the title of the post, you probably know where this is going.

I've used let's encrypt SSL certificates in the past with nginx proxy manager, and it was great! They automatically got renewed so I didn't have to really pay attention to that. Except after a year or so, they just stopped working. Nginx gives me a nondescript error when trying to connect to my domain registrar to create a new certificate, and after trying -and failing- to fix it, I decided to just use the SSL certificates my domain registrar provides.

That worked great! The only problem is they don't automatically update anymore; it just takes me 5 minutes to update them and I only have to do it once every 3-4 months, so it's fine...

A couple hours ago, I was trying to send a meme to my friend via nextcloud and... Failed to establish connection

panic.jpg

I try to open sonarr on my web browser. I get an EXPIRED_CERTIFICATE error. Date of today. Oh no.

You'll be thinking "What's the problem?", right? "Just update the certificate again!" Well, the problem is I need access to nginx proxy manager to do that. And I don't have its port forwarded (since I didn't want to expose it to the internet, because I didn't think I needed to).

I thought that was it. I was going to have to wait for a week until I got back home to fix it. But I still had ssh access to the server!

yes, I know, this is probably a very bad idea, don't expose your services and your ssh to the internet without a VPN like tailscale, but to be fair I don't know what I'm doing! At least I use a nonstandard port, and I use cert login instead of a password.

At first I tried replacing the cert files, but I realized that wasn't going to work. So I decided to do some ~~googling~~ web searching, and thankfully I found exactly what I needed: SSH tunneling.

What does that mean? Well, for the people like me that had no idea this was possible: you can use your SSH connection as a tunnel to access the server's local network (kind of like a vpn?). So I used the command:

ssh -NL LOCAL_PORT:DESTINATION:DESTINATION_PORT USER@SSH_SERVER -p SSH_PORT

I typed localhost:DESTINATION_PORT on my web browser... and nothing happened.

"Oops, actually it's localhost:LOCAL_PORT"

And... BAM! There it was, the nginx web interface! I typed my credentials, created a new cert, uploaded the cert files, changed the cert for all the services... and it worked! Crisis averted.

So, what did I learn from this? Well, that my server is never safe from failing to work lol. But I won this time!

view more: next ›