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

profiles get deleted when opening vscode from other machine #202968

Closed
scarf005 opened this issue Jan 22, 2024 · 14 comments
Closed

profiles get deleted when opening vscode from other machine #202968

scarf005 opened this issue Jan 22, 2024 · 14 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) settings-sync user-profiles User profile management
Milestone

Comments

@scarf005
Copy link

scarf005 commented Jan 22, 2024

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.85.2 (Universal)
  • OS Version: Darwin arm64 22.6.0

Steps to Reproduce:

  1. create a new profile (linux).
  2. ensure its settings are synced.
  3. open vscode from work machine (mac).
  4. new profile on work machine is not showing.
  5. return back to original machine (linux).
  6. new profile on original machine is also gone.

currently using export profile > gist to manually re-load profiles, but having to do this every day is a lot of work.

@sandy081
Copy link
Member

Can you please share the settings sync log from both machines while this is happening. You can find the log here

  • F1 > Open View... > Settings Sync

@sandy081 sandy081 added the info-needed Issue requires more information from poster label Jan 22, 2024
@scarf005
Copy link
Author

scarf005 commented Jan 24, 2024

wasn't able to get settings sync log from original machine, but this is the log from work machine (Daangn is the deleted profile in question)
userDataSync.log

also, the profile shows correctly on sync activity but not on choose profiles
image
image

@sandy081
Copy link
Member

From the machine where the profile is deleted, can you please share following

  • F1 > Developer: Download Settings Sync Activity

@scarf005
Copy link
Author

scarf005 commented Jan 25, 2024

this log is from my home machine.

additional context:

  1. re-created profile Daangn on work machine
  2. went back home, woke my home machine (from suspended state)
  3. in my home machine, the profile Daangn was deleted. settings sync activity: Linux (Code) #2 - Settings Sync Activity.zip
  4. went back to work, the profile Daangn was deleted in work machine as well. settings sync activity: Mac (Code) #2 - Settings Sync Activity 1.zip

@sandy081 sandy081 added settings-sync user-profiles User profile management labels Jan 25, 2024
@scarf005
Copy link
Author

scarf005 commented Feb 2, 2024

hi, this issue is persisting after i've upgraded vscode to 1.86.0, would there be anything i could help, e.g post more logs?

@m-thalmann
Copy link

m-thalmann commented Feb 13, 2024

Hi guys, I have the same exact issue. For me this issue does not happen each day, but still pretty often. I am switching between 3 different Windows machines.

I am using v1.86.1 (always updating as soon as possible)

grafik

Also reverting the change does nothing.

@sandy081 sandy081 added this to the March 2024 milestone Feb 22, 2024
@sandy081 sandy081 added bug Issue identified by VS Code Team member as probable bug and removed info-needed Issue requires more information from poster labels Feb 22, 2024
@fischerjd
Copy link

fischerjd commented Mar 4, 2024

My synced profiles are being deleted, also. I work in higher ed and use vscode on multiple computers throughout the day. Each time I launch vscode, some of my profiles are ALWAYS deleted. It happens every time I launch vscode. At this point I've stopped using the built-in settings sync feature, and have started using a Git repository to manage exported profile files.

@usersina
Copy link

usersina commented Mar 4, 2024

this log is from my home machine.

additional context:

  1. re-created profile Daangn on work machine
  2. went back home, woke my home machine (from suspended state)
  3. in my home machine, the profile Daangn was deleted. settings sync activity: Linux (Code) #2 - Settings Sync Activity.zip
  4. went back to work, the profile Daangn was deleted in work machine as well. settings sync activity: Mac (Code) #2 - Settings Sync Activity 1.zip

Same

@fischerjd
Copy link

fischerjd commented Mar 4, 2024

I should also mention that when I have settings sync turned on and I notice that a profile is missing, if I try to recreate the missing profile by manually importing a previously exported profile file (*.code-profile), the imported profile (within vscode) is automatically deleted almost immediately after it is imported. For example: With settings sync turned on,

  • I notice a previously created profile 'x' is missing / deleted.
  • I manually recreate the missing 'x' profile by importing that profile's settings from a previously-exported profile file (x.code-profile).
  • The imported profile 'x' briefly appears within vscode, but within a few seconds it disappears again.

@sandy081 sandy081 modified the milestones: March 2024, April 2024 Mar 20, 2024
@m3koenig
Copy link

m3koenig commented Mar 25, 2024

Happend to me again. A really heavy used Profile...gone....
Thats is realy bad...now I have to reinstall all my extensions that I had.
..
i realized that also my snippets are gone...are there any ideas how to get the profiles back?
This did not help:
https://code.visualstudio.com/docs/editor/settings-sync#_restoring-data

Because they are orderd by profile...and the deleted are not there.

@sandy081
Copy link
Member

sandy081 commented Apr 9, 2024

/duplicate

#208710

@sandy081 sandy081 removed the bug Issue identified by VS Code Team member as probable bug label Apr 9, 2024
@sandy081 sandy081 modified the milestones: April 2024, Backlog Apr 9, 2024
@vscodenpa vscodenpa added the *duplicate Issue identified as a duplicate of another issue(s) label Apr 9, 2024
@vscodenpa
Copy link

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.

Happy Coding!

@vscodenpa vscodenpa closed this as not planned Won't fix, can't repro, duplicate, stale Apr 9, 2024
@way-zer
Copy link

way-zer commented May 17, 2024

Are there any ideas how to get the profiles back?

There are profiles id and collection id in history, but no revert button.

@sandy081
Copy link
Member

Unfortunately profiles cannot be restored.

@microsoft microsoft locked and limited conversation to collaborators Jun 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) settings-sync user-profiles User profile management
Projects
None yet
Development

No branches or pull requests

8 participants