Docker Community Forums

Share and learn in the Docker community.

Failed migration: failed to update app version history [macOS 10.12 beta)

Expected behavior

Should run application/installer. Help user to clean old data if needed.

Actual behavior

Gives error messages and stops.

Error Dialog is:

Failed migration: failed to update app version history

Information

macOS 10.12 Beta (16A238m)
Can’t run Moby as Application fails, but from Container I can gather that the version I installed is 1.12.0-rc3-beta18

Steps to reproduce the behavior

  1. Have old installation
  2. download latest version, overwrite Application. Start. Fail.

Still persists on

Docker for Mac: version: mac-v1.12.0-beta20
OS X: version 10.12 (build: 16A254g)

[ERROR]  docker-cli
         cannot find docker
         docker-cli check failed with: Failure("docker -v: timeout after 10.00s")
[OK]     app
[OK]     moby-syslog
[OK]     virtualization
[OK]     menubar
[OK]     system
[ERROR]  osxfs
         com.docker.osxfs is not running
[ERROR]  db
         Connection refused (ECONNREFUSED) connecting to /Users/admin/Library/Containers/com.docker.docker/Data/s40: check if service is running
         com.docker.db is not running
[ERROR]  slirp
         Connection refused (ECONNREFUSED) connecting to /Users/admin/Library/Containers/com.docker.docker/Data/s51: check if service is running
         com.docker.slirp is not running
[OK]     moby-console
[OK]     logs
[ERROR]  vmnetd
         /var/tmp/com.docker.vmnetd.socket does not exist
         Unexpected error (No such file or directory) connecting to /var/tmp/com.docker.vmnetd.socket
         /private/tmp/vmnetd/com.docker.vmnetd is not running
[OK]     env
[OK]     moby
[ERROR]  driver.amd64-linux
         Docker.app/Contents/MacOS/com.docker.driver.amd64-linux -db is not running

DiagnosticID 9BD4A950-2B07-413E-8D78-FE56313CD7C8

Found some hints in system.log. It seems there are some lingerings remnants of an old installation:

Jul 23 12:08:05 OlschBook Docker[69339]: Application version: 1.12.0-rc4-beta20 (10404)
Jul 23 12:08:05 OlschBook Docker[69339]: Administrator user: true
Jul 23 12:08:05 OlschBook Docker[69339]: OSX Version: Version 10.12 (Build 16A254g)
Jul 23 12:08:05 OlschBook Docker[69339]: migrator: start migration process
Jul 23 12:08:05 OlschBook Docker[69339]: migrator: previous install detected
Jul 23 12:08:05 OlschBook Docker[69339]: migrator: previous version is 1.11.0-beta6
Jul 23 12:08:05 OlschBook Docker[69339]: migrator: 15 migrations to perform
Jul 23 12:08:05 OlschBook Docker[69339]: migrator: migrating for version 1.11.0-beta7 …
Jul 23 12:08:05 OlschBook Docker[69339]: migrator: migration failed (1.11.0-beta7) (failed to update app version history)
Jul 23 12:08:05 OlschBook Docker[69339]: failed migration: failed to update app version history

How can I fix this?

Did you ever get Docker working again? I am just seing this same and have no idea where to go now.

I actually was able to run it successfully. I had to open and close the application a lot of times but sure enough it actually worked. There is (or was) something wrong with the migration script. It failed after each iteration but in the console.log I could actually see that when I closed the app,opened it again the error message changed in one tiny detail: the version number for which the migration failed . I had to catch up until the current version number (yes that meant closing and opening the app what felt like a million times