AutoPkgr AFP MountURL error -1069

elund
New Contributor III

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!

6 REPLIES 6

bentoms
Release Candidate Programs Tester

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

elund
New Contributor III

@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

jennifer
Contributor

@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.

elund
New Contributor III

Check out - https://github.com/lindegroup/autopkgr/issues/177 - It sounds like special characters are the cause.

jennifer
Contributor

@elund Yup. Logged the issue on the github page, and we came to that conclusion as well.

elund
New Contributor III

Thanks all for the help!!