AFP/ URL Error in Munki Setup

606 views
Skip to first unread message

richard...@mcsslc.com

unread,
Sep 30, 2014, 4:58:15 PM9/30/14
to munk...@googlegroups.com
Hello Everyone!

I was hoping for a bit of help with my first Munki setup. I'm trying to use one of my mac's as the "server" machine and share its repo through afp, but I keep getting this error message when I try and connect to it from a different 'client' mac:

ERROR: managedsoftwareupdate: server check for afp://192.168.0.92/munki_repo/ failed: (-1, 'Unsupported URL scheme')

I've kept trying to modify the munkiimport --configure section for "Repo fileshare URL afp://192.168.0.92/munki_repo)" , as well as the corresponding line on the client preferences: /Library/Preferences/ManagedInstalls SoftwareRepoURL "afp://192.168.0.92/munki_repo" , but nothing that I change seems to work.

 I can successfully connect to the munki_repo folder from the client in file-share, so I know that the basic connection is sound. 

I have a feeling that i'm missing something glaringly obvious so I hate to have to ask, but I'm totally stumped so I'm throwing out a line.

Thanks for any thoughts or suggestions!

~R. 

Gregory Neagle

unread,
Oct 1, 2014, 1:15:46 PM10/1/14
to munk...@googlegroups.com
On Sep 30, 2014, at 1:58 PM, richard...@mcsslc.com wrote:

Hello Everyone!

I was hoping for a bit of help with my first Munki setup. I'm trying to use one of my mac's as the "server" machine and share its repo through afp, but I keep getting this error message when I try and connect to it from a different 'client' mac:

ERROR: managedsoftwareupdate: server check for afp://192.168.0.92/munki_repo/ failed: (-1, 'Unsupported URL scheme')

I've kept trying to modify the munkiimport --configure section for "Repo fileshare URL afp://192.168.0.92/munki_repo)" , as well as the corresponding line on the client preferences: /Library/Preferences/ManagedInstalls SoftwareRepoURL "afp://192.168.0.92/munki_repo" , but nothing that I change seems to work.

You can mount the share via afp for admin work, but the Munki client does not support afp URLs. It supports http:, https: and file: URLs. Typically you'll use http/https:


Assuming the repo _is_ accessible via http:

sudo defaults write /Library/Preferences/ManagedInstalls SoftwareRepoURL "http://192.168.0.92/munki_repo"

richard...@mcsslc.com

unread,
Oct 6, 2014, 4:09:57 PM10/6/14
to munk...@googlegroups.com
That solved it. Thanks for clarifying Greg, very much appreciated. :-)

Cheers,

~R. 
Reply all
Reply to author
Forward
0 new messages