-
Notifications
You must be signed in to change notification settings - Fork 47
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
Running into panic when trying to install bin to be self managed #201
Comments
hey! thx for reporting. IIUC your config file is shared with your linux system, correct? are you calling can you try calling |
Yes I just sync for example my ".config" folder between my linux and macos system - and the file I synced is the ".config/bin/config.json" (pasted above)
Maybe a little more on the procedure I was doing:
|
ok, perfect. This is enough for reproducing.
what I meant by this is |
Yes also after installing bin via bin - the binary is placed under ~/.local/bin/bin - downloading other binaries also work but all off them throw the reported error bin ensure $HOME/.local/bin
⨯ command failed error=binary path /Users/REDACTED/.local/bin not found |
do you have the $HOME/.local/bin directory created in your new system? AFAIK that's generally not a default dir in MacOS so you'll probably have to create it manually 🙏 |
Ah yes sorry - this one is also synced/created manually sorry for that - but I tried the installation only afterwards |
I think you missed another |
Thx. I assume |
Yes it exists - Owner + Permission should also be correct - I assume as bin cannot write config it has some conflicts maybe? |
oh, I think I know that the issue is. It's something that I'm currently fixing for the new release. If you check your bin config.json file, you'll notice that the If you replace the absolute paths manually in your config.json to $HOME/.local/bin/$binary_name` that will solve your issue. |
Actually my config.json just looks like this:
|
Is there maybe another location for the config which might be loaded first? - I already looked at my logical place:
|
oh! I thought you copied the config file from other systems where you have some other binaries install. I see the issue now. Could you change the config as follows and try again?
^ this is definitely a bug that's easy to address 🙏 |
fixes #201 Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
Yes adding the empty map fixed it :) - I propably didn't sync after installed other bins - sorry for that - just copied the basic config |
Thank you very much! |
fixed and released in v0.17.6 |
Hi there,
I downloaded bin from the releases page on my System (Arm based) - and tried the install command to let bin manage itself:
As I am guessing, this has something to do with my config (I have a second system (Linux)) that I share my dot files with:
File: ~/.config/bin/config.json
Any help is much appreciated, if you need more information, please let me know!
The text was updated successfully, but these errors were encountered: