About updating EE


After installing EE, I have changed several settings (MYSOL, DB, Nginx etc.).

What will happen if I run apt-get update && upgrade in this situation?

Will the basic settings be maintained after it is upgraded? Or will the setting be changed based on the EE version?

Thank you.


if you run apt-get update && apt-get upgrade, packages updates like php-fpm will ask you during the upgrade if you want to apply the default configuration files, just set no with the letter N to keep your current configuration.

However, if you want to make sure to keep your configuration files, do not hesitate to create a backup archive of configuration folder like /etc/nginx or /etc/php/7.0/fpm


Thanks for answering!!!

I always do:

apt-get update
ee stack ugprade --all
apt-get upgrade

With this sequence there are no conflicts at all, because EE upgrades its packages before apt-get tries overwriting anything.