• Mac OS X

    The Cloud Kit Key State Controller

    Each key in the Cloud Kit Key State Controller is considered a “View” with a number of metadata values. Views include AutoUnlock, Engram, Health, Home, ApplePay, and Manatee views. The /usr/sbin/ckksctl binary can be used to reset keys, useful when troubleshooting sync issues.  To start, let’s run a status: sudo /usr/sbin/ckksctl status To reset, run the command again, with a reset verb: sudo /usr/sbin/ckksctl reset

  • cloud,  Mac OS X,  Mac Security

    Reset Connections To ApplePay and Health With ckksctl

    I’ve seen a few issues now where ApplePay and Health stopped working properly on a Mac and iOS device and when you fixed one, it seemed to wreck the connection with the other. Turns out that the information on a local system is managed with the new(ish) ckksctl command. Using ckksctl is pretty straight forward. First, let’s look at what’s on the Mac, using the ckksctl command with the status verb: /usr/sbin/ckksctl status There will be a section for ApplePay and another for Health. Here, if the services are configured, you should see the following in that section: CloudKit account: logged in Now, let’s force a pull of what’s in…

  • Mac OS X Server

    Reset Apache In OS X Server To Factory Defaults

    The serveradmin command can also be used to run commands. For example, to reset the service to factory defaults, backup then delete the configuration files for each site and then run the following command: sudo serveradmin command web:command=restoreFactorySettings This is pretty timely as I’ve seen a very high rate of pretty messed up configurations from the Server 4 to Server 5 upgrades. Basically, what seems to happen is that older servers, that were running let’s say Server 2 and Server 3 and Server 4 and now Server 5 will have a little cruft. Sites with older configurations that are incompatible with the latest proxy-based config. And finding the specific problem vs the…

  • Apple Watch

    Reset A Forgotten PIN Code On An Apple Watch

    If you use Apple Pay, you’ll be forced to configure a PIN code on that shiny new Apple Watch of yours. If you forget that PIN code, you’ll likely end up on Google looking for a way to unlock it. Never fear, the Googs has come to the rescue. There are a few different options. If you selected to unlock with a phone unlock, then you need only unlock your phone. But if you did that, you wouldn’t be here… The next option is to log in and reset the watch manually. But again, if you could do that, you wouldn’t be here… So next, grab your charger and then…

  • Apple Watch

    Factory Reset Your Apple Watch

    You loved your Apple Watch. It was awesome. But then something happened. Maybe it got glitchy. Maybe it got weird. Maybe you want to sell it and so just want to get it back to factory defaults first. Well, either way it’s easy. To reset your watch, open the Settings app. Open the General app. Tap Reset at the bottom of the list. When prompted, tap Erase All Content and Settings on the Apple Watch. Once done, unless you’re getting rid of the watch, you’ll want to pair it again. To do so, follow the instructions in this article: https://krypted.com//apple-watch/set-up-your-new-apple-watch. Or, you can restore your device by selecting a device to restore the…

  • Mac OS X Server,  Mass Deployment

    Reset the Server App in Yosemite Server

    The Server 3 app that comes with Yosemite (aka Yosemite Server if you’re a Yosemite Sam fan) is great. But when you go making changes to some things, you’re just going to cause problems, sometimes something as simple as just upgrading to the latest and greatest version of Server… I know, you’ve been told that host name changes and IP changes are all kinds of OK at this point; “look, Charles, there’s a button!” Well, go ahead, click it. Don’t mind me, you might just be alright. But then again, you might not… And upgrades that use a migration wizard… Um, when it works it’s a thing of beauty. But…

  • Kerio,  Mac OS X,  Mac OS X Server

    Resolving Corrupt journal.db Files in Kerio

    Sometimes it seems like sqlite just isn’t equipped for some tasks. Sometimes it seems like some developers aren’t. Sometimes it ends up being a mystery as to what is really going on behind the scenes. Like watching CNN on a television right next to Fox News at the gym. Both can’t be reality. But what is real, is that journabl.db files get corrupt in Kerio all the time. And the logs often say something about SQLITE_CORRUPT &/or “database disk image is malformed”. To correct, first stop the Kerio server, then nuke the .journal.db file. Assuming the mail store is /usr/local/kerio/mailserver/store/mail on a Mac (swap /usr/local with /opt if using Linux)…

  • Mac OS X,  Mac OS X Server,  Mac Security,  Mass Deployment

    Saved Application States in Lion

    Every new feature comes with its own troubleshooting as most will, if only eventually, have problems. Lion comes with a cool new feature where the state of each application is saved and when the application is re-opened the windows are just as you left them when closed, even in the same positions on the screen. This can be pretty useful with something like Terminal, where I often don’t restart the app for long periods of time because I want to see my recent history across multiple sudo’d users. When you open Terminal, the previous commands are grey, but there. But I’ve run into a few instances where an application crashed…

  • iPhone,  Mac Security

    Finding iOS Device PINs

    Each time you sync an iOS based device, a backup is made (unless you disable the option). These are stored in ~/Library/Application Support/MobileSync/Backup. Here you will find a number of folders, each beginning with the UDID of the iPhone, iPad or iPod Touch that has been backed up. The contents of these folders can be used to restore a device in the event that the device falls outside your control. Within the folders are a bunch of files with alphanumeric names that look garbled, even though some can be viewed using a standard text or property list editor (while others are binary). But there are also a bunch of other…