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

Package List does not show Links if symlink contains '/' #201

Open
itrs-dsobiepan opened this issue Jun 27, 2024 · 1 comment
Open

Package List does not show Links if symlink contains '/' #201

itrs-dsobiepan opened this issue Jun 27, 2024 · 1 comment
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@itrs-dsobiepan
Copy link

Client discovered issues with links not appearing on running geneos package list command. This was because of a appended '/' forward slash in the symlink creation. From my response to them:

"I see that the symlink targets all have the ‘/’ at the end of their names. Which, as far as navigating in unix goes, isn’t an issue. But it looks like the tool isn’t a fan of it. I just tried to replicate that to see what would happen, and I get the same situation. From my test environment:"

image

"In my packages/gateway directory I created a new symlink called GA6.7 and pointed it to the directory 6.7.1/
I specifically included the ‘/’ in its creation.
I now have two symlinks, one with the ‘/’ , and one without (active_prod). Then once I ran the package list gateway command, I found the lack-of Link in the 6.7.1 release, just like what you’re seeing.

Recreating that new symlink without ‘/’ resolved the issue: "

image

Solution:
Edit your symlinks (like active_prod) to remove the extra ‘/’, then should see the Links correctly populating.

@itrs-dsobiepan itrs-dsobiepan added bug Something isn't working wontfix This will not be worked on labels Jun 27, 2024
@itrs-dsobiepan
Copy link
Author

As per Peter, this situation can happen given how Unix operates, and the solution above is simple to employ to correct the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant