m2c
m2c copied to clipboard
Sync session
Hello again :)
I have a problem with synchronization. Each time I make any changes on my host (mac os) I have to push these changes to container using m2c push my_directory
. Is it normal?
I think I find a way to enable synchronization, but I found also a bug:
➜ my_project ✗ m2c sync start
Error: project already running
➜ my_project ✗ m2c stop
[Mutagen sync]
Terminating sync sessions.................................................... ✔
[Stopping docker containers]
Redis........................................................................ ✔
Db........................................................................... ✔
PHP.......................................................................... ✔
phpMyAdmin................................................................... ✔
Xdebug....................................................................... ✔
Nginx........................................................................ ✔
➜ my_project ✗ m2c sync start
[Starting docker containers]
Redis........................................................................ ✔
Db........................................................................... ✔
Xdebug....................................................................... ✔
phpMyAdmin................................................................... ✔
PHP.......................................................................... ✔
Nginx........................................................................ ✔
[Mutagen sync]
Creating sync sessions....................................................... ✔
Error: project already running
So the command m2c sync start
is finished with error, however sync session is created
Hello,
after few months I have other issue related to sync session. This happens after updating to lates m2c tool version (0.10.5). For command:
m2c sync status
the response is:
Error: project not running
For others - same response - only for m2c sync flush
I have other error:
Unknown argument ``. Run
m2c sync --help for usage information.
Could you check?
Hi, for me on the latest OS now - macOs BigSur v. 11.2.3 (20D91) I have the following issues: I can't stop the Mutagen sync session and I don't know why:
the stop command stayed over night with no ending:
❯ m2c stop [Mutagen sync] Terminating sync sessions.................................................... ⠇^C
The flush command give same issue as above:
❯ m2c sync flush Unknown argument ``. Run `m2c sync --help` for usage information.
After that a status command showing still working sessions:
❯ m2c sync status Synchronization sessions: -------------------------------------------------------------------------------- Name: src Identifier: sync_EdIsGmldbezM4GItdsywgYjOsMmqVVh4wCTaouVi6YE Labels: io.mutagen.project: proj_OpJv38iI33ylQwCjZ8Cg1l433lvNaHTUzT6YseaamW8 Alpha: URL: /Users/georgiandinca/mage2click Connection state: Connected Beta: URL: docker://mage2click.test__php/var/www/html DOCKER_HOST= DOCKER_TLS_VERIFY= DOCKER_CERT_PATH= DOCKER_API_VERSION= Connection state: Connected Status: Scanning files -------------------------------------------------------------------------------- Name: vendor Identifier: sync_3BvDJC55sv81PRtPiB5pO63uP6cS8BqYhTPBnduVMhX Labels: io.mutagen.project: proj_OpJv38iI33ylQwCjZ8Cg1l433lvNaHTUzT6YseaamW8 Alpha: URL: docker://mage2click.test__php/var/www/html/vendor DOCKER_HOST= DOCKER_TLS_VERIFY= DOCKER_CERT_PATH= DOCKER_API_VERSION= Connection state: Connected Beta: URL: /Users/georgiandinca/mage2click/vendor Connection state: Connected Status: Watching for changes --------------------------------------------------------------------------------
and a explicit sync stop command was again hanging:
❯ m2c sync stop Terminating session sync_EdIsGmldbezM4GItdsywgYjOsMmqVVh4wCTaouVi6YE...
Same for pause
My Mutagen version is:
❯ mutagen version
0.11.8
and M2c version is v.10.10.5
I tried the commands with sudo as well - same behaviour.
Can someone point me in the right direction?