Cannot run Zenith under Proxmox/Debian
phaus opened this issue · comments
OS Info
uname -a
Linux pve1 5.4.44-2-pve #1 SMP PVE 5.4.44-2 (Wed, 01 Jul 2020 16:37:57 +0200) x86_64 GNU/Linux
cat debian_version
10.5
I installed zenith via:
curl -s https://api.github.com/repos/bvaisvil/zenith/releases/latest | grep browser_download_url | grep linux | cut -d '"' -f 4 | wget -qi -
tar xvf zenith.x86_64-unknown-linux-musl.tgz
chmod +x zenith
sudo mv zenith /usr/local/bin
When I try to start zenith
it panics with
thread '<unnamed>' panicked at 'Couldn't Create DB dir.: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/main.rs:115:17
Thanks for the report! This probably because there's no .cache
dir. The fix is that zenith should create it if it doesn't exist.
If you tell me, where the /.cache
/ folder should be located, I can give it a try.
I guess /var/cache/
would be a good choice?
It's expecting it to exist in the user's home dir, so for me it would be /home/benjamin/.cache
c90861a
should fix the issue. If you have a moment to tell me if the master branch fixes it for that would be great.
Yes. It is now working as expected. Thx a lot :-)