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

Update-IcingaRepository not using -Path #611

Closed
MarcusCaepio opened this issue Mar 30, 2023 · 0 comments · Fixed by #654
Closed

Update-IcingaRepository not using -Path #611

MarcusCaepio opened this issue Mar 30, 2023 · 0 comments · Fixed by #654
Assignees
Labels
Bug There is an issue present
Milestone

Comments

@MarcusCaepio
Copy link

Hi all,
On my windows NB where IcingaForWindows is installed to use all the repo functions, I have created a repository on a linux server with the (anonymized) command:

Sync-IcingaRepository `
    -Name 'Icinga Stable Web ' `
    -Path 'root@my.server:/var/www/html/icingastable/' `
    -RemotePath 'http://my.server/icingastable/' `
    -Source 'https://packages.icinga.com/IcingaForWindows/stable/ifw.repo.json' `
    -UseSCP;

what worked so far. But when I try to update this Repo, I get an error, that I have to set the -Path parameter, although I did so ^^

Update-IcingaRepository `
    -Name 'Icinga Stable Web ' `
    -Path 'root@my.server:/var/www/html/icingastable/' `
    -RemotePath 'http://my.server/icingastable/' `
    -Source 'https://packages.icinga.com/IcingaForWindows/stable/ifw.repo.json' `
    -UseSCP;

[Notice]: Syncing repository "Icinga Stable Web"
[Warning]: You have to add host and username to your "-Path" argument. Example: "icinga@icinga.example.com:/var/www/icingarepo/"

Cheers,
Marcus

@LordHepipud LordHepipud added Bug There is an issue present Investigation The team is looking into the cause of the issue labels Jul 24, 2023
@LordHepipud LordHepipud self-assigned this Jul 24, 2023
@LordHepipud LordHepipud added this to the v1.11.0 milestone Jul 24, 2023
@LordHepipud LordHepipud removed the Investigation The team is looking into the cause of the issue label Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug There is an issue present
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants