ksync: Version 0.3.2 fails the installation on Mac / Minikube (version mismatch)

I am trying to ksync init on a Mac with Minikube. I get the following error:

$ ksync init
==== Preflight checks ====
Cluster Config                              ✓
Cluster Connection                          ✓
Cluster Version                             ✓
Cluster Permissions                         ✓

==== Cluster Environment ====
Adding ksync to the cluster                 ✓
Waiting for pods to be healthy              ✓

==== Postflight checks ====
Cluster Service                             ✓
Service Health                              ✓
Service Version                             ✘
↳	There is a mismatch between the local version (0.3.2) and the cluster ().

Run 'ksync init --upgrade' to fix.
FATA[0002]

$ ksync version
ksync:
	Version:    Release
	Go Version: go1.11
	Git Commit: f11433e
	Git Tag:    0.3.2
	Built:      Mon Sep 24 17:01:11 +0000 2018
	OS/Arch:    darwin/amd64
service:
	Version:    Release
	Go Version: go1.11
	Git Commit: f11433e
	Git Tag:
	Built:      Thu Sep 27 18:40:39 +0000 2018

$ ksync init --upgrade
==== Preflight checks ====
Cluster Config                              ✓
Cluster Connection                          ✓
Cluster Version                             ✓
Cluster Permissions                         ✓

==== Cluster Environment ====
Adding ksync to the cluster                 ✓
Waiting for pods to be healthy              ✓

==== Postflight checks ====
Cluster Service                             ✓
Service Health                              ✓
Service Version                             ✘
↳	There is a mismatch between the local version (0.3.2) and the cluster ().

Run 'ksync init --upgrade' to fix.
FATA[0016]

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 21

Most upvoted comments

F.Y.I. got it working with:

ksync clean --remote
ksync init --upgrade --remote --image=vaporio/ksync:0.3.2-hotfix

Sorry, I should have been more explicit. The problem happens sometimes when it pulls the wrong release (we’re not quite sure why). You can specify which release to use with the --image=vaporio/ksync:<version tag> flag

So you’ll want to run ksync clean --remote followed by ksync init --image=vaporio/ksync:0.3.2

Sorry to open up the issue again but I seem to encounter the same error but with 0.3.2-hotfix on Ubuntu

$ ksync init ==== Preflight checks ==== Cluster Config ✓ Cluster Connection ✓ Cluster Version ✓ Cluster Permissions ✓

==== Cluster Environment ==== Adding ksync to the cluster ✓ Waiting for pods to be healthy ✓

==== Postflight checks ==== Cluster Service ✓ Service Health ✓ Service Version ✘ ↳ There is a mismatch between the local version (0.3.2-hotfix) and the cluster ().

Run ‘ksync init --upgrade’ to fix. FATA[0000]

Running ksync init --upgrade does not work nor does the clean and init (with image tag) commands

Thanks for pointing this out, I’ve been meaning to add it to the readme. I’ll do it shortly! 😦

Thanks @srfrnk those worked for me as well on a first-time install. Maybe this should be added to the readme until the fix is worked out? Makes for a rough initial impression following curl https://vapor-ware.github.io/gimme-that/gimme.sh | bash.