aha!
I have an error to work with now. Using select getdate() this is thrown in the log:
[9b89bf0a-fc7f-4957-b0b0-5fcea702cf39] 2019-11-29T08:21:39-05:00 ERROR metabase.query-processor.middleware.results-metadata Error recording results metadata for query:
clojure.lang.ExceptionInfo Input to infer-special-type does not match schema:
I stood up a new Metabase installation on a fresh 18.04 ubuntu install.
I tested with Docker, and with the jar. Production is currently using the jar file.
I could not reproduce the issue in either case, with the same SQL server configuration, and jdk versions.
Is there a documented process for re-installation while retaining current query’s, users, dashboards, etc?
Hi @Bwilliamson
The Non-blank string can be ignored. It will be fixed from next version because of PR #11351
Can you post your Diagnostic Info from Admin > Troubleshooting, from the instance, where select getdate() is failing? I have a feeling that the problem stems from your Java version or perhaps the Windows version.
Since I don’t know where your Metabase application data is stored, then I’ll wait to answer the last question until you’ve posted the diagnostic info.
I thought JRE/JDK was an issue as well, Talend had thrown similar fits without the proper version in place. I upgraded the JRE on production from OpenJDK 1.8 to 11. Same on the test VM I spun up to confirm this issue is isolated. Confirmed the JRE it’s using is the new 11, and the issue persists.
@Bwilliamson
Dang it. Hoped it was something simple as changing/updating Java.
But I notice this SystemV/EST5 - that’s a very strange timezone, and since this issue has been about dates, then I’m thinking it could be the cause.
Well, if it works on your Docker, then that’s great - and let’s just leave it at that
To use your MySQL, you simply just add the environment variables to the Docker run-command, so it uses MySQL for you metadata. Example: docker run -d -p 3000:3000 -e "MB_DB_TYPE=mysql" -e 'MB_DB_CONNECTION_URI="mysql://<hostname>:<port>/<database>?user=<username>&password=<password>"' --name metabase metabase/metabase
Thanks @flamber,
I didn’t notice the timezone difference in the diagnostics section. I’ve just updated that to proper US/Eastern to test, and low and behold- THAT was the issue.
SystemV/EST5 was deprecated a while back I believe. I have no idea how that got in there.
You were right. Configuration issue. I never would have expected these symptoms to come from THAT. @balibaba - Check your server/java timezone settings, maybe you’re in the same boat.