Comments (11)
OS: MAC OS Monterey v12.3.1
Docker Sync Version: 0.7.2
Possible Cause:
The way i experienced this issue was to use git and checkout a different branch where some files in had been deleted. The deleted files did not get reflected in the container. So files which did not exist on host were still in the container.
Workaround:
I simply deleted the folder in PHPSTORM and then undo my delete. This forced docker-sync to delete the entire directory from the container and sync it again.
This might not be ideal for big projects as resync takes a while but if you know which folder is affected you can do targeted delete and undo.
Hope this helps someone out there until a fix is out.
from docker-sync.
@NikitaKharkov i'am sorry, i cannot invest my time here. You will need to jump on this yourself.
from docker-sync.
Same issue here : resolved if I choose gRPC FUSE on docker desktop not VirtioFS
from docker-sync.
I can say that in older (0.6.* I guess) version of docker-sync there was no problem with deleting files. Now I faced it again and again. For example, I rename the file and obverses 2 file in app folder: old and new one. And, of course, one in host folder
I tried to restart docker-sync, sync command - nothing happen until I manually delete the file.
My version is 0.7.2, image: eugenmayer/unison:2.51.3-4.12.0-AMD64
from docker-sync.
Small update - removing file from /host_sync
folder while being inside docker-sync container seems to trigger deletion
Reconciling changes
deleted ----> aa.xx
Propagating updates
UNISON 2.51.3 (OCAML 4.12.0) started propagating changes at 10:33:23.22 on 06 Jun 2022
[BGN] Deleting aa.xx from /app_sync
[END] Deleting aa.xx
UNISON 2.51.3 (OCAML 4.12.0) finished propagating changes at 10:33:23.22 on 06 Jun 2022
Saving synchronizer state
Synchronization complete at 10:33:23 (1 item transferred, 0 skipped, 0 failed)
Looking for changes
Reconciling changes
Nothing to do: replicas have not changed since last sync.
from docker-sync.
@EugenMayer Can you investigate this issue? Just check simple renaming and observe the issue.
I don't think it adds some effect but I did it Symfony project.
from docker-sync.
@NikitaKharkov Did you figure out a resolution for this?
from docker-sync.
I have the same issue, latest Monterey, latest docker-sync, latest Docker for Mac... as it starts to happen after Docker for Mac update or Monterey update, I suppose, it is related to one of this software... Trying to figure out, what exactly is causing the problem... because it is really difficult to work now...
from docker-sync.
Same issue here : resolved if I choose gRPC FUSE on docker desktop not VirtioFS
Can confirm that the switch to gRPC fixes the file deletion detection issue.
thanks for the tip @Gu3!
from docker-sync.
Same issue here : resolved if I choose gRPC FUSE on docker desktop not VirtioFS
Can confirm that the switch to gRPC fixes the file deletion detection issue. thanks for the tip @Gu3!
Can also confirm! Solved the issue for me, too.
Thanks alot, pointing this out @Gu3
from docker-sync.
I still have the issue, on MAC OS 12.6.3 with docker-sync v1.0.5, with gRPC FUSE on docker desktop 4.17.0
from docker-sync.
Related Issues (20)
- Feature Requestion: add update command HOT 1
- Default strategy for new Virtualization framework for Mac HOT 2
- Looking for changes - huge node_modules HOT 1
- External network access and permission problems
- Enforcing one-way sync HOT 3
- `docker-sync -n` should create dummy volumes for non-started syncs
- Cannot start docker-sync with macOS Monterey - Apple M1 Chip HOT 2
- Bug: Wrong Unison image is pulled on M1 Mac HOT 4
- Docker sync daemon is crashing HOT 5
- `initialize': uninitialized constant DockerSync::DockerComposeSession HOT 4
- docker-sync start success, but I can't use docker-sync logs HOT 3
- Fatal error with Unison because of wrong default exclude definitions HOT 3
- Error in RSync strategy using the `sync_excludes` setting: undefined local variable or method `excludes_list' HOT 1
- Sync issue on MacOS 13.0 HOT 26
- `expand_ignore_strings`: undefined method `append` for Array HOT 3
- What's the "extra care" for using unison on OSX with sleep/hibernate. HOT 3
- Add support for passing --env-file to docker-sync start (using ENV file with/from different name or location)
- docker-sync start failed - /tmp/supervisor.sock no such file
- /docker-sync-1.0.5/tasks/sync/sync.thor:69:in `kill': Operation not permitted (Errno::EPERM) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-sync.