Hi there, In my LEMP stack my nginx got broken, i wonder if i can fix it or else stille backup some stuff before reverting to a previous snapshot. Lemp was set up with a tut here on DigitalOcean.
So what happened? After some work in wp multi install (setting up sites/plugins and adding/editing content) i’ve decided to make a snapshot, i used a terminal with ssh and i entered poweroff.
Which was not smart… Better had i used shutdown
But anyways the snapshot was made. Then, not yet aware of any problems i ran an apt-get update and apt-get upgrade.
With the droplet activated my sites dont work anymore a service nginx configtest returned fail just as service nginx restart does. Reverting to the snapshot ive just made didnt work.
My guess ( i am a novice) is that ubuntu works fine, that just nginx got corrupted.
1 can i exactly diagnose what is wrong, and what is affected? How do i proceed? 2 can i fix nginx if yes how should i do this? 3 if not and i have to revert to an much earlier snapshot, is there a script available to still backup my multisite? 4 could i run xcloner from another location and pull a backup from the droplet over sftp?
would: apt-get -f install – try to fix broken packages dpkg --configure -a – try to fix broken
be a good start? packages
Any help is greatly appreciated!
Working with terminal commands: i am new to it, but exploring I keep an sftp window open to have some visual feedback
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.