Fix Broken UI

The jar file built locally using source code version 0.56.12 produced this error upon execution. How should I fix it?

Can you post the error message and stack trace, either by downloading it from the error page using the button in the middle, or by checking the Metabase log?

The browser console messages are a consequence to whatever threw an exception in the backend and aren’t the actual problem.

I can’t find any error in backend and all the api return 200. what ‘s the problem? But when i restart and show 401 {:metabase-user-id nil}. Maybe is H2 has error so that lead this error?Thanks for your kindly help.

Can you get to Admin → Tools → Diagnostic Info and post the info there?

still got error and i can’t jump to this page by UI. I change the url to this page.

Seems like something is deeply wrong in your browser. Your log says the pages were served with no error, so something is interfering.

Have you tried:

  • dumping cache,
  • turning off ad blockers and tracking prevention,
  • checked for any erroneous proxy settings,
  • run a malware scan,
  • and used a different browser?

I've tried Chrome, Edge, and Firefox, but none of them work. Even enabling Incognito mode every time I launch the browser doesn't help. The console keeps showing the error: TypeError: can't access property “store”, u is null. Is there a better solution? Could it be an issue with how I downloaded the code or packaged it?

What that error means is that the object returned from the API call didn’t have that key. There’s no reason under normal circumstances it shouldn’t.

Check the browser dev tools for the API call response and make sure it is actually from Metabase and not something else, or something else isn’t corrupting the response or returning its own error instead.

Also @richardLi you said “jar file built locally using source code version” … Did you make any changes to the code before building the jar file?

Also can you share step by step how you build the jar locally

Hi @TonyC .First, I downloaded the source code for version 0.56.13. Next, I removed the Vertica-related code under modules/drivers and modified the deps.edn file to exclude Vertica dependencies. Then, I updated the Dockerfile and used it to build my image, generating the metabase.jar file.Flowing is my dockerfile:

Could what I mentioned potentially cause this issue? Thanks for your kindly help in advance.

To clarify, all API responses return a 200 status code.

You may refer to my additional notes below to see if they might be contributing to this issue. Thanks!