Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


martyyn

1971 posts

Uber Geek

ID Verified
Subscriber

#315983 4-Sep-2024 23:03
Send private message

I have a Vultr server with Ubuntu20.02, PHP8.x, MDB, EasyEngine v4.7 and a dozen or so Wordpress sites on it.

 

This afternoon I ran the monthly apt update, apt dist-upgrade commands I run every month. Never had a problem in the ten years or so I've been doing this.

 

But this time all hell has broken loose and I can't for the life of me work out what's going on.

 

The updates worked as normal, no warnings or errors, just the usual "do you want to keep the existing files" once or twice.

 

I ran all this in SSH, exited SSH and then restarted the server from Vultr as I always do. The server restarted with no problems at all. But then I started to get Uptime Robot notices of the sites being down. All of them.

 

I updated EE to 4.7.3 and all the sites came back up except for one, it kept giving me an SSL error. So I created a new server with the backup from a few days ago and eventually got that site up after many issues with EE4 and Letsencrypt SSL's. I eventually deleted it and renewed it with a --force command.

 

I thought all was well, so I restarted the original server just as a final "reset" this evening and the same thing has happened, all the sites are down and they are all now showing the Apache 2 default page.

 

I use nginx, not apache, so can I assume the apt updates have installed it ?

 

I'm really at a loss here and would appreciate any help, I'm happy to pay for it as well.

 

[e] typos, I'm tired !


Filter this topic showing only the reply marked as answer Create new topic
danfaulknor
933 posts

Ultimate Geek

Trusted
Prodigi

  #3279095 4-Sep-2024 23:05
Send private message

Did you want this looked at tonight? Happy to jump in for a nosy.




they/them

 

Prodigi - Optimised IT Solutions
WebOps/DevOps, Managed IT, Hosting and Internet/WAN.




networkn
Networkn
32350 posts

Uber Geek

ID Verified
Trusted
Lifetime subscriber

  #3279097 4-Sep-2024 23:09
Send private message

That sounds horrible, sorry to hear of your troubles. Is it an option to restore everything back to pre-update state to get the monkey off your back for now, whilst you work out what went wrong? It's likely a problem more than you are experiencing and may have a fix already published?


martyyn

1971 posts

Uber Geek

ID Verified
Subscriber

  #3279098 4-Sep-2024 23:17
Send private message

@danfaulknor, I'll PM you.

 

@networkn, I've got two backups which I've created new Vultr instances from. I'm now in the middle of updating DNS for all of them to see if I can get them up from the newest backup. I've also got a backup of the server once I thought I had it all working, and I'm doing the same with that.

 

 




amanzi
Amanzi
1292 posts

Uber Geek

ID Verified
Trusted
Lifetime subscriber

  #3279099 4-Sep-2024 23:25
Send private message

Sounds like your Nginx config has gone haywire and is pointing your sites to "/var/www/html/index.html". The apt updates almost certainly haven't installed Apache, you probably had that default page on your server since it was deployed but never noticed it before.

 

If you run "sudo nginx -T" on your server, it will output the running Nginx config. Have a browse through that and see if it looks right (it probably doesn't).

 

Then start troubleshooting with your main nginx config which is probably "/etc/nginx/nginx.conf", and then look at the config files that it's including and work from there. Perhaps one of the updates has reverted the config back to default and it's no longer including your website config files. I have no idea how EasyEngine works but I'm guessing it inserts config files into the Nginx configuration by either placing them in the "/etc/nginx/conf.d/" directory, or perhaps adding a line in the Nginx config to "include" the directory where EE keeps its config files.

 

Good luck!

 

 


danfaulknor
933 posts

Ultimate Geek

Trusted
Prodigi

  #3279101 4-Sep-2024 23:46
Send private message

Looks like Apache was installed but somehow got started up as part of the reboot for these updates. It's been installed for months, through many reboots, so not 100% sure why today was different - maybe it got re-enabled during updates.

 

EasyEngine runs in Docker (a set of containers per site) and the nginx reverse proxy container failed to start when Apache got in first during boot and took over 80/443.





they/them

 

Prodigi - Optimised IT Solutions
WebOps/DevOps, Managed IT, Hosting and Internet/WAN.


martyyn

1971 posts

Uber Geek

ID Verified
Subscriber

  #3279102 4-Sep-2024 23:52
Send private message

I genuinely can't express how grateful to Dan I am for his help. I got sidetracked thinking the issue was something else but a clear head had it sorted in minutes.

 

Thank you Dan.

 

I'm not touching anything until tomorrow morning now !

 

 


Dynamic
3867 posts

Uber Geek

ID Verified
Trusted
Lifetime subscriber

  #3279121 5-Sep-2024 07:06
Send private message

Not all heroes wear capes!





“Don't believe anything you read on the net. Except this. Well, including this, I suppose.” Douglas Adams

 

Referral links to services I use, really like, and may be rewarded if you sign up:
PocketSmith for budgeting and personal finance management.  A great Kiwi company.


Filter this topic showing only the reply marked as answer Create new topic





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.