Posted on 11-03-2014 07:03 AM
AutoPkgr looks so great, I look forward to putting it to work. However I am running into an issue that I am not able to figure out. Been digging around for a solution. Could I get some help please?
The err. . . .
Error running recipes
mount_afp: AFPMountURL returned error -1069, errno is -1069
Traceback (most recent call last):
File "/usr/local/bin/autopkg", line 1334, in
sys.exit(main(sys.argv))
File "/usr/local/bin/autopkg", line 1328, in main
exit(subcommands[verb]'function')
File "/usr/local/bin/autopkg", line 1152, in run_recipes
autopackager.process(recipe)
File "/Library/AutoPkg/autopkglib/init.py", line 466, in process
self.env = processor.process()
File "/Library/AutoPkg/autopkglib/init.py", line 295, in process
self.main()
File "/Library/AutoPkg/autopkglib/JSSImporter.py", line 591, in main
self.package = self.handle_package()
File "/Library/AutoPkg/autopkglib/JSSImporter.py", line 295, in handle_package
self.j.distribution_points.mount()
File "/Library/Python/2.7/site-packages/jss/distribution_points.py", line 117, in mount
child.mount()
File "/Library/Python/2.7/site-packages/jss/distribution_points.py", line 206, in mount
subprocess.check_call(args)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 542, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['mount', '-t', 'afp', u'afp://User:Pass@ServerAddress:548/Mac_Server_Distribution_Point', '/Volumes/MacCasperShareMac_Server_Distribution_Point']' returned non-zero exit status 211
We have two Distribution Points. The primary is a Windows box and the other is a Mac mini Server. From the Finder I can connect up to either server Distribution Point with no issues.
Learning lots, but a lot of this still quite new to me. Thanks for the help!
Posted on 11-03-2014 07:40 AM
I'm guessing your primary DP is an SMB share as it's on windows?
That may well be why you're seeing that issue.
Can you log an issue on: https://github.com/lindegroup/autopkgr/issues
Posted on 11-03-2014 08:16 AM
@bentoms, yes the primary DP is an SMB share on windows. I posted on github as well. Hope to find a solution or answer. Thanks
Posted on 11-03-2014 12:03 PM
@elund I'm getting the same error you are. Some of the line numbers are different, but everything else is identical. However, I'm only using a Mac share for my DP.
Posted on 11-04-2014 07:23 AM
Check out - https://github.com/lindegroup/autopkgr/issues/177 - It sounds like special characters are the cause.
Posted on 11-04-2014 07:27 AM
@elund Yup. Logged the issue on the github page, and we came to that conclusion as well.
Posted on 11-06-2014 07:44 AM
Thanks all for the help!!