Saturday, November 21, 2020
Blogger will republish old posts with new dates but keep old URL
Updating macOS - the paranoid approach (updated from 2008)
- Make a fresh Aperture backup (still using it!) from within Aperture.
- Test both my Carbon Copy Cloner and Time Machine backups including a test file restore. I create two CCC clones and take one off-site. I don't usually make bootable clones but I do this time.
- Remove my backup drives.
- Disconnect everything.
- Reset SMC, reset NVRAM.
- Run hardware diagnostics, Onyx cleanup, and Same Mode boot.
- Turn off Time Machine backup.
- Update OS.
- Login to each user account on the machine and get iCloud working, check that Google services are connected (Mail, etc), run Notes, Contacts, Mail, etc.
- Do backup to fresh carbon copy cloner drive. Note Time Machine is still off.
- Check the backups are working so I know I have a current backup of data. I like to do a test restore of randomly selected file.
- Have another machine available in case the update runs into problems -- you may need Google.
- Don't do the OS update on a desktop machine during bad weather. This is a bad time to have a power failure. Make sure you can't accidentally pull a plug or turn off the power. (I once bricked a peripheral by hitting a power switch with my foot.)
- Do a safe boot to clean up the system and verify the drive.
- Disconnect all USB hubs and all firewire devices. Attach only an Apple keyboard and an Apple mouse.
- Pull the network cable (see below). You can plug it in when you need to get software updates. Nowadays there are all sorts of things a partly updated machine can destroy if it can get a the net.
- Restart then remove Preference Panes from admin account (ctrl-click then delete in preference view). Review and remove suspicious login items. Use Spotlight to find all apps or utilities with a date prior to 2004 - remove any that aren't needed.
- Uninstall known bad actors. I know, for example, that my copy of Missing Sync for Palm OS won't work with 10.5. I don't need it any more, so time to use the uninstaller. Remove Retrospect's client if present, that will need to be reinstalled.
- Turn off sync services, such as Spanning Sync. Don't turn them on again until you've run iCal, Address Book, mail, etc for the first time. I recommend turning off everything related to synchronization, including .Mac/MobileMe, anything in iTunes, any add-on services. To be extra sure, pull the network cable durign the update. Don't allow the machine to access the net without your control.
- I've already removed the evil Adobe Acrobat Reader and RealAudio.
- Copy the 10.5.4 Combo Updater to the desktop. I don't want to run 10.5.2 a moment longer than necessary. Confirm I have plenty of free drive space left.
- Review Mac OS X 10.4, 10.5: About installation options so I don't miss the 'Archive and Install' option [1] . (Made that mistake before!)
- Insert DVD and click the install button.
- Go walk the dogs, do the dishes, etc. Just the DVD verification takes an age and a half. (Yes, you can skip the verification. I prefer to let it run.) The update should proceed without any questions, so you can let it go.
- After the upgrade and reboot it can take a long time for the admin account to come up. Be patient.
- Restart again (to let caches be build properly) then apply the 10.5.4 compo updater. The machine will restart.
- Check all login items for all users. There's a bug in the 10.5.2 Archive and Install procedure that can cause login items to be applied across user accounts.
- Check for other updates. I was surprised I had to install iTunes 8 again -- it had been installed earlier. I imagine if I hadn't done this, and I'd tried to sync to my iPhone, the heavens would have fallen. You have to keep checking until no new updates are found.
- Run iCal and Address Book. Anyone else notice that 10.5 Address Book backup is under the export/archive menu now? Back 'em both up before any iPhones sync.
- Enable Spanning Sync and do an iCal sync with gCal.
- Run Keychain Access and Keychain First Aid.
- Run any app that iTunes works with or that intersects with the iPhone.
- Cycle through all accounts, looking for obvious trouble.
- Hook up the peripherals, download drivers for the MacAlly keyboard, etc etc.
- Expect Spotlight to suck CPU and drive the fan until the search indices are rebuilt. Let it run overnight.
- The long recovery begins.
- MobileMe didn't appear in software update, so it was only when I went to the old .Mac preference panel that I was asked to update to MobileMe. This might have caused some problems if I'd installed MobileMe.
- iTunes regressed to an earlier version. I had to update to iTunes 8 again. This would have caused serious problems if I'd missed this.
- Spanning Sync keeps telling me its deleting appointments from Google Calendar, but it doesn't say what it's deleting. I don't know why this is happening.
- The update resurrected a number of old apps and login items that I thought were long gone. They're reaking havoc on my syncs.
macOS Mojave Safe Mode can take hours, the progress bar is no help. Also - Disk Utility and APFS
TL;DR
- When you startup in Safe Mode On MacOS Mojave the progress bar goes to 100% in a few minutes. It then sites there for a long time -- hours on my 3yo MacBook Air (APFS 256GB, half used).
- If you startup in ⌘R recovery mode it's not all obvious how to run Mojave Disk Utility First Aid on your encrypted data partition rather than the startup partition. (Different from running when logged in.)
- PS. Disk Utility changed in Catalina.
Sunday, September 27, 2020
Things I miss: drag and drop link creation
I've mentioned here a few times that progress is not linear. Howard Oakley has a piece on a related topic today. For example, no application has done text style management as well as Symantec's MORE 3.1 -- which died decades ago. I don't think we'll ever see the like of Apple's Aperture again -- an insanely ambitious app for professional image editing and especially image management. The iPhone is a bit of an improvement over the Palm III, but it took years to equal Palm's task, calendar and note management (yes, really).
Today I mourn one small example of lost progress. It used to be easy to create a link to a web page. You'd click on the something in your browser URL display and drag it onto your web page editor (MarsEdit, FrontPage, Word, some web client editors) and *bingo*, instant link. The page title was the link text, page URL was, well, the URL. I can't do that any more, at least for Blogger (which seems to be in some kind of resurrection lately).
One day ...
PS. Been a while since I thought of FrontPage/Vermeer - Microsoft's 1990s web site manager. It was the Aperture of its day. Very ambitious, buggy, often flawed, but nothing like it now. Parts of it survived into SharePoint Designer, but now that I've mentioned SharePoint I'm spiraling into PTSD ...
iCloud backup and my lost authenticator codes
When my local Apple store tech was unable to remove the battery from my iPhone 8 they gave me a new device -- which was SIM locked to AT&T.
Well, everyone has to start somewhere, including Apple techs. Hope they improve soon.
Anyway, between the initial restore and the factory reset to clear the SIM lock I've been through two iCloud restores in the past week.
iCloud restores kind of suck now. I think they worked better a few years ago. The good news is that my photos were restored (I don't use Apple Photos/iCloud so I needed that backup). The bad news is that so many apps needed credentials reentered or new certificates generated -- especially when doing a restore after a hardware change.
The worst news is that Google Authenticator lost my authenticator codes. As near as I can tell they are restored from iCloud if the hardware is unchanged, but not if the hardware changes. Or maybe it's a bug. Whatever the reason, I lost 'em.
It was suspiciously easy to regenerate Authenticator codes for my Microsoft account. Not too hard for Google either, because they've moved to preferring an Apple-like proprietary two factor authentication mechanism. It is a bummer for Dreamhost though -- so now I'm going through support to try to recover access to my domains and web content.
It's hard to reconcile security and backup/restore. For example, Google Wallet and your biometrics (finger/face) aren't backed up either. On the other hand your Keychain credentials are in iCloud, and anyone who can get into your iPhone can read all of your passwords (try: "Hey Siri, Show me my passwords" or see Apple's hidden password manager). So your 4 digit Apple device passcode is not a great idea.
PS. I'm storing Authenticator codes in 1Password now. Which, like most small company software, has its own security concerns, not least that it would be relatively easy for China, say, to acquire the company or insert a backdoor into the source code.
Saturday, September 19, 2020
ToDo apps: Microsoft's solution
I've used Appigo's ToDo app for about 12 years (with Toodledo at first). It's had problems over the years, but in general it's been a good subscription choice. There's a fairly hard data lock (maybe SQLite?) but manual reentry is feasible albeit annoying.
Lately, however, ToDo has been more ragged. A recent server side change induced a date bug (time zone?) that in turn showed me I was using a macOS app last updated in 2016. It appears to have been abandoned on the Mac App Store. When I went to Twitter I found Appigo's account was closed years ago for violating TOS. Eventually I found I could download a current version of their other App Store app from their web site.
At the moment the app is more or less working again, though parts of the macOS app UI are kind of weird. I figure there was some violent ownership transition with lost dev passwords in Appigo's history (maybe they got ransomwared?).
I decided to go shopping again. I'm looking at:
- Apple Reminders: hard data lock and I have to upgrade from Mojave to get to latest version (not happening).
- Google Todo: this is one hell of a weird product. WTF is their web strategy? Tied to Gmail? Tied to Calendar? At least there's data export.
- Things
- OmniFocus: poor Omni is in some disarray ...
- Microsoft To Do
- There are classic Outlook Tasks. I'll call these TasksClassic. TasksClassic was excellent in many ways, including, once upon a time, great import/export options and lots of view flexibility (I like to sort by last modified!). Unfortunately it's dead, just barely hanging on in the current desktop app with some degree of synchronization with the new product.
- There's the new Wanderlist-based product variable called Microsoft To Do and ... Outlook Tasks (name reuse!). I'll call these TasksW for Wanderlist.
- There are no great task managers for the iPhone - but there's hope for 2011: My current task list started out on the Palm III and has migrated many times. I probably have uncompleted tasks from the 1990s. I think we're coming to the end of that data migration though. Note from 2010: "Google might finally provide an API for Google Tasks, allowing iOS client development."
- My ancient spreadsheet on migrating from Palm to iPhone - I think I used Outlook Tasks as part of the migration process, or maybe even Microsoft Access. Alas, too long ago. Painful though.
Sunday, August 16, 2020
Can you do a Time Machine backup to a USB flash drive (thumb drive)?
I'd wondered if it was possible to do a Time Machine backup to a cheap Flash Drive. My daughter is going to college and probably doesn't have a great need for backup (iCloud Document/Desktop, iCloud Photo, Google Docs, etc) but I'd still like to do something.
So I wondered about a compact Flash Drive. In the twilight of the web Google couldn't find me an answer, so I ran my own test. I used an old San Disk Ultra Fit 128GB USB 3.0 Flash Drive in an old USB 2 MacBook Air running High Sierra. I formatted the Flash Drive as encrypted HPFS and let Time Machine run the backup.
It took about 4-5 hours to do the initial 80GB backup but it seemed to work fine.
I doubt these Flash Drives are super reliable, but I think this is an option. I can see taking advantage of it while traveling for example. Unfortunately her 2020 Air doesn't have an open USB slot where an Ultra Fit could live, but it could be a part of her Anker 7-1 USB-C docking station. A modern San Disk Ultra Fit USB 3.1 is $33.