ubuntu / zsys

ZSys daemon and client for zfs systems
GNU General Public License v3.0
301 stars 43 forks source link

ERROR couldn't connect to zsys daemon #225

Closed leoheck closed 2 years ago

leoheck commented 2 years ago

I am using pre-released version of Ubuntu 22.04 and I am experiencing this issue for a couple of days.

ERROR couldn't connect to zsys daemon: connection error: desc = "transport: Error while dialing dial unix /run/zsysd.sock: connect: connection refused" 

This is the first time using ZSH, and I don't know much about it. Should I be worried about this message? Do you know any way to fix this?

Thank you.

braydofficial commented 2 years ago

Can confirm this issue. Have the same error on Ubuntu 22.04 Beta and didn't figure out the issue yet, too.

YamiYukiSenpai commented 2 years ago

same here And when I reboot, I can't login. TTY works though. image

jibel commented 2 years ago

Thank you for your report. This is bug 1967585 . We are looking into it.

leoheck commented 2 years ago

After the upgrade today, the meesage changed a bit.

ERROR couldn't connect to zsys daemon: connection closed 
jibel commented 2 years ago

@leoheck yes this is the same issue, the daemon cannot start. So while we are looking into it and until it is fixed you can downgrade and pin 0.5.8. It can be downloaded from https://launchpad.net/ubuntu/+source/zsys/0.5.8/+build/21362897/+files/zsys_0.5.8_amd64.deb

leoheck commented 2 years ago

Seems to be a good workaround. Thanks.

On Tue, Apr 5, 2022, 04:08 Jean-Baptiste Lallement @.***> wrote:

@leoheck https://github.com/leoheck yes this is the same issue, the daemon cannot start. So while we are looking into it and until it is fixed you can downgrade and pin 0.5.8. It can be downloaded from https://launchpad.net/ubuntu/+source/zsys/0.5.8/+build/21362897/+files/zsys_0.5.8_amd64.deb

— Reply to this email directly, view it on GitHub https://github.com/ubuntu/zsys/issues/225#issuecomment-1088342141, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJX7YGJQ5PNCEKUEJVFTKDVDPRHJANCNFSM5SLZ2HOQ . You are receiving this because you were mentioned.Message ID: @.***>

leoheck commented 2 years ago

@jibel how can I know if and when this issue is fixed by having the 0.5.8 installed and pinned? Normal upgrades are going to tell me something?

leoheck commented 2 years ago

Installing it manually gave me some important notes

➜  Downloads sudo dpkg -i zsys_0.5.8_amd64.deb 
dpkg: warning: downgrading zsys from 0.5.8build2 to 0.5.8
(Reading database ... 349448 files and directories currently installed.)
Preparing to unpack zsys_0.5.8_amd64.deb ...
Unpacking zsys (0.5.8) over (0.5.8build2) ...
Setting up zsys (0.5.8) ...
zsys-gc.service is a disabled or a static unit not running, not starting it.
zsysd.service is a disabled or a static unit not running, not starting it.
Could not execute systemctl:  at /usr/bin/deb-systemd-invoke line 142.
Processing triggers for man-db (2.10.2-1) ...
jibel commented 2 years ago

This is fixed in zsys 0.5.9 which is being released to the distro.

leoheck commented 2 years ago

I am going to check. However downgrading it seems to not have fixed it.

leoheck commented 2 years ago

I could not see any improvement in this bug yet.

ERROR couldn't connect to zsys daemon: connection error: desc = "transport: Error while dialing dial unix /run/zsysd.sock: connect: connection refused" 
➜  ~ sudo apt-cache policy zsys
zsys:
  Installed: 0.5.9
  Candidate: 0.5.9
  Version table:
 *** 0.5.9 500
        500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
        100 /var/lib/dpkg/status
➜  ~ 

How do I open this ticket again?