Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync session #40

Open
webphpprojects opened this issue May 13, 2020 · 2 comments
Open

Sync session #40

webphpprojects opened this issue May 13, 2020 · 2 comments

Comments

@webphpprojects
Copy link

webphpprojects commented May 13, 2020

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

@webphpprojects
Copy link
Author

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?

@georgiandinca
Copy link

georgiandinca commented Mar 23, 2021

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants