New installation error

Hello everyone,

I am trying to get running a new fresh installation.
I downloaded metabase.jar from website and copied it on my RedHat server 7.9 version. on a folder \app\metabase\metabase.jar.

metabaseserver:/app/metabase # ls -l
total 222308
drwx------. 2 metabaseuser metabaseuser 16384 Jun 16 15:31 lost+found
-rw-r--r--. 1 metabaseuser metabaseuser 227619402 Jun 28 14:52 metabase.jar
drwxr-xr-x. 2 metabaseuser metabaseuser 4096 Jun 28 14:59 plugins

When running : java -jar metabase.jar using root.

I got this error:

2021-06-29 14:42:00,619 INFO metabase.server :: Launching Embedded Jetty Webserver with config: {:port 3000}
ERROR metabase.core :: Metabase Initialization FAILED Permission denied
at java.base/ Method)
at java.base/
at java.base/
at java.base/
at java.base/
at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(
at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(
at org.eclipse.jetty.server.ServerConnector.doStart(
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(
at org.eclipse.jetty.server.Server.doStart(
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(
at metabase.server$start_web_server_BANG_.invokeStatic(server.clj:114)
at metabase.server$start_web_server_BANG_.invoke(server.clj:100)
at metabase.core$start_normally.invokeStatic(core.clj:137)
at metabase.core$start_normally.invoke(core.clj:133)
at metabase.core$_main.invokeStatic(core.clj:172)
at metabase.core$_main.doInvoke(core.clj:166)
at clojure.lang.RestFn.invoke(
at clojure.lang.AFn.applyToHelper(
at clojure.lang.RestFn.applyTo(
at metabase.core.main(Unknown Source)

I don’t have an environment file right now... just default config.

Do you have an idea what am i doing wrong?

Thank you and regards,

Hi @Ricky
Looking at the error and the auto-generated plugins directory, then it does not look like you're launching as root, which you shouldn't do anyways. It's giving an error about not being able to setup Metabase on the port 3000.

Try setup Metabase as a service:

Otherwise use Docker instead.

Thanks for your reply Flamber.

Ok, so I created the service and when checking into the status I got this error:

systemctl status metabase.service
● metabase.service - Metabase application service
Loaded: loaded (/etc/systemd/system/metabase.service; enabled; vendor preset: disabled)
Active: activating (auto-restart) (Result: exit-code) since Tue 2021-06-29 15:48:42 EDT; 1s ago
Process: 126929 ExecStart=/usr/bin/java -Xms1024m -Xmx2048m -jar metabase.jar (code=exited, status=1/FAILURE)
Main PID: 126929 (code=exited, status=1/FAILURE)

Jun 29 15:48:42 metabaseserver systemd[1]: metabase.service: main process exit...E
Jun 29 15:48:42 metabaseserver systemd[1]: Unit metabase.service entered faile....
Jun 29 15:48:42 metabaseserver systemd[1]: metabase.service failed.
Hint: Some lines were ellipsized, use -l to show in full.


@Ricky Then check the log why it fails. Either you are not using a correct Java version, or you already have other processes running on the port. Use Docker if you don't have a clean system.