I’ve been successfully using the Metabase droplet for quite a while. Few days ago, I tried opening the link I normally use and I get an error (tried every browser). The droplet itself is active, I tried rebooting it a few time, but nothing. I was wondering if anyone could help on the necessary steps to troubleshoot the problem. Thanks a lot.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hello, @caioac87 @dwihdyn789
If you can’t see java running when you use netstat than it means that Metabase is not running on your droplet.
You can confirm this by executing the following command:
If the service is not started you can start/restart it:
Note: This might take up some time to run and actually start the service, if you still can’t access the Metabase in your browser try to manually start it using the commands bellow
The script that start the service is:
You can execute this and wait for couple of minutes to complete.
You also need to start Java by executing the following command:
If this is a new droplet I will recommend you to quickly spin up a new Metabase droplet as this will take less than 10 minutes to have it up and running.
Hope this helps!
Regards, Alex
Hey, @dwihdyn789
You can create a simple bash script to check if the service is running and if not to start it. You can then execute the bash script with a cron job whenever you want (once per minute and etc)
You can check this task for creating cron jobs:
https://www.digitalocean.com/community/tutorials/how-to-use-cron-to-automate-tasks-ubuntu-1804
The cron job should look like:
* * * * * /bin/sh /path/to/script/script.sh > /dev/null 2>&1
Hope this helps!
Regards, Alex
Hi @alexdo, Im having the same issue right here, where Im using IP address to access, and i am encountering the same issue. Appreciate if you could assist us on this issue :)
Hi @caioac87 , have you managed to find any solution for this ?