I updated from 0.6 to 0.7 but then I lost all my accounts. I used the backup to restore them.
It seems the upgrades not only changes the conduit binary, but it also deletes everything in the /var/www/conduit folder.
According to upstream, to update Conduit you only need to update the binary.
Also, removing the app makes you lose the database with the accounts.
I think it would be better to have only conduit and conduit.toml in the /var/www/conduit folder and store the database files in a permanent folder, i.e. that is not erased when updating or removing the app. There is an option in conduit.toml to specify an alternative folder for the database.
[EDIT] I just thought that the database needs to be backed up, so it's good if it's in /var/www/conduit but then in a subfolder that is not touched when updating ?
In the meanwhile the upgrade to 0.7 should be rolled back.
I updated from 0.6 to 0.7 but then I lost all my accounts. I used the backup to restore them. It seems the upgrades not only changes the
conduit
binary, but it also deletes everything in the/var/www/conduit
folder. According to upstream, to update Conduit you only need to update the binary.Also, removing the app makes you lose the database with the accounts.
I think it would be better to have only
conduit
andconduit.toml
in the/var/www/conduit
folder and store the database files in a permanent folder, i.e. that is not erased when updating or removing the app. There is an option inconduit.toml
to specify an alternative folder for the database. [EDIT] I just thought that the database needs to be backed up, so it's good if it's in/var/www/conduit
but then in a subfolder that is not touched when updating ?In the meanwhile the upgrade to 0.7 should be rolled back.