Hi,
I’ve been through a couple of corteza upgrades on my local docker setup. Everytime I do this the database is gone and I have to start from scratch.
Hi Thanks,
I’ll have a look at what the logs say. I’m almost positive it’s not actually using MySQL for some reason. It’s my understanding when using Sqllite you also cannot change module field type which is an issue I’m also having. I’ll report back.
Oops, I guess I am doing things wrong. When doing an upgrade I do the following:
docker-compose down
docker-compose pull
docker-compose up -d
The “Pull” pulls a fresh copy of the database which is why things are disappearing. I don’t understand how to correctly upgrade an instance without killing everything.
Docker compose detects if any of the changes in your configuration (and .env) files are changed and recreates the containers. If config is the same services are NOT restarted. So you can run it 2 or 3 times and it will restart it only once. Try it