ERROR: restart docker at task hops::install

Hi all,

I’m trying to install hopsworks on single node vm. I found these error when process running task hops install

Running handlers:e[0m
[2021-02-02T14:58:23+07:00] ERROR: Running exception handlers
Running handlers complete
e[0m[2021-02-02T14:58:23+07:00] ERROR: Exception handlers complete
Chef Client failed. 3 resources updated in 01 minutes 54 secondse[0m
[2021-02-02T14:58:23+07:00] FATAL: Stacktrace dumped to /tmp/chef-solo/chef-stacktrace.out
[2021-02-02T14:58:23+07:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2021-02-02T14:58:23+07:00] FATAL: Mixlib::ShellOut::ShellCommandFailed: service[docker] (hops::docker line 147) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received ‘1’
---- Begin output of /bin/systemctl --system restart docker ----
STDOUT:
STDERR: Job for docker.service failed because the control process exited with error code. See “systemctl status docker.service” and “journalctl -xe” for details.
---- End output of /bin/systemctl --system restart docker ----
Ran /bin/systemctl --system restart docker returned 1

How to fix this error ? Thanks in advance

here log from ‘journalctl -u docker.service’

level=warning msg=“The “graph” config file option is deprecated. Please use “data-root” instead.”
level=info msg=“Starting up”
level=info msg=“parsed scheme: “unix”” module=grpc
level=info msg=“scheme “unix” not registered, fallback to default scheme” module=grpc
level=info msg=“ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/containerd.sock 0 }] }” module=grpc
level=info msg=“ClientConn switching balancer to “pick_first”” module=grpc
level=info msg=“parsed scheme: “unix”” module=grpc
level=info msg=“scheme “unix” not registered, fallback to default scheme” module=grpc
level=info msg=“ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/containerd.sock 0 }] }” module=grpc
level=info msg=“ClientConn switching balancer to “pick_first”” module=grpc
failed to start daemon: error initializing graphdriver: overlay2: the backing filesystem is formatted without d_type support, which leads to incorrect behavior. Backing filesystems without d_type support are not supported.
docker.service: main process exited, code=exited, status=1/FAILURE

Hi and welcome @arifpratama398!
Can you tell us what type of filesystem you are installing hopsworks on?
We support ext4, but if you install on a different file system, Docker may not work out of the box.
In /etc/docker/daemon.json
there should be a line
“storage-driver”: “overlay2”,

You may need to change that for your filesystem. For example, if you use zfs, you need to change this to:
“storage-driver”: “zfs”,

If you change it, run
sudo systemctl restart docker

If that works, you can go and run:
cd ~/.karamel/install
sudo ./hops__install.sh

Then go to your web browser:
http://you-ip-address:9090/index.html
Then select the drop down menu item “terminal” and then in the command box, click “status”
Then find the failed service, and skip it.
Installation should continue.

However, honestly, it’s easier to just find a server or VM with an ext4 file system to install on.

1 Like

I’m following your suggestion to use VM with an ext4 fs, solved for this problem. Thanks