{"record":{"id":"ed206977dbfdd2c6","repo":"ipfs/kubo","slug":"your-programs-version-d-is-lower-than-your-repo","errorCode":null,"errorMessage":"Your programs version (%d) is lower than your repos (%d).\nPlease update ipfs to a version that supports the existing repo, or run\na migration in reverse.\n\nSee https://github.com/ipfs/fs-repo-migrations/blob/master/run.md for details.","messagePattern":"Your programs version \\((.+?)\\) is lower than your repos \\((.+?)\\)\\.\nPlease update ipfs to a version that supports the existing repo, or run\na migration in reverse\\.\n\nSee https://github\\.com/ipfs/fs-repo-migrations/blob/master/run\\.md for details\\.","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"repo/fsrepo/fsrepo.go","lineNumber":191,"sourceCode":"\t\tif !keepLocked {\n\t\t\tr.lockfile.Close()\n\t\t}\n\t}()\n\n\t// Check version, and error out if not matching\n\tver, err := migrations.RepoVersion(r.path)\n\tif err != nil {\n\t\tif os.IsNotExist(err) {\n\t\t\treturn nil, ErrNoVersion\n\t\t}\n\t\treturn nil, err\n\t}\n\n\tif RepoVersion > ver {\n\t\treturn nil, ErrNeedMigration\n\t} else if ver > RepoVersion {\n\t\t// program version too low for existing repo\n\t\treturn nil, fmt.Errorf(programTooLowMessage, RepoVersion, ver)\n\t}\n\n\t// check repo path, then check all constituent parts.\n\tif err := fsutil.DirWritable(r.path); err != nil {\n\t\treturn nil, err\n\t}\n\n\tif err := r.openConfig(); err != nil {\n\t\treturn nil, err\n\t}\n\n\tif err := r.openUserResourceOverrides(); err != nil {\n\t\treturn nil, err\n\t}\n\n\tif err := r.openDatastore(); err != nil {\n\t\treturn nil, err\n\t}","sourceCodeStart":173,"sourceCodeEnd":209,"githubUrl":"https://github.com/ipfs/kubo/blob/329838acdfafae224582930457efe80aa217afc0/repo/fsrepo/fsrepo.go#L173-L209","documentation":"Error \"Your programs version (%d) is lower than your repos (%d).\nPlease update ipfs to a version that supports the existing repo, or run\na migration in reverse.\n\nSee https://github.com/ipfs/fs-repo-migrations/blob/master/run.md for details.\" thrown in ipfs/kubo.","triggerScenarios":"Thrown at repo/fsrepo/fsrepo.go:191 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Upgrade kubo to a version whose RepoVersion is >= the on-disk repo version","Or run fs-repo-migrations in reverse to downgrade the repo (https://github.com/ipfs/fs-repo-migrations/blob/master/run.md)","Check with the error's second number what repo version is on disk before choosing"],"exampleFix":null,"handlingStrategy":"fallback","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"329838acdfafae224582930457efe80aa217afc0","analyzedAt":"2026-09-03T18:30:52.135Z","contentChangedAt":"2026-09-03T18:30:52.135Z","schemaVersion":2},"datasetVersion":"2026-09-11T00:17:11.886Z"}