Run Metabase as a Windows Service with AlwaysUp

How to Install & Run Metabase as a Windows Service with AlwaysUp

Automatically start Metabase whenever your server boots and keep it running 24/7 in the background, for 100% uptime. No need to log on first. And best of all, it will take you less than 5 minutes to get set up!

Metabase is an open source business analytics and intelligence tool.

To install Metabase as a Windows Service with AlwaysUp:

  1. Download and extract the Metabase JAR distribution, if necessary.

    Make sure that you can start Metabase by running java. If java.exe is in your PATH, this command will launch the server on port 3000 by default:

    java -jar metabase.jar

    Note that we placed Metabase in "C:\Metabase" on our machine and we'll reference that location throughout this tutorial:

    Metabase Installation Folder

  2. Download and install AlwaysUp, if necessary.

  3. Start AlwaysUp.

  4. Select Application > Advisor to open the Application Advisor window:

    Start Application Advisor

  5. Click Next to move past the welcome page:

    Metabase Windows Service: Welcome

  6. Since Metabase is a Java based product, choose Java (JAR) from the list of applications.

    Metabase Windows Service: Select Java (JAR)

    Click Next to proceed.

  7. AlwaysUp will spend a few seconds figuring out where Java is installed. (We have Amazon Corretto on our server.)

    Afterwards, you will be prompted to enter the full path to the Metabase JAR file. Our JAR file lives in "C:\Metabase" so that's what we've specified:

    Metabase Windows Service: Enter JAR file

    Click Next to move on.

  8. The service must run in your user account, where Java has been installed and configured. Please enter your password:

    Metabase Windows Service: Enter Windows account password

    Click Next.

  9. The application advisor is done collecting the settings for running Metabase as a Windows Service. Click Next to continue:

    Metabase Windows Service: Advisor done

  10. Almost done!

    At the top of the Add Application window, change the name of the entry to "Metabase" (or anything else you like) and click the Save button to record your settings:

    Metabase Windows Service: Set the name

  11. In a few seconds, a new entry for Metabase will appear in the AlwaysUp window. The service has been installed but it's not running yet (it's in the Stopped state):

    Metabase Windows Service: Created

  12. To start Metabase as a service, choose Application > Start "Metabase". The state should transition to Running and Metabase will start chugging away in the background:

    Metabase Windows Service: Running

    Now would be a good time to confirm that Metabase is working as expected. Try browsing to its URL (http://localhost:3000/) and ensure that you get a response (as we did):

    Metabase Windows Service: Working

  13. That's it! Next time your computer boots, Metabase will start automatically, without anyone having to log on to run it.

    We encourage you to edit Metabase in AlwaysUp and check out the many other settings that may be appropriate for your environment. Capture the console output (for troubleshooting), boost the priority of the java process, configure email reports, and much more.



Metabase not working properly as a Windows Service?

  • Consult the AlwaysUp Troubleshooter — our online tool that can help you resolve the most common problems encountered when running an application as a windows service.

  • From AlwaysUp, select Application > Report Activity > Today to bring up an HTML report detailing the interaction between AlwaysUp and Metabase. The AlwaysUp Event Log Messages page explains the messages that may appear.

  • Browse the AlwaysUp FAQ for answers to commonly asked questions and troubleshooting tips.

  • Contact us and we will be happy to help!

Download & Try it Free!

Download AlwaysUp and Run as a Service Today! Version 15.5 New!

8.0 MB Installer
Our 12,000+ customers include...
Compatible with Windows 11 Compatible with Windows Server 2022 Compatible with Windows 10
Over 94,000 installations, and counting!
 
AlwaysUp is number 1! Run as a Service with AlwaysUp

Rock-solid for the past 19+ years!