mattermost / migration-assist

A helper tool to automate MySQL -> Postgres migration for Mattermost
https://docs.mattermost.com/deploy/postgres-migration.html
2 stars 2 forks source link

not install. must match format 1.23 version #2

Closed radist closed 6 days ago

radist commented 3 months ago
$ go install github.com/mattermost/migration-assist/cmd/migration-assist@latest
go: github.com/mattermost/migration-assist/cmd/migration-assist@latest (in github.com/mattermost/migration-assist@v0.0.0-20240715125416-f0acdc2712eb): go.mod:3: invalid go version '1.22.2': must match format 1.23
ltsavar commented 3 months ago

same here

Sam-Runner commented 3 months ago

I encountered this issue running Ubuntu 22.04.4 LTS. I found is that the version of Go sourced by apt was stuck at v1.18. I was able to clear out the version supplied by apt, and use sudo snap install go --classic to install v1.22.5. After that, the go install command worked as expected.

agnivade commented 3 months ago

@radist - What is your Go version? I have 1.21.8 and it works fine.

lkroll commented 2 months ago

Using the golang package from Debian 12 I got the same error message when trying to install the migration-assistant.

Installing go 1.23 manually according to offical docs works however: https://go.dev/doc/install

agnivade commented 6 days ago

This has been open for a while without any response. Will go ahead and close it. Please let me know if you are still facing issues.