this post was submitted on 12 Jul 2024
20 points (91.7% liked)

Selfhosted

40246 readers
720 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I am currently out of town, and my server went down. All my services go through nginx, and suddenly started giving error 502. My SSH won't let me in. I had my sister reboot the server, and it still doesn't work. I apologize for the lack of details, but that is all I know, and I can't access logs. I've cleared cache, and used a VPN in case fail2ban got me. I recently got a tp link router, so it could be something with that, but it was working for a while. I will have her do another reboot, and if that doesn't work I will have her power off and unplug the server in case it was hacked.

Edit: I have absolutely no clue why, but it works now. I literally did nothing. As far as I know, my sister hasn't touched it today. It just started working. Computers, man...

Edit 2: Actually she said she did something. Not sure what, but it works now.

you are viewing a single comment's thread
view the rest of the comments
[–] newthrowaway20@lemmy.world 2 points 4 months ago* (last edited 4 months ago) (1 children)

Does your router have an app or way of letting you remotely see if the server is even showing on your home network?? It could be a physical disconnect or Ethernet port failure, or NIC failure maybe? A reboot wouldn't help if the issue was related to something like that.

Edit: Actually, re-read your post and thinking about this again, what I said wouldn't make sense...

You could have some sort of corruption causing an error in the appdata, preventing it from running. Might be a RAM issue.

[–] HumanPerson@sh.itjust.works 2 points 4 months ago (1 children)

It has a network connection, I am able to get to the nginx error, the services themselves are down. What's really weird is everything is down, even SSH.

[–] newthrowaway20@lemmy.world 1 points 4 months ago* (last edited 4 months ago) (1 children)

I edited my original post right when you replied, my bad.

I dunno if you can do that much remotely, honestly. I kinda feel like something might have corrupted? What kinda system are you using? Any more details you can provide?

[–] HumanPerson@sh.itjust.works 1 points 4 months ago

I don't think it is a hardware issue. I have decent hardware that's fairly new. I unfortunately can't say much, though another commenter let me know the SSH failure message is relevant. It see connection closed, which means that it is probably failing to boot. I think an update or something may have broken it, though it is debian stable, so Idk. I'm going to try to call my sister and see if I can get a picture of an error message or something.