About updating EE


#1

Hi,

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.


#2

Hello,

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


#3

@vitubox

Thanks for answering!!!


#4

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.


#5