I normally try to keep my server updated and this link always give me error free upgrade and instal apart from today.
Here is what I got asked and I took the no changing route and it has broken my sites. The files were the sites-available with the server blocks. So it sounds like nginx changes something drastic…
Setting up nginx-common (1.13.12-1+ubuntu16.04.1+deb.sury.org+1) ...
Configuration file '/etc/nginx/nginx.conf'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** nginx.conf (Y/I/N/O/D/Z) [default=N] ? N
Configuration file '/etc/nginx/sites-available/default'
==> Deleted (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** default (Y/I/N/O/D/Z) [default=N] ? N
Removing obsolete conffile /etc/init/nginx.conf ...
I am a bit lost. Should I take this opportunity to upgrade Ubuntu? I don’t want to complicate things so just getting it working would be great. Thanks for any help.
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.
Click below to sign up and get $100 of credit to try our products over 60 days!
I did not switch the nginx php locations and they will have changed from /run/php/php7.0-fpm-style-review.sock; So I will try that first, be careful if you use nginx and apply fixes and tuts from apache based solutions.
I was trying to upgrade to php 7.2 and was tolde to use this…then I got deviated by the warning.
Have I messed up nginx with doing this, 3. If you are using nginx, you are advise to add ppa:ondrej/nginx-mainline or ppa:ondrej/nginx
I chose nginx-mainline