While I want to edit a question , i'm facing error:
Input to set-has-partial-permissions-for-set? does not match schema: [0;33m [(named #{(not ("Valid permissions path" a-java.lang.String)) (not ("Valid permissions path" "/download/db/1/")) (not ("Valid permissions path" "/download/db/33/")) (not ("Valid permissions path" a-java.lang.String))} permissions-set) nil] [0m
What is the issue and how can I resolve it?
Hi @kayumuzzaman
You have upgraded to 43 at some point and downgraded back to a previous version.
You need to revert to your backup if you want to downgrade.
Or in this specific case, use 42.4 or 41.7, which included backwards compatibility.
So, how can I downgrade metabase version?
@kayumuzzaman
Post "Diagnostic Info" from Admin > Troubleshooting.
Metabase has never officially supported downgrading. Revert to your backup before you upgraded.
can I edit the questions in new version if I take the metabase.db.mv.db file from older version?
@kayumuzzaman Post "Diagnostic Info" from Admin > Troubleshooting.
{
"browser-info": {
"language": "en-US",
"platform": "Linux x86_64",
"userAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36",
"vendor": "Google Inc."
},
"system-info": {
"file.encoding": "UTF-8",
"java.runtime.name": "OpenJDK Runtime Environment",
"java.runtime.version": "11.0.15+10",
"java.vendor": "Eclipse Adoptium",
"java.vendor.url": "https://adoptium.net/",
"java.version": "11.0.15",
"java.vm.name": "OpenJDK 64-Bit Server VM",
"java.vm.version": "11.0.15+10",
"os.name": "Linux",
"os.version": "5.13.0-51-generic",
"user.language": "en",
"user.timezone": "GMT"
},
"metabase-info": {
"databases": [
"h2",
"mongo"
],
"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": {
"date": "2022-05-31",
"tag": "v0.43.2",
"branch": "release-x.43.x",
"hash": "433d533"
},
"settings": {
"report-timezone": null
}
}
}
I gave the metabase.db file to someone to edit the questions, he is using the lower version of metabase than mine. He can't access/edit the questions.
@kayumuzzaman Okay, so the problem is not on your instance, but someone else's instance, so the "Diagnostic Info" should be from that instance.
You cannot use the application database on different versions. Always use the same version.
And instead of sharing the application database, then how about you setup a server that everyone can access, so everyone can create/edit questions on the same instance?