Calling Developers!
We are reenergizing our code contribution process! Learn More

What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Hi guys, it looks like the CLI container is not syncing the composer.lock back .. so if I ran a com

UM9F81RCP
UM9F81RCP Posts: 516 πŸ§‘πŸ»β€πŸš€ - Cadet

Hi guys,

it looks like the CLI container is not syncing the composer.lock back .. so if I ran a command that should update lock file .. the file is not getting updated locally … I deleted the file and when I ran composer install … I got lock file inside the container but not locally! any suggestions?

Thanks

Comments

  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice

    Do you run the application in "dev" or "prod" mode? Maybe you bootstrapped not with deploy.dev.yml and that is why it runs without file synchronization?

    If it's dev and you are on MacOS, maybe something went wrong with mutagen.

  • UM9F81RCP
    UM9F81RCP Posts: 516 πŸ§‘πŸ»β€πŸš€ - Cadet

    it is dev

  • UM9F81RCP
    UM9F81RCP Posts: 516 πŸ§‘πŸ»β€πŸš€ - Cadet

    I am on macOs

  • UM9F81RCP
    UM9F81RCP Posts: 516 πŸ§‘πŸ»β€πŸš€ - Cadet

    it looks like mutagen is working

  • UM9F81RCP
    UM9F81RCP Posts: 516 πŸ§‘πŸ»β€πŸš€ - Cadet

    or at least thats what it says

  • giovanni.piemontese
    giovanni.piemontese Technical Lead @ LΓΆffelhardt Spryker Solution Partner Posts: 871 πŸ§‘πŸ»β€πŸš€ - Cadet
    edited January 2022

    did u checked if the file is not ignored in .dockersyncignore?

  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice

    https://github.com/spryker/docker-sdk/blob/master/docs/09-troubleshooting.md#mutagen

    when There is a synchronization issue.
    
    then
    
    Restart your OS.
    Run the commands:
    docker/sdk trouble
    mutagen sync list
    mutagen sync terminate <all sessions in the list>
    docker/sdk up
    
  • UM9F81RCP
    UM9F81RCP Posts: 516 πŸ§‘πŸ»β€πŸš€ - Cadet

    dockersyncignore does not have any suspicious entries

  • UM9F81RCP
    UM9F81RCP Posts: 516 πŸ§‘πŸ»β€πŸš€ - Cadet

    it looks like the restart fixed it

  • UM9F81RCP
    UM9F81RCP Posts: 516 πŸ§‘πŸ»β€πŸš€ - Cadet

    thank you guys