does anyone uses a Mac and Docker Desktop (<https:...
# docker
a
Sounds like mutagen version problem.
Copy code
Support for Docker Compose is new in Mutagen v0.12 (which is still in beta) so you'll need to install it from the Mutagen beta channel
But at the same time
Copy code
brew install mutagen-io/mutagen/mutagen-beta
will install 0.13.0 instead of 0.13.0-alpha4 - this leads to no compose support. I can not make it work to got back to alpha-4 yet. any ideas?
c
i think it don't work anymore
p
heyhey, it is currently not working anymore. I try to clearify internally and in the mutagen-slack-channel
c
thanks for your help @plain-city-95899
p
Can you please try the following and report back? Seems to work: Optional:
Copy code
brew uninstall mutagen-io/mutagen/mutagen-beta
Needed:
Copy code
cd "$(brew --repo mutagen-io/homebrew-mutagen)" && \
git checkout bd8b45734ceebb24a9b11cbae7ff9f1623cfb737 && \
HOMEBREW_NO_AUTO_UPDATE=1 brew install mutagen-io/mutagen/mutagen-beta && \
mutagen daemon stop  && \
mutagen daemon start && \
cd -
🎉 1
c
i have to unlink the old version and execute:
brew link mutagen-beta
After deamon stop and start it works
p
can you try mutagen daemon restart ?
kk, i updated my snippet in the meantime
did you use the previous one without stop/start ?
c
i do the following steps:
Copy code
brew uninstall mutagen-io/mutagen/mutagen
then:
brew unlink mutagen@0.12
Copy code
cd "$(brew --repo mutagen-io/homebrew-mutagen)" && \
git checkout bd8b45734ceebb24a9b11cbae7ff9f1623cfb737 && \
HOMEBREW_NO_AUTO_UPDATE=1 brew install mutagen-io/mutagen/mutagen-beta && \
mutagen daemon stop  && \
mutagen daemon start && \
cd -
then:
brew link mutagen-beta
then:
mutagen daemon stop
mutagen daemon start
then:
docker/sdk up
👍 1
p
ok, good to know. for me the unlink and link was not needed with the uninstall
c
I had tried a few things in advance, so it may be that I needed a few more commands as you 😄
Thank you very much for your help @plain-city-95899
p
No problem. Lets see how we can prevent that others struggle with the same problem 💪
h
https://github.com/mutagen-io/mutagen/releases
v0.13.0
got released..so what do I need to get things up and running?
after reading through the comments and running the provided commands it's clear that a 0.13 beta is required and 0.13 stable won't work
p
That is correct @happy-addition-42792. The reason behind this is that Spryker still requires compose v1 but the mutagen project removed the support and focus on compose v2 in a separate project.
w
Thanks for this thread, I was able to resolve my issue as well. Maybe provide this in the installation documentation in Spryker?
p
It is already in the process - the docs-change should be deployed soonish
👍 1
h
@plain-city-95899 if you ever update the page add
brew pin mutagen-io/mutagen/mutagen-beta
after the installation as otherwise the next
brew upgrade
will update to 0.13.0..almost happened to me today
p
Thank you, I will forward it! I hope we will have soonish a prettier solution 🤞
m
I am getting an error following your Instructions @plain-city-95899.
cd "$(brew --repo mutagen-io/homebrew-mutagen)" && \
git checkout bd8b45734ceebb24a9b11cbae7ff9f1623cfb737 && \
HOMEBREW_NO_AUTO_UPDATE=1 brew install mutagen-io/mutagen/mutagen-beta && \
cd -
Will result in cd: no such file or directory: /opt/homebrew/Library/Taps/mutagen-io/homebrew-mutagen Do you have any hint for me?
p
what does
mutagen version
return for you?
m
Nothing, since the first command should install it and fails
p
what does
pwd
return for you?
m
my home directory /Users/ankert/Dev
p
so
Copy code
cd "$(brew --repo mutagen-io/homebrew-mutagen)"
will throw this exception?
m
Correct
p
hmmm… let me google
what for a homebrew version do you have?
brew
--version
m
Homebrew 3.3.13
Fresh install
p
what do you get for
brew --repo mutagen-io/homebrew-mutagen
m
/opt/homebrew/Library/Taps/mutagen-io/homebrew-mutagen
p
hmm… i get
/usr/local/Homebrew/Library/Taps/mutagen-io/homebrew-mutagen
m
Same version?
p
yes, but is just updated
a
https://docs.brew.sh/Installation
Copy code
This script installs Homebrew to its preferred prefix (/usr/local for macOS Intel, /opt/homebrew for Apple Silicon
m
Ah, yes. It´s an M1...
p
sry, can not help right now but I will try to get a clean m1 computer to test it asap
🙌 1
a
So was mutagen already installed or not?
m
No, first time fresh install following your guide
a
Then please install any version and /opt/homebrew/Library/Taps/mutagen-io/homebrew-mutagen should appear afterwards.
Because the sequence you mentioned at the beginning is supposed to fix existing version of mutagen to the "right" one.
p
it is also supposed to work on a clean install - thats why i will look into this
a
Ooops. Sorry then.
p
but your workaround proposal makes totally sense
m
And it also works. I can confirm that after running:
brew install mutagen-io/mutagen/mutagen-beta
and then running your "fix" script, it reverts back to 13.4 beta correctly
Thanks a lot!
p
I can reproduce it on a complete clean intel mac - will work on another solution. Thanks for reporting
h
even with 0.13.4 beta4 Spryker doesn't work for me on a M1 MacBook
a
Is the error the same?
Copy code
Error: unknown command "compose" for "mutagen"
p
I started the process of updating the documentation. In the meantime the following should work on machines which never saw mutagen before (and the ones who removed it):
Copy code
brew tap mutagen-io/homebrew-mutagen && \
cd "$(brew --repo mutagen-io/homebrew-mutagen)" && \
git checkout bd8b45734ceebb24a9b11cbae7ff9f1623cfb737 && \
HOMEBREW_NO_AUTO_UPDATE=1 brew install mutagen-io/mutagen/mutagen-beta && \
cd - && \
brew pin mutagen-io/mutagen/mutagen-beta
👍 4