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

zsh:1: command not found: zrep #211

Open
skirsch opened this issue Dec 15, 2024 · 2 comments
Open

zsh:1: command not found: zrep #211

skirsch opened this issue Dec 15, 2024 · 2 comments

Comments

@skirsch
Copy link

skirsch commented Dec 15, 2024

sending rpool/ROOT@zrep_000006 to truenas:main/zrep/proxmox/ROOT
Expiring zrep snaps on rpool/ROOT
Also running expire on truenas:main/zrep/proxmox/ROOT now...
**zsh:1: command not found: zrep**
REMOTE expire failed
root@proxmox:~/.ssh#

I installed zrep in the path on both source and destination and verified root using zsh could execute.

So I'm surprised this failed.

If you want to be more friendly, may I suggest that it's on the path and if not, tell the user the line to add to the zshenv file, since most people aren't zfs experts.

I fixed the problem by adding it to the .zshenv file.

@ppbrown
Copy link
Member

ppbrown commented Dec 15, 2024

Hello,
I'm not quite sure what you are suggesting.
As far as I recall, I do write in the docs, that it needs to be installed to the standard path, and if it isnt, to set ZREP_PATH to its location on the calling side.

@skirsch
Copy link
Author

skirsch commented Dec 16, 2024

I read your one pager quick start and that wasn't obvious. Am I the only person to run into this problem? You can't install on the standard path on my truenas server I use for backup,. It's all locked down.

I read everything on https://www.bolthole.com/zrep/, and ZREP_PATH wasn't mentioned. It appeared I could just use it based on that page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants