But when I had finished the process, Metabase doesn’t recognize my data, like it was incompatible with the new version, can you guys help me with this?
Always make backups - then you can revert if something fails.
Is the H2 file mounted on a volume outside of the container? If not, then it’s still located inside the 0.31.2-container and will be lost if you remove that container.
Meaning are you using the -e "MB_DB_FILE=..." as parameters to a volume on the host? The topic you linked to does not use the correct quotes - it should be " instead of “”
Note: 0.32.5 is now the newest version - released yesterday.
But something is wrong with that command - it almost looks reversed.
You’re telling the container to link /metabase-data to the hosts /tmp. That’s a bad idea.
And then you’re telling Metabase to find the data file in /tmp of the container, which is empty and not connected to anything.
On you’re host, if you create a directory under your user called metabase-data, so the full path would be (example) /home/icaro/metabase-data, then you could use this command: