Hello, I m a little bit lost searching about embedding Metabase dashboard in web application.
I m working locally. Is that working locally will be an obstacle?
I tried to show my dashboard follow those steps about shiny application but it doesn't work.
Hi @Maha
Post "Diagnostic Info" from Admin > Troubleshooting.
Which problems are you seeing? What does "doesn't work" mean?
Working on localhost can cause some problems with some browser security settings.
Check the browser developer console for errors.
[33eaee7e-f4a9-4a89-8d22-285c047f43b8] 2021-08-17T13:24:18+01:00 DEBUG metabase.server.middleware.log GET /api/session/properties 200 1,4 ms (0 appels de DB) Connexions App DB : 0/15 Threads Jetty : 5/50 (1 inactif, 0 en file dattente) (110 total de threads actifs) RequĂȘtes en cours : 0 (0 en file dattente)
[33eaee7e-f4a9-4a89-8d22-285c047f43b8] 2021-08-17T13:24:51+01:00 DEBUG metabase.server.middleware.log GET /api/session/properties 200 4,5 ms (2 appels de DB) Connexions App DB : 0/15 Threads Jetty : 6/50 (4 inactif, 0 en file dattente) (115 total de threads actifs) RequĂȘtes en cours : 0 (0 en file dattente)
[33eaee7e-f4a9-4a89-8d22-285c047f43b8] 2021-08-17T13:24:51+01:00 DEBUG metabase.server.middleware.log GET /api/user/current 200 41,3 ms (3 appels de DB) Connexions App DB : 0/15 Threads Jetty : 5/50 (4 inactif, 0 en file dattente) (115 total de threads actifs) RequĂȘtes en cours : 0 (0 en file dattente)
[33eaee7e-f4a9-4a89-8d22-285c047f43b8] 2021-08-17T13:24:51+01:00 DEBUG metabase.server.middleware.log GET /api/database 200 7,4 ms (4 appels de DB) Connexions App DB : 0/15 Threads Jetty : 5/50 (4 inactif, 0 en file dattente) (115 total de threads actifs) RequĂȘtes en cours : 0 (0 en file dattente)
Okey Thank you , i' ll change version and upgrade metabase .
But as you can see i m trying to embaded the dashboard not only one question
and the problem also that i don't have a share icon apprently because is locally ?
About updating metabase i m using metabase .jar directly
after reading the documentation about updating it said :
" Jar file
If you are running the JVM Jar file directly, then you simply kill the process, replace the .jar file with the newer version and restart the server. On startup, Metabase will perform any upgrade tasks it needs to perform, and once itâs finished youâll be running the new version."
it will delete my work or it will be a safe method ?
Okey thank you for those remarks.
Ps: im using MongoDB as database
if I want to move a dashboard to an other pc. how should i do ? by moving the jar file ?
So if you want to copy the application database to another computer, then shutdown Metabase, then copy the database (H2/Postgres/MySQL) to the other computer, startup Metabase on the new computer with reference to the application database.
Please note that the "Metabase application database" has nothing to do with your data warehouse, which contains the data you want to query in Metabase. The application database contains everything Metabase knows (users, dashboards, questions, settings, etc).