smos icon indicating copy to clipboard operation
smos copied to clipboard

Project with same name as archived project not syncing correctly

Open distefam opened this issue 2 years ago • 3 comments

I have two machines that sync with smos-sync-client sync every few minutes using a systemd timer. On my desktop machine I have a project, let's call it "project-a" that is up-to-date and has synced successfully. The smos online editor also shows this correct version.

There is also a project with the same name that has been archived, both on my desktop and on smos online.

On my laptop, which has also synced without any errors (viewing with --log-level Debug) I have "project-a" as an active project that has not been archived. There is no archived version of the project and the new project of the same name is nowhere to be found.

distefam avatar Nov 11 '23 04:11 distefam

@distefam this seems unlikely. Can you reproduce this somehow?

NorfairKing avatar Nov 11 '23 08:11 NorfairKing

This seems to do it on my end (related issue):

  1. Have project scheduled via smos-scheduler on machine a
  2. run smos-sync-service sync on machine a, then on machine b
  3. remove the project with rm projects/project.smos on machine a
  4. run smos-sync-service sync on machine a, then on machine b
  5. verify that the project still shows up on machine b

distefam avatar Nov 11 '23 12:11 distefam

Can I provide any logs or details from the specific issue I first mentioned, privately however? The projects are still out of sync and I can't figure out what's going on.

distefam avatar Nov 11 '23 12:11 distefam