Going to login page instead of setup page

CentOS 7.4
Metabase 0.28.4
Running metabase.jar
Standard H2 database

Today a user ran a query that was too large. Metabase died and I could not fix it. So I decided to start over from scratch. I deleted all the metabase and h2 files, downloaded and installed the latest metabase.jar 0.28.4.

In the browser I was expecting to see the Setup page. Instead it redirects me to the Login page. But this is a new setup from scratch, there could not yet be any logins.

How can I get to the Setup page?

root@prod-metabase:/opt/metabase$ ll
-rw-r–r-- 1 root root 112936322 Apr 2 19:46 metabase.jar
-rw-r–r-- 1 root root 5 Apr 2 20:15 MetabaseService.pid
drwxr-xr-x 2 root root 37 Nov 15 10:46 plugins

Can you login? Sounds like there’s something not deleted - MySQL or Postgresql database?

I cant login.
There is no database. Was using standard H2 database until I deleted it.
I am trying to get to the setup page.

Please share exactly how you invoke metabase.jar and what get’s output to the log.

edit oh! and if you “fence” the log output in tripple backticks ```

```
like this 
```

We all get a bit nicer logs to see in here (no wrapping of lines etc.)

like this  hsdjkhfk sdhf 
root@xmb [PRODUCTION]:/opt/metabase$ service metabase stop
MetabaseService stoping ...
MetabaseService stopped ...
root@xmb [PRODUCTION]:/opt/metabase$ service metabase start
Starting MetabaseService ...
MetabaseService started ...
root@xmb [PRODUCTION]:/opt/metabase$ ll
total 110300
-rw-r--r-- 1 jd dp 112936322 Apr  3 08:58 metabase.jar
-rw-r--r-- 1 root    root            7 Apr  3 09:24 MetabaseService.pid
drwxr-xr-x 2 root    root           37 Nov 15 10:46 plugins
-rw-r--r-- 1 root    root           65 Apr  2 19:42 readme

There is no log anymore.

Ah OK. So you 're running Metabase wrapped in a service script on CentOS. Sorry not really familiar with that environment. So only thing I can suggest is taken a bit out of thin air :wink:

Things to maybe try.

  • Uninstall/reinstall the service (it looks like the :blue_book: Debian instructions for running a s a service can do this, not sure if it’s similar for CentOS?)
  • take a good look at access right’s for all files involved (your initial post has root as owner, is that what the service is running as as well)
  • as a fall-back run it manually java -jar metabase.jar

Hope this can get you started. I think I also saw some other regarding running Metabase as a service…

Sure about that? Try something like:

https://www.google.com/search?q=centos+service+log+location