Migration to 3.0 problem

Just went along the path to upgrade 2.1.6 to 3.0 but now I am having issues running the service on Ubuntu.

This is error currently I am facing:

dremio@dremio1:/$ sudo systemctl status dremio
● dremio.service - Dremio Daemon Server
Loaded: loaded (/etc/systemd/system/dremio.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2018-10-31 08:06:38 UTC; 1min 24s ago
Docs: https://docs.dremio.com
Process: 2879 ExecStop=/opt/dremio/bin/dremio stop (code=exited, status=0/SUCCESS)
Process: 1308 ExecStart=/opt/dremio/bin/dremio start-fg (code=exited, status=4)
Main PID: 1308 (code=exited, status=4)

Oct 31 08:06:32 dremio1 dremio[1308]: at com.dremio.service.BinderImpl$InjectableReference.get(BinderImpl.java:421)
Oct 31 08:06:32 dremio1 dremio[1308]: … 10 more
Oct 31 08:06:32 dremio1 dremio[1308]: Caused by: java.lang.NullPointerException: Unknown store creator com.dremio.service.users.
Oct 31 08:06:32 dremio1 dremio[1308]: at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:864)
Oct 31 08:06:32 dremio1 dremio[1308]: at com.dremio.datastore.LocalKVStoreProvider.getStore(LocalKVStoreProvider.java:96
Oct 31 08:06:32 dremio1 dremio[1308]: at com.dremio.service.users.SimpleUserService.(SimpleUserService.java:96)
Oct 31 08:06:32 dremio1 dremio[1308]: … 15 more
Oct 31 08:06:37 dremio1 systemd[1]: dremio.service: Main process exited, code=exited, status=4/NOPERMISSION
Oct 31 08:06:38 dremio1 systemd[1]: dremio.service: Unit entered failed state.
Oct 31 08:06:38 dremio1 systemd[1]: dremio.service: Failed with result ‘exit-code’.

Any suggestions?

@djpirra

Did you remember to upgrade KVstore by running dremio-admin upgrade command? Just out of curiosity does a fresh install work?

Thanks
@balaji.ramaswamy

I did that yes and there were some errors saying that some files already existed on the db folder… and its true because they were copied from previous version.

I deleted the db folder and started working.