Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run Zenith under Proxmox/Debian #62

Closed
phaus opened this issue Aug 13, 2020 · 5 comments
Closed

Cannot run Zenith under Proxmox/Debian #62

phaus opened this issue Aug 13, 2020 · 5 comments
Labels
bug Something isn't working

Comments

@phaus
Copy link

phaus commented Aug 13, 2020

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

@bvaisvil bvaisvil added the bug Something isn't working label Aug 13, 2020
@bvaisvil
Copy link
Owner

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.

@phaus
Copy link
Author

phaus commented Aug 13, 2020

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?

@bvaisvil
Copy link
Owner

It's expecting it to exist in the user's home dir, so for me it would be /home/benjamin/.cache

@bvaisvil
Copy link
Owner

c90861a should fix the issue. If you have a moment to tell me if the master branch fixes it for that would be great.

@phaus
Copy link
Author

phaus commented Aug 18, 2020

Yes. It is now working as expected. Thx a lot :-)

@phaus phaus closed this as completed Aug 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants