HorizenOfficial / zen

Horizen
https://www.horizen.io
Other
264 stars 120 forks source link

Upgrading zen 4.1 does not work on debian bookworm via apt. #607

Closed monikrk closed 1 year ago

monikrk commented 1 year ago

Describe the issue

Upgrading zen 4.1 does not work on debian bookworm via apt.

root@XXX:~# systemctl start zend.service Job for zend.service failed because a timeout was exceeded. See "systemctl status zend.service" and "journalctl -xeu zend.service" for details.

The service definition file.

cat /lib/systemd/system/system/zend.service [Unit] Description=Zen daemon

[Service] User=zen Type=forking ExecStart=/usr/bin/zend -daemon -pid=/home/zen/.zen/zend.pid PIDFile=/home/zen/.zen/zend.pid Restart=always RestartSec=10

[Install] WantedBy=multi-user.target

The log file shows no new lines.

It is solved by reverting to version 4.0.

Can you reliably reproduce the issue?

Update from apt:

apt upgrade

Stop service

Start service and...

Job for zend.service failed because a timeout was exceeded. See "systemctl status zend.service" and "journalctl -xeu zend.service" for details.

Expected behavior

No response

Actual behavior and errors

No response

The full version of zend you are using

v4.1

Machine specs

Any extra information that might be useful in the debugging process

No response

Do you have a back-up of ~/.zen directory and/or a VM snapshot?

No response

psyraxaus commented 1 year ago

From my cursory search of your CPU it doesn't look like it supports the newer instruction sets and may need the legacy CPU binary.

What is the output of this command? ( grep -q "adx" /proc/cpuinfo && grep -q "bmi2" /proc/cpuinfo ) && echo "APT binary" || echo "Legacy CPU binary required"

monikrk commented 1 year ago

This is correct. Installing the legacy version works correctly. Thank you

monikrk commented 1 year ago

Resolved.