{"id":669,"date":"2019-09-01T12:50:33","date_gmt":"2019-09-01T18:50:33","guid":{"rendered":"http:\/\/www.schwie.com\/brad\/?p=669"},"modified":"2019-09-01T12:50:33","modified_gmt":"2019-09-01T18:50:33","slug":"time-machine-and-same-username-bug","status":"publish","type":"post","link":"https:\/\/www.schwie.com\/brad\/?p=669","title":{"rendered":"Time Machine and Same Username Bug"},"content":{"rendered":"<p>We have a couple high capacity drives attached to a Mac mini running macOS Server on High Sierra. Family Macs use Time Machine to back up to these drives. At some point, my wife&#8217;s password on her Mac (running Mojave) changed from what was on the mini and Time Machine began to error out. Some foreshadowing: she uses the same username on the mini and her Mac.<\/p>\n<p>After her password on the mini changed, her Time Machine backups displayed the following error messages:<\/p>\n<p>&#8220;There was a problem connecting to the server&#8221;<br \/>\n&#8220;Time Machine can&#8217;t connect to the backup disk&#8221;<br \/>\n&#8220;OSstatus error 65&#8221;<\/p>\n<p>Basic troubleshooting called on me to make a manual connection using Finder (command K) from her Mac to the mini \u2013 mounting the drive was successful, so I went back to Time Machine and tried from there, but the same errors above barfed out. Frustrating.<\/p>\n<p>From Terminal on my wife&#8217;s Mac, I pasted in the following line:<\/p>\n<p><code>log show --predicate 'subsystem == \"com.apple.TimeMachine\"' --info | grep 'upd: (' | cut -c 1-19,140-999<\/code><\/p>\n<p>I pasted output from the command into Google and came across this post on Apple&#8217;s site:<\/p>\n<p><a href=\"https:\/\/discussions.apple.com\/thread\/7898878\">https:\/\/discussions.apple.com\/thread\/7898878<\/a><\/p>\n<p>Yes, Satrop&#8217;s issue and fix is it! The username on my wife&#8217;s Mac is identical to the username on the mini and somehow this disturbs things if the password changes. To get around this issue, I decided to use the following workaround, which is essentially changing the credentials on her Mac for how it mounts the mini. From her Mac I had to:<\/p>\n<p>1. Disable Time Machine by System Preferences->Time Machine->Select Disk&#8230;->(click the disk you&#8217;re trying to mount)->Remove Disk.<\/p>\n<p>2. In Keychain.app, remove all instances of the saved password to your NAS, in my case the mini. I searched for &#8220;mini&#8221; and &#8220;10.0.1.125&#8221; and deleted those instances.<\/p>\n<p>3. From Finder, mount the mini&#8217;s disk (Command K) using my own credentials, which obviously differ from hers.<\/p>\n<p>4. After the disk mounts, go back to System Preferences->Time Machine->Select Disk&#8230;->(select the mounted disk &#8211; I used AFP to mount the disk, so when I hovered over it I could see its address had the AFP protocol).<\/p>\n<p>5. Success! When you quit Time Machine preferences, it should automatically start a new backup (or continue an existing one).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We have a couple high capacity drives attached to a Mac mini running macOS Server on High Sierra. Family Macs use Time Machine to back up to these drives. At some point, my wife&#8217;s password on her Mac (running Mojave) &hellip; <a href=\"https:\/\/www.schwie.com\/brad\/?p=669\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-669","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/posts\/669","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=669"}],"version-history":[{"count":2,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/posts\/669\/revisions"}],"predecessor-version":[{"id":672,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/posts\/669\/revisions\/672"}],"wp:attachment":[{"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=669"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=669"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=669"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}