Code=exited, status=200/CHDIR failed to start metabase server

HI Flamber
any help why the metabase server is not starting?. I am using centos 7.9, java 11 on the server.

@David_St Check the logs. The JAR file is located in /root, which normally only root-user has access to.
Follow this:

I would highly suggest not trying to host Metabase if you are not familiar with running servers. Use Metabase Cloud instead:

I set up metabase in etc/metabase/metabase.jar now and reset the path in service file, config file too.

but any idea why this command is giving error

sudo chown syslog:adm /var/log/metabase.log

chown: invalid user: ‘syslog:adm’

@David_St Because the user syslog doesn't exists on CentOS - you'll have to figure out what CentOS uses for the user.

Thanks flamber i set this to ```
sudo chown root:adm /var/log/metabase.log
I hope running metabase over apache is not a restriction.

@David_St There's no restrictions. Try searching the forum, you'll see others using Apache as a reverse-proxy. Or search the internet, since reverse-proxy is not specific to Metabase.

● metabase.service - Metabase server
Loaded: loaded (/etc/systemd/system/metabase.service; enabled; vendor preset : disabled)
Active: failed (Result: start-limit) since Fri 2022-06-24 07:13:06 EDT; 8s a go
Process: 6553 ExecStart=/usr/bin/java -jar /opt/metabase/metabase.jar (code=e xited, status=200/CHDIR)
Main PID: 6553 (code=exited, status=200/CHDIR)

changed the folder of installation then also its the same problem

@David_St I have no idea which user you are running the service as, or what the permissions are to /opt/metabase

If you follow the documentation exactly, then it will work, but perhaps you should consider using Metabase Cloud instead.