-
-
Notifications
You must be signed in to change notification settings - Fork 290
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
File deleted on host still exists in app container #804
Comments
Small update - removing file from
|
OS: MAC OS Monterey v12.3.1 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. Hope this helps someone out there until a fix is out. |
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 |
@EugenMayer Can you investigate this issue? Just check simple renaming and observe the issue. |
@NikitaKharkov i'am sorry, i cannot invest my time here. You will need to jump on this yourself. |
@NikitaKharkov Did you figure out a resolution for this? |
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... |
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. |
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 |
First of all thanks for this great piece of software. It really gives performance boost to rails app. We are trying to dockerise our codebase & everything seemed to work fine, but then we've realised that files deleted on host are still present in the app container.
Error
File deletion on host is not propagated into container. File creation on host and in app container is synchronised, same is for deletion of the file from within app container.
When inside docker-sync container file deleted on host disappears in
/host_sync
, but is still visible in/app_sync
.Unison log looks like file deletion has not been fired/detected.
What we've tried so far:
monit_enable: true
indocker-sync.yml
Logs/details below.
Docker Driver
Docker Desktop 4.6.1 & 4.9.0
docker-sync 0.7.2
Sync strategy
native_osx
your docker-sync.yml
OS
macOS Monterey 12.4 (21F79)
Output from
docker-sync start
docker sync container logs
The text was updated successfully, but these errors were encountered: