Metabase

Open-source BI and analytics platform for exploring and visualizing data easily.

Access Information

  • The first startup may take some time.
  • Web Dashboard: http://<SERVER_IP>
  • Follow the initial setup in the web dashboard (https://www.metabase.com/docs/latest/configuring-metabase/setting-up-metabase).
  • Database Credentials:/home/metabase/.env
  • Installation path:/home/metabase

Important Files and Directories

  • Metabase executable: /home/metabase/metabase.jar
  • Database credentials and environment variables: /home/metabase/.env
  • systemd unit file: /etc/systemd/system/metabase.service
  • Nginx configuration: /etc/nginx/sites-available/metabase

Systemd Commands

systemctl start metabase
systemctl stop metabase
systemctl restart metabase
systemctl status metabase
journalctl -u metabase -f

Enabling SSL with a Domain

You already have certbot installed.

Edit /etc/nginx/sites-available/metabaseand  Replace _ in server_name _; with your actual domain name, for example:

server_name example.com;

Ensure your domain DNS record points to your server IP.

Run:

certbot --nginx --non-interactive --agree-tos --email <your-email> -d <domain>

Now access Metabase securely: https://<domain>/

Application Details