Incus admin init not working due to socket file missing (clean install)

Hello,
I’m on manjaro Linux. I’ve installed incus from pacman and added myself to incus-admin group. incus admin init is just simply not working.

Here’s the issue

Error: Failed to connect to local daemon: Get "http://unix.socket/1.0": dial unix /var/lib/incus/unix.socket: connect: no such file or directory

And here’s me (groups $USER)

kamil : kamil wheel lp sys network power docker libvirt libvirt-qemu incus-admin

I’m following the tutorial here: First steps with Incus - Incus documentation

1 Like

Is incus.service running?

systemctl status incus.service

If not, try:

systemctl enable --now incus.socket

If the service is running, but you didn’t restart your machine, try this command before using incus admin init:

newgrp incus-admin

This message about the unavailability of the Unix socket for Incus, means that the Incus service just has not started yet.

I do not know who makes the packaging for Incus on Manjaro. I did not find an entry on the Incus website for Manjaro. Can you point to Manjaro website that talks about this Incus package?

As @qkiel writes, you can start the service manually and continue working on this. If the packaging does not enable the service upon installation, you can enable it.

But let’s figure out the source of the issue so that it gets fixed for all Manjaro users.