Coder Social home page Coder Social logo

Comments (11)

makproductions avatar makproductions commented on June 10, 2024 3

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.

EugenMayer avatar EugenMayer commented on June 10, 2024 3

@NikitaKharkov i'am sorry, i cannot invest my time here. You will need to jump on this yourself.

from docker-sync.

Gu3 avatar Gu3 commented on June 10, 2024 2

Same issue here : resolved if I choose gRPC FUSE on docker desktop not VirtioFS

from docker-sync.

NikitaKharkov avatar NikitaKharkov commented on June 10, 2024 1

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.

konrad-o avatar konrad-o commented on June 10, 2024

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.

NikitaKharkov avatar NikitaKharkov commented on June 10, 2024

@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.

jasonandres avatar jasonandres commented on June 10, 2024

@NikitaKharkov Did you figure out a resolution for this?

from docker-sync.

Housik avatar Housik commented on June 10, 2024

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.

Klizzy avatar Klizzy commented on June 10, 2024

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.

TheNapse avatar TheNapse commented on June 10, 2024

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.

demandre avatar demandre commented on June 10, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.