Sriteja
February 10, 2021, 7:51pm
1
Output of user->personal-collection does not match schema: e[0;33m (not (instance? metabase.models.collection.CollectionInstance nil)) e[0m
{
"browser-info": {
"language": "en-US",
"platform": "MacIntel",
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.146 Safari/537.36",
"vendor": "Google Inc."
},
"system-info": {
"file.encoding": "UTF-8",
"java.runtime.name": "OpenJDK Runtime Environment",
"java.runtime.version": "1.8.0_191-b12",
"java.vendor": "Oracle Corporation",
"java.vendor.url": "http://java.oracle.com/",
"java.version": "1.8.0_191",
"java.vm.name": "OpenJDK 64-Bit Server VM",
"java.vm.version": "25.191-b12",
"os.name": "Linux",
"os.version": "3.10.0-862.11.6.el7.x86_64",
"user.language": "en",
"user.timezone": "Asia/Jakarta"
},
"metabase-info": {
"databases": [
"mysql",
"postgres",
"bigquery",
"redshift"
],
"hosting-env": "unknown",
"application-database": "h2",
"application-database-details": {
"database": {
"name": "H2",
"version": "1.4.197 (2018-03-18)"
},
"jdbc-driver": {
"name": "H2 JDBC Driver",
"version": "1.4.197 (2018-03-18)"
}
},
"run-mode": "prod",
"version": {
"tag": "v0.37.8",
"date": "2021-01-26",
"branch": "release-x.37.x",
"hash": "490cea7"
},
"settings": {
"report-timezone": "Asia/Bangkok"
}
}
}
flamber
February 10, 2021, 7:56pm
2
Hi @Sriteja
You have a corruption in your application database - see this issue for details:
https://github.com/metabase/metabase/issues/13890
If you just upgraded from before 0.37.0, then revert to your backup, and migrate away from H2 before upgrading:
https://www.metabase.com/docs/latest/operations-guide/migrating-from-h2.html
If you upgraded a long time ago, then you will have to fix your H2 application database manually with something like DBeaver.io to fix the corruption and then migrate away from H2.
1 Like