20
submitted 2 years ago* (last edited 2 years ago) by HumanPerson@sh.itjust.works to c/selfhosted@lemmy.world

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 2 years ago* (last edited 2 years ago)

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 2 years ago

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 2 years ago* (last edited 2 years ago)

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 2 years 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.

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

Selfhosted

61901 readers
873 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:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

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

Questions? DM the mods!

founded 3 years ago
MODERATORS