DS does not work with 10.12.5??

Pretty serious failure here... Upgraded DS server from 10.11.6 to 10.12.5 and DS no longer works. DS is on latest 1.7.6, and was reinstalled for good measure.

The problem is it can't find it's own repository for some reason. Preference pane shows: "Repository access failure, please check the DeployStudio Server configuration with DeployStudio Assistant."There is no obvious reason for this. The repo can be mounted remotely by AFP and SMB with no issue. The server can be accessed by HTTPS with no issue. Everything was working before the OS update.

This seems to indicate that DS was never updated to be compatible with 10.12 or a recent update changed some of the system commands it was using previously? It's been over 4 months since there was an update to DS after all...

Running through the assistant to set up the master hits the same wall at the Repository Settings step ("The defined repository can not be mounted. Please check your settings"), again despite the fact that it's entirely reachable from other systems. Console shows these errors (with server info [removed]):

Re: DS does not work with 10.12.5??

It appears this is a bug in DS that has been around for at least 4 years and never been fixed (based on old threads). It seems there are two conditions regarding the share used for the repository for no clear reason:1. The share must be made AFTER you install Deploy Studio2. If you upgrade the OS, you MUST delete and re-make the shareThere is no good reason for this since the shares work fine in every way, it's just that DS can't see them properly for some reason unless you follow these rules. I assume it's somehow wrapped up in the whole "the OS can't open a connection to its own file shares and yet that's exactly what DS is doing" thing. While that still logically makes no sense in the upgrade scenario... there it is. Delete and remake the share, no need to re-configure DS, it just is suddenly able to find itself again after that.Really seems like this needs a bug fix, or at least a prominent FAQ.

Re: DS does not work with 10.12.5??

To be clear. You do not have to delete the shared folder that contains the repository. You just need to remove the share from Server.app and add that same folder again as a share.

edit: And it isn't "always" required. I just updated a 10.12.4 server to 10.12.5, and Server.app to 5.3.1. I did not have to reshare the repository.I guess it depends on which version of the OS you were previously on...

Re: DS does not work with 10.12.5??

> ebonweaver wrote:

> It appears this is a bug in DS that has been around for at least 4 years and never been fixed (based on old threads). It seems there are two conditions regarding the share used for the repository for no clear reason:1. The share must be made AFTER you install Deploy Studio2. If you upgrade the OS, you MUST delete and re-make the shareThere is no good reason for this since the shares work fine in every way, it's just that DS can't see them properly for some reason unless you follow these rules. I assume it's somehow wrapped up in the whole "the OS can't open a connection to its own file shares and yet that's exactly what DS is doing" thing. While that still logically makes no sense in the upgrade scenario... there it is. Delete and remake the share, no need to re-configure DS, it just is suddenly able to find itself again after that.Really seems like this needs a bug fix, or at least a prominent FAQ.

Why isn't this in bright red bold size 14 text as a sticky somewhere? Seriously, it needs to be in the patch notes or something..

I've just tested it and it does appear to have resolved an issue I have had after upgrading from 10.7.5 to Sierra 10.12.x and updating DS 50 1.7.6

Re: DS does not work with 10.12.5??

Possibly because it's an OS X Server issue, and not a DeployStudio Server specific thing?I don't know for sure. Just throwing that out there.

I do agree that a note could probably be put in the release notes as it does impact DeployStudio, but the issue has been brought up a couple of times in the past on the forum here. A search of the forum, for "upgrade 10.12" would result in at least one result in the top 10 returned topics covering the unshare/reshare solution.

Re: DS does not work with 10.12.5??

Posting this here to remind myself in the future and to potentially help others. It appears to be an issue with `opendirectoryd` not reading the plists in `/var/db/dslocal/nodes/Default/sharepoints` properly.