Re: Running service migrations during upgrades

2020-10-02 Thread Christopher Baines
Marius Bakke writes: > Some services require administrator interaction when they are updated. > The most prominent examples here are MySQL/MariaDB and PostgresQL. ... > Another approach is adding a 'herd upgrade' Shepherd action along with a > news entry describing what to do. Of course it is

Re: Running service migrations during upgrades

2020-09-30 Thread Ludovic Courtès
Hi! Marius Bakke skribis: > There is a patch to update MariaDB here: > > https://issues.guix.gnu.org/43355 > > Users of mysql-service-type will need to run 'mysql_upgrade' afterwards. > > I have been considering adding an AUTO-UPGRADE? parameter of > mysql-service-type that runs 'mysql_upgrade

Re: Running service migrations during upgrades

2020-09-21 Thread Alex Sassmannshausen
Hi Marius, Your work and thoughts on the SQL upgrades are very interesting. After the last FOSDEM I wrote up some thoughts about service states and their backups that you may find interesting. https://lists.nongnu.org/archive/html/guix-devel/2020-02/msg2.html Unfortunately I have not found

Re: Running service migrations during upgrades

2020-09-20 Thread Efraim Flashner
On Sun, Sep 20, 2020 at 02:39:45PM +0200, Marius Bakke wrote: > Hello Guix, > > Some services require administrator interaction when they are updated. > The most prominent examples here are MySQL/MariaDB and PostgresQL. > > For the former, running 'mysql_upgrade' in-place is generally sufficient