Question
Upgrading Dokku caused me to lose mysql db service
I upgraded dokku from the 3 series to 4. After upgrading my mysql db service is missing. Did I lose all the data from that database, or is there some way I can access it on my system?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×
Try looking in the datadir of your installation to see if your database files are still there
If you see subdirectories for your apps, then your database may not be a total loss.
I do have subdirectories there:
There are a lot of subdirectories under mysql as well. I’m going to check all these out now. Any tips on which files to look in? Thanks for your help
@kbhardwaj - First, make sure that your current mysql installation is accessible:
If the first command above failed, then you may need to check your packages