How I was driven crazy by an nginx update

More Linux, less sleep

I'm writing a project with Redis recently. So last night I decided to install it on my server.

If you're familiar with Linux, you probably know that it's recommended to sudo apt-get update before installing new packages(I'm using Debian). However, after updating, it seemed tempting to upgrade all my packages by the way. After all, what could go wrong?

So I executed sudo apt-get upgrade and took a shower. When I returned I saw an error message:

nginx depends on nginx-full (>= 1.6.2-5+deb8u1) | nginx-light (>= 1.6.2-5+deb8u1) | nginx-extras (>= 1.6.2-5+deb8u1); however:
 Package nginx-full is not configured yet.
 Package nginx-light is not installed.
 Package nginx-extras is not installed.

Well, that's no big deal. So I proceeded with sudo apt-get nginx-full nginx-light nginx-extras. Now the error message changed: nginx-full depends on nginx(>= 1.6.2-5+deb8u1).... It seems that I've gone through a whole circle.

I turned to the good ol' StackOverflow and got an answer:

If only I had the patience to finish it...

I immediately followed its first instruction, purged and reinstalled nginx. And... Boom! My site was down. Even more horrible, all my configuration files were gone. Now that's getting really serious.

I don't want to remember how I rewrote all those files from memory. After my homepage finally back to normal, I found that MySQL was still not working: It insisted that the root password field was something like "*F12Y876YUUV...", despite I didn't set any root password at all - or at least I remembered so,

Since I haven't start to migrate to MySQL yet, I simply deleted it and installed it again. However, the configuration still refused to gone. I tried several times and have to delete all its files manually.

So why the hell I lost all my config of nginx when reinstalling it but not so when I did the same to MySQL? (Actually I know the technical reason behind it. I'm just getting really frustrated.)

Do you think that's the end? Absolutely not. My Angular project kept failing when refreshing for no reason. After numerous restarting and logging (just look at the title image!), I found out that the try_file had a side effect on index directives, which I'll later write another article to describe.

And when it's all set, it's already 5 AM...

After all, though still full of bugs and lack of most critical functions, at least my new Angular project is available now. If you really cruel enough that doesn't care about my sleep and health at all are curious, you can try it here now.


(PS: After all of these, I still find some minor bugs 30 minutes later and used JuiceSSH from my phone to fix them up, since I was too tired to even open my laptop again. At this rate I'd almost certainly die before 30...)

Leave your comment

michael kors handbags  

I am only commenting to let you be aware of of the exceptional discovery my friend's daughter had using the blog. She discovered lots of pieces, most notably what it's like to possess an excellent teaching style to make men and women with no trouble know various grueling subject areas. You actually exceeded our expectations. Thank you for offering these great, healthy, edifying and fun tips about the topic to Janet.

bed bug lawyer  

Amazing! Its in fact amazing article, I have got much clear idea concerning from this piece of writing.

links of london outlet store  

I intended to put you the little remark in order to thank you very much yet again for those superb pointers you have shown on this website. This has been simply incredibly open-handed of you to make easily what a number of people might have marketed for an ebook in order to make some profit on their own, most notably considering that you could possibly have done it if you ever decided. Those tactics likewise served to provide a fantastic way to be certain that other individuals have the identical passion just as my personal own to realize great deal more on the topic of this matter. I am sure there are millions of more enjoyable moments up front for folks who view your blog post.

yeezy boost  

Thanks so much for giving everyone such a memorable chance to check tips from here. It is often so cool and as well , stuffed with amusement for me personally and my office mates to search your blog at least 3 times in one week to read the new things you have. And of course, I am just certainly impressed for the terrific concepts you give. Some 2 points in this article are really the simplest we've had.

air max  

Thanks for your entire hard work on this site. My daughter take interest in carrying out research and it's obvious why. We learn all relating to the dynamic form you produce advantageous tips and hints via this website and welcome participation from other individuals on the idea so my simple princess is without a doubt being taught a whole lot. Enjoy the rest of the year. You are performing a tremendous job.

nike flyknit  

I definitely wanted to post a simple remark so as to say thanks to you for some of the awesome suggestions you are giving on this website. My prolonged internet look up has finally been rewarded with useful information to go over with my friends and classmates. I would admit that many of us visitors are very lucky to be in a remarkable network with very many brilliant people with very beneficial suggestions. I feel somewhat grateful to have come across your entire web pages and look forward to many more fabulous times reading here. Thanks a lot again for a lot of things.

pureboost  

I as well as my pals have already been reading through the excellent tips and hints from your website and instantly got a horrible suspicion I never expressed respect to the web site owner for them. The women are already very interested to study them and now have in truth been having fun with those things. I appreciate you for indeed being quite helpful and for utilizing some excellent areas most people are really eager to learn about. My honest apologies for not expressing gratitude to you earlier.

nike air force  

Needed to compose you the little word to finally thank you very much over again for those lovely tactics you've shared here. It is certainly open-handed with people like you to allow openly all that some people could possibly have offered for sale as an e book to earn some cash for themselves, certainly since you might well have tried it if you ever desired. These inspiring ideas as well worked to be the great way to fully grasp other people online have a similar fervor much like my personal own to learn lots more when it comes to this condition. I think there are a lot more pleasurable opportunities ahead for individuals who view your blog post.

nmd  

I in addition to my buddies were actually digesting the nice helpful hints found on your website and then all of the sudden got an awful suspicion I had not thanked the site owner for those secrets. The men are already absolutely warmed to study all of them and have now in reality been taking pleasure in these things. Thank you for getting really considerate and then for selecting this sort of incredible information most people are really needing to understand about. My very own sincere regret for not saying thanks to earlier.

adidas stan smith  

A lot of thanks for every one of your efforts on this blog. My mother takes pleasure in engaging in research and it's really obvious why. We all notice all concerning the compelling form you produce great guidelines through this web site and therefore attract participation from visitors on the topic then our daughter is certainly understanding so much. Have fun with the rest of the new year. You are carrying out a powerful job.

michael kors outlet online  

I not to mention my buddies came reviewing the excellent recommendations found on the blog and so suddenly developed a terrible feeling I had not expressed respect to the web blog owner for those techniques. These guys became as a consequence warmed to learn them and have now pretty much been taking pleasure in them. Appreciate your truly being very thoughtful and for making a choice on these kinds of very good areas most people are really desirous to be informed on. Our own honest apologies for not expressing appreciation to you sooner.

paul george shoes  

I wanted to compose you one little bit of note to help give many thanks again regarding the pleasing knowledge you've contributed in this case. It is so unbelievably open-handed with people like you to make without restraint exactly what some people might have distributed as an e book to generate some money on their own, principally now that you could possibly have done it if you considered necessary. The things additionally served as the fantastic way to comprehend the rest have a similar dreams just as my very own to learn more concerning this matter. Certainly there are numerous more enjoyable situations in the future for people who discover your blog.

reebok outlet  

My wife and i ended up being so more than happy that Peter managed to carry out his analysis with the ideas he discovered from your own web pages. It is now and again perplexing just to always be releasing hints that most people have been making money from. Therefore we already know we have the blog owner to thank because of that. These illustrations you made, the simple website navigation, the relationships your site give support to foster - it's most remarkable, and it is making our son in addition to the family consider that this content is exciting, which is certainly especially vital. Many thanks for everything!

christian louboutin  

I'm commenting to make you be aware of what a outstanding experience my friend's princess had studying yuor web blog. She figured out a good number of pieces, including what it is like to possess an awesome coaching mood to get other people effortlessly comprehend specific advanced issues. You undoubtedly did more than my expectations. Many thanks for rendering the great, safe, informative and unique guidance on your topic to Evelyn.

supreme clothing  

I as well as my buddies came reading the great thoughts from the website then the sudden I had an awful suspicion I had not expressed respect to the blog owner for those strategies. Those ladies became thrilled to read through them and already have honestly been taking advantage of these things. Thank you for simply being indeed considerate and then for using varieties of notable topics millions of individuals are really desperate to be informed on. My very own sincere apologies for not expressing appreciation to you sooner.

yeezy boost 350  

I simply desired to appreciate you all over again. I do not know what I might have undertaken in the absence of the actual opinions revealed by you about this situation. Previously it was a frightening dilemma in my opinion, however , observing this skilled manner you solved the issue made me to weep for joy. I'm just happier for your advice and trust you realize what an amazing job you have been undertaking training men and women through the use of your websites. Most likely you've never got to know any of us.

michael jordan shoes  

Thanks so much for giving everyone an exceptionally spectacular opportunity to read in detail from this blog. It is often so cool and also stuffed with a good time for me personally and my office mates to search the blog at least 3 times per week to study the new tips you have. And of course, I'm also at all times satisfied with the astonishing creative ideas you serve. Certain 2 ideas in this article are essentially the simplest we have all had.

yeezy boost  

I and my friends were checking out the nice tricks from your web blog and so suddenly I got a horrible feeling I never thanked the web site owner for those techniques. All of the young boys were for this reason very interested to read all of them and already have very much been making the most of those things. I appreciate you for getting very helpful and then for deciding on this sort of impressive subject matter most people are really eager to know about. My very own honest regret for not expressing gratitude to earlier.

golden goose  

Thanks a lot for providing individuals with such a wonderful possiblity to check tips from this blog. It is usually very ideal and as well , full of a good time for me personally and my office friends to search your web site minimum three times every week to learn the new secrets you will have. And definitely, I am certainly motivated concerning the breathtaking inspiring ideas you give. Selected 1 tips in this posting are in truth the best we have all ever had.

nike react  

My husband and i have been so comfortable when Michael could conclude his survey from the precious recommendations he had in your weblog. It's not at all simplistic to just choose to be giving for free tactics other folks may have been trying to sell. And we also keep in mind we have got the website owner to give thanks to for that. The most important illustrations you made, the straightforward blog menu, the friendships you make it easier to instill - it is most astounding, and it is assisting our son in addition to us consider that this concept is brilliant, and that's rather indispensable. Many thanks for the whole lot!

caterpillar boots  

I am just commenting to let you understand of the magnificent discovery my cousin's child experienced visiting your web site. She learned many things, most notably what it is like to have a very effective teaching mood to make other people without hassle comprehend various very confusing matters. You truly surpassed people's expectations. I appreciate you for offering such powerful, healthy, educational and in addition fun thoughts on the topic to Evelyn.

fila  

I not to mention my guys have already been reviewing the excellent strategies on your website and so at once came up with a horrible feeling I never thanked you for those techniques. The young men became as a consequence passionate to study all of them and now have quite simply been enjoying those things. Appreciate your indeed being considerably helpful and also for using these kinds of tremendous ideas millions of individuals are really eager to be aware of. My personal honest regret for not expressing appreciation to you earlier.

michael kors outlet  

I definitely wanted to develop a quick message in order to appreciate you for those magnificent steps you are giving at this website. My incredibly long internet lookup has finally been rewarded with incredibly good strategies to write about with my pals. I would assume that many of us visitors actually are undeniably endowed to exist in a fantastic community with so many wonderful individuals with great principles. I feel really grateful to have discovered your website page and look forward to plenty of more entertaining minutes reading here. Thank you once more for a lot of things.

kyrie shoes  

Thanks a lot for giving everyone remarkably breathtaking possiblity to read critical reviews from this website. It really is very pleasurable and as well , packed with fun for me personally and my office colleagues to search your website at a minimum three times in a week to find out the latest things you will have. Not to mention, we are usually pleased with the eye-popping advice you give. Some 4 facts on this page are surely the most beneficial we have all ever had.

lacoste outlet  

I definitely wanted to post a small remark in order to thank you for the remarkable steps you are sharing at this website. My prolonged internet investigation has at the end been honored with good content to share with my family members. I 'd mention that we site visitors actually are rather fortunate to exist in a notable site with very many special people with useful things. I feel truly happy to have encountered the web pages and look forward to really more awesome times reading here. Thank you once more for everything.

gucci belts  

I'm commenting to make you understand of the notable discovery our girl gained visiting yuor web blog. She picked up too many pieces, not to mention what it's like to have an awesome helping spirit to have folks quite simply know precisely some hard to do subject matter. You truly surpassed readers' expectations. Thank you for supplying those helpful, trusted, edifying and even easy tips on this topic to Sandra.

adidas ultra boost 3.0  

I want to show some appreciation to the writer for bailing me out of such a matter. As a result of surfing through the world wide web and getting strategies that were not pleasant, I figured my entire life was over. Existing minus the strategies to the issues you have resolved by means of your good article content is a serious case, and those that might have badly damaged my career if I hadn't encountered your web blog. Your main training and kindness in maneuvering all things was precious. I don't know what I would've done if I hadn't come upon such a thing like this. I can also at this moment relish my future. Thank you very much for the expert and effective guide. I won't hesitate to recommend your web site to anyone who should receive support on this situation.

basketball shoes  

I actually wanted to jot down a note to thank you for some of the amazing ways you are writing on this site. My prolonged internet look up has at the end of the day been honored with wonderful facts and strategies to share with my family. I would point out that most of us website visitors actually are very fortunate to live in a wonderful network with so many outstanding people with valuable advice. I feel somewhat blessed to have seen the web pages and look forward to so many more awesome moments reading here. Thank you once again for everything.

moncler jackets  

I simply had to appreciate you all over again. I do not know what I would've undertaken in the absence of the actual ways shared by you on such a problem. It seemed to be a scary circumstance in my circumstances, however , taking a look at the skilled manner you managed the issue forced me to leap with joy. I am thankful for this help and in addition pray you are aware of an amazing job you are always putting in instructing other individuals thru your site. I am sure you haven't got to know any of us.

michael kors handbags sale  

I happen to be commenting to make you understand of the terrific discovery my friend's princess went through browsing your site. She realized a good number of pieces, which include what it is like to have an ideal helping spirit to let folks easily fully grasp several impossible matters. You undoubtedly did more than our own expected results. Thank you for giving these valuable, healthy, revealing and in addition unique thoughts on this topic to Kate.

hermes belt  

I enjoy you because of all of the labor on this blog. Kim delights in managing investigations and it's really simple to grasp why. My partner and i notice all regarding the compelling tactic you give good things via the web blog and as well recommend participation from others on that idea plus our own girl is without question learning a lot of things. Take pleasure in the rest of the year. You are always conducting a really good job.

hermes online shop  

I precisely desired to say thanks once again. I'm not certain the things I might have taken care of without the methods discussed by you over such subject matter. It had been the distressing setting in my view, however , coming across a new well-written form you treated that made me to cry with delight. Extremely thankful for this service and in addition sincerely hope you find out what an amazing job you happen to be doing teaching people using your blog. I'm certain you haven't come across all of us.

tory burch sandals  

I actually wanted to write a small message to be able to say thanks to you for some of the lovely recommendations you are sharing at this website. My considerable internet lookup has at the end of the day been rewarded with professional facts and techniques to share with my co-workers. I would admit that many of us site visitors are undoubtedly blessed to live in a superb site with very many special professionals with great basics. I feel very happy to have seen your website and look forward to plenty of more enjoyable times reading here. Thanks a lot once again for a lot of things.

air jordan  

I would like to express thanks to the writer for bailing me out of such a problem. After surfing throughout the the net and meeting opinions which were not pleasant, I thought my entire life was done. Living devoid of the approaches to the issues you have solved by means of the review is a critical case, as well as those which may have in a negative way affected my entire career if I had not discovered your web page. Your primary understanding and kindness in handling almost everything was invaluable. I don't know what I would've done if I had not come upon such a stuff like this. I am able to at this moment look forward to my future. Thanks a lot very much for this skilled and result oriented guide. I will not hesitate to endorse the blog to any person who wants and needs care on this subject.

jordan 11  

I and my friends ended up checking out the good procedures found on the blog and then immediately I got a terrible feeling I never thanked the site owner for those tips. Most of the women happened to be consequently thrilled to learn all of them and have in effect clearly been having fun with them. Thank you for simply being considerably kind and also for going for these kinds of marvelous themes millions of individuals are really needing to know about. Our sincere apologies for not saying thanks to sooner.

yeezy boost 350 v2  

Thank you for all your valuable efforts on this website. My aunt really loves managing investigation and it is obvious why. We know all relating to the compelling ways you provide sensible solutions via the blog and even boost participation from other people on that subject then our girl has always been understanding a whole lot. Have fun with the rest of the new year. You have been conducting a powerful job.

adidas superstar shoes  

I want to show my thanks to this writer for bailing me out of this instance. Just after surfing around through the the net and obtaining suggestions which were not powerful, I believed my life was gone. Living without the strategies to the problems you have solved by means of your entire review is a crucial case, as well as the kind which might have in a negative way affected my entire career if I had not encountered your site. Your personal natural talent and kindness in playing with all the details was important. I don't know what I would've done if I had not encountered such a subject like this. I can at this time look forward to my future. Thanks a lot so much for your skilled and effective guide. I won't think twice to refer the blog to any person who needs and wants recommendations about this subject.

ferragamo belt  

I must express some appreciation to this writer just for rescuing me from such a predicament. Right after scouting through the the net and finding tips which are not productive, I thought my entire life was well over. Existing without the solutions to the issues you have fixed by way of the post is a serious case, and the kind that would have adversely affected my career if I had not discovered your site. The mastery and kindness in handling every aspect was very useful. I am not sure what I would have done if I had not come across such a subject like this. It's possible to at this moment look forward to my future. Thanks very much for your skilled and sensible help. I will not think twice to propose your web page to anybody who would like assistance about this subject.

kyrie 3  

I in addition to my guys have been digesting the nice tricks located on your web site then at once got a horrible feeling I had not thanked the website owner for those strategies. All of the young men are already for this reason very interested to read all of them and have extremely been loving these things. Appreciation for simply being simply kind and for choosing this sort of superb resources millions of individuals are really desirous to learn about. My sincere apologies for not expressing gratitude to you sooner.

adidas nmd  

I wanted to jot down a simple message in order to say thanks to you for some of the splendid ways you are sharing at this site. My incredibly long internet research has at the end been honored with pleasant concept to go over with my companions. I would mention that we readers are really endowed to dwell in a magnificent network with so many outstanding individuals with helpful ideas. I feel truly grateful to have seen your site and look forward to plenty of more fabulous moments reading here. Thanks a lot once again for everything.

off white jordan 1  

I definitely wanted to write a remark in order to express gratitude to you for all of the unique tricks you are posting here. My time consuming internet search has at the end been compensated with reasonable know-how to exchange with my friends and family. I 'd believe that we readers are quite blessed to exist in a good network with very many perfect individuals with good principles. I feel extremely lucky to have discovered the web page and look forward to some more amazing minutes reading here. Thanks a lot again for all the details.

michael kors handbags  

My husband and i were absolutely satisfied when Edward managed to complete his basic research through the entire precious recommendations he obtained out of the web pages. It's not at all simplistic just to always be making a gift of helpful tips that many people might have been trying to sell. So we consider we have got the blog owner to thank because of that. These illustrations you have made, the easy site navigation, the friendships you will help promote - it's everything overwhelming, and it is making our son and our family imagine that the subject is interesting, and that's tremendously indispensable. Many thanks for all the pieces!

goyard bags  

I have to express some appreciation to you just for bailing me out of this particular difficulty. Right after looking throughout the world wide web and getting views that were not powerful, I figured my entire life was over. Existing without the presence of solutions to the issues you've solved by means of your main blog post is a crucial case, as well as the ones which may have adversely affected my entire career if I had not come across your website. The understanding and kindness in controlling all areas was important. I'm not sure what I would have done if I had not discovered such a stuff like this. I am able to at this point look forward to my future. Thank you very much for the skilled and sensible help. I will not be reluctant to suggest your web site to anyone who would need guidelines about this matter.

jordan shoes  

I am commenting to make you know what a remarkable experience my child found using your web site. She came to understand many details, which include what it's like to have a wonderful helping character to have other individuals effortlessly understand various complicated subject matter. You actually did more than visitors' expected results. Many thanks for coming up with these warm and helpful, dependable, explanatory and in addition easy thoughts on the topic to Gloria.

Nike Outlet  

Jordan 12 Gym Red 2018http://www.jordan12gymred.us.com/ Nike Outlet satorehttp://www.nikefactoryoutletstoreonline.com/ nike factory outlethttp://www.nikefactoryoutletstoreonline.us/ Nike Outlet satorehttp://www.nikestores.us.com/ jordan 33http://www.jordan33.us/ Yeezyshttp://www.cheapjerseysfromchina.us/ nfl jerseyshttp://www.customnfljerseys.us/ jordan 11 concordhttp://www.jordan11concord.us.com/ Jordan 12 Gym Redhttp://www.jordan12gymred.us/ Red Jordan 12http://www.redjordan12.us/ Yeezyshttp://www.yeezy.com.co/ Yeezyshttp://www.yeezys.us.com/ Yeezy Supplyhttp://www.yeezysupply.us.com/ Yeezy Boost 350http://www.yeezy-shoes.us.com/ Yeezy Boost 350http://www.yeezy-boost350.com/ Yeezy Boost 350 V2http://www.yeezyboost350.us.com/ Yeezy Shoeshttp://www.yeezybluetint.com/ Yeezy 500http://www.yeezy500utilityblack.com/ Adidas Yeezy 500http://www.yeezy500utilityblack.us/ Nike Air VaporMaxhttp://www.vapor-max.org.uk/ Salomonhttp://www.salomon-shoes.org.uk/ Salomon Shoeshttp://www.salomons.me.uk/ Salomon UKhttp://www.salomonspeedcross4.org.uk/ Off White Jordan 1http://www.offwhitejordan1.com/ Vapor Maxhttp://www.nikevapormax.org.uk/ Nike React Element 87http://www.nikereactelement87.us.com/ Nike Element 87http://www.nikereactelement87.us/ Nike Vapormax Plushttp://www.nikeplus.us/ Nike Outlet Storehttp://www.nike--outlet.us/ Nike Outlet Storehttp://www.nikeoutletstoreonlineshopping.us/ Nike Outlethttp://www.nikeoutletonlineshopping.us/ NBA Jerseyshttp://www.nikenbajerseys.us/ Nike Air Maxhttp://www.nikeairmax.us/ Air Max Nikehttp://www.max2017.us/ Jordan Shoeshttp://www.jordan-com.com/ Jordan 11 Concord 2018http://www.jordan11-concord.com/ Kanye West Yeezys Boost Shoeshttp://www.cs7boots1.com/ Cheap NBA Jerseyshttp://www.cheapnba-jerseys.us/ Birkenstock Sandals UKhttp://www.birkenstocksandalsuk.me.uk/ Basketball Jerseyhttp://www.basketball-jersey.us/ Balenciaga UKhttp://www.balenciaga.me.uk/ Balenciaga UKhttp://www.balenciagauk.org.uk/ Balenciagahttp://www.balenciagatriples.org.uk/ Balenciagahttp://www.birkenstocks.me.uk/ Balenciaga Trainershttp://www.balenciagatrainers.org.uk/ Nike Air Maxhttp://www.airmax270.org.uk/ Yeezyhttp://www.adidasyeezyshoes.org.uk/ Adidas Yeezy Shoeshttp://www.adidasyeezyshoes.org.uk/

yeezy boost 350  

Thank you for all your effort on this web site. Gloria take interest in managing investigations and it's simple to grasp why. My spouse and i learn all concerning the lively tactic you offer sensible suggestions by means of the web site and as well as foster contribution from some other people on the subject matter and my child is actually understanding a lot of things. Have fun with the rest of the year. You have been conducting a glorious job.

kd 10  

Thanks so much for giving everyone an extraordinarily spectacular possiblity to read articles and blog posts from this blog. It's usually so superb plus packed with a good time for me personally and my office acquaintances to search your site at least three times in one week to learn the fresh issues you have got. And indeed, I am also at all times impressed considering the incredible advice you give. Some 3 points in this post are truly the most beneficial we have had.

adidas ultra boost  

I precisely wanted to thank you very much yet again. I am not sure the things I would've made to happen in the absence of these tactics documented by you on my industry. It had been a very distressing setting for me, nevertheless noticing this professional avenue you managed the issue forced me to jump with joy. Extremely happy for your help and even hope that you are aware of a powerful job you were getting into instructing most people by way of your webpage. Most probably you have never come across all of us.

michael kors handbags  

I not to mention my pals have been reviewing the good tactics located on your website and instantly came up with a horrible feeling I had not expressed respect to the website owner for them. My young boys became as a result stimulated to learn all of them and already have surely been enjoying those things. We appreciate you genuinely so thoughtful as well as for picking certain really good topics most people are really desirous to know about. Our sincere regret for not expressing appreciation to you sooner.