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

Pieces OS, Error! Access denied || My snippets disappeared #38

Closed
rosie-at-pieces opened this issue Jan 14, 2024 · 33 comments
Closed

Pieces OS, Error! Access denied || My snippets disappeared #38

rosie-at-pieces opened this issue Jan 14, 2024 · 33 comments
Assignees
Labels
app:pieces os bug Something isn't working

Comments

@rosie-at-pieces
Copy link
Collaborator

Original ticket:

Recent Pieces OS, Error! Access denied

Note: this issue was created automatically from an offline service ticket.

@rosie-at-pieces
Copy link
Collaborator Author

c998a9b004ec-Screenshot_2024_01_14_020126 (1)
97d168bd213f-Screenshot_2024_01_14_140450 (1)

@rosie-at-pieces
Copy link
Collaborator Author

rosie-at-pieces commented Jan 14, 2024

We are currently experiencing an issue withn Pieces OS version 7.2.2 where some users are getting "Access denied" messages and are unable to use their Pieces app. We are so sorry for this and are currently working on a solution.

If you are missing your snippets this was from an issue from 7.2.0 that 7.2.2 was seeking to fix.

Please watch this ticket for updates!

@khedhar108
Copy link

Error is removed but not able to access previously stored snippets.

@rosie-at-pieces
Copy link
Collaborator Author

Hi everyone, we have figured out the issue and will be releasing a fix (version 7.2.3) shortly. This was an unfortunate result of One Drive's built in backup mechanism that we don't have control of, but we are now aware of it and will cater for it in the future.

The new build should prevent this and resolve it for you if you are experiencing it, but if you are still running into the following error then you will likely need some manual intervention.

Screenshot 2024-01-15 at 11 59 01 AM

If you prefer to do this yourself, you can follow the steps in this video and please make sure you remove your com.pieces.os from your OneDrive/Document Folder.

Otherwise, please fill out this form and we will hop on a call with you ASAP to get it sorted out.

@rosie-at-pieces
Copy link
Collaborator Author

Update - version 7.2.3 is now available! Please see the comment above if you are having further issues.

@giovanniincammicia
Copy link

Hi, I actually started to have this issue with 7.2.3 (I updated a few minutes ago and restarted the pc).
I'd like to maintain my com.pieces.os folder in OneDrive so that I don't lose my snippets, as far as I understood, they're not saved in cloud (yet? It would be very useful for people working on multiple computers!).

@rosie-at-pieces rosie-at-pieces changed the title Pieces OS, Error! Access denied Pieces OS, Error! Access denied || My snippets disappeared Jan 16, 2024
@rosie-at-pieces
Copy link
Collaborator Author

rosie-at-pieces commented Jan 16, 2024

@giovanniincammicia we do not recommend maintaining a OneDrive/Documents/com.pieces.os directory as it can cause issues with Pieces' own path routing. If you want to backup your snippets we'd recommend saving the com.pieces.os folder within another directory labeled, "Pieces". So, for example, "Documents/Pieces/com.pieces.os".

You can't keep the com.pieces.os directory on the top of your OneDrive folder because it will conflict with our internal code

Are you missing your snippets currently or did 7.2.3 resolve that for you?

@rosie-at-pieces
Copy link
Collaborator Author

Hi everyone, quick update:

On Thursday, January 11th we released Pieces OS v7.2.0 which included several major and minor changes. Unfortunately, it introduced a problem specifically for Windows users who have OneDrive enabled that caused their snippets to disappear (they aren’t gone, Pieces just wasn’t routing properly to them).

We released 7.2.2 which subsequently didn’t resolve the issue for every user, and some users started to receive an Access Denied error.

We released 7.2.3 which again didn’t resolve the issue for every user.

We are releasing 7.2.4 as soon as we can which we are hoping will resolve everything. This means your snippets should be available again and you should have no connection issues or access denied errors.

We appreciate your patience as we work out this issue. When it’s available, please update to version 7.2.4 and then do not hesitate to reach out if you are still experiencing issues. We also would appreciate hearing if 7.2.4 worked for you so we can ensure success all around.

Thanks everyone!!

@rosie-at-pieces
Copy link
Collaborator Author

rosie-at-pieces commented Jan 16, 2024

Hi everyone! Huge thank you for your patience (and for being early adopters of Pieces!!). We have found a solution to all of the use cases and have released a new version with the fix: Pieces OS v7.2.4. Please go ahead and update to that version.

There are a few messages you may run into. These are expected and you can take the following actions:

If you see this, just select “Got It”:

error1

If you see this, select “Remove” (don’t worry, they are just getting moved to a better location):

error2

If you see this, you need to restart your machine:

error3

If you are a OneDrive user and you are still missing some snippets after updating to version 7.2.4, don’t worry, we can help you find them - just reach out to us using this form and we’ll get you fixed up.

Thank you again for all of your patience. Please let us know how this goes for you!
@mark-at-pieces @nathan-courtney-pieces

@furier
Copy link

furier commented Jan 16, 2024

Im getting this error with 7.2.4

image

as i mentioned in #41 I may have screwd it up even more as I paniced when I first encountered this issue.
I first experienced this issue on my home computer after upgrading to 7.2.2, then I used teamviewer to connect to my work pc where I could see that it was currently working and I ziped the Documents\com.pieces.os folder and restored it on my home computer before I was aware of the version difference, and since I have tried to restore files from my onedrive trashbin, so maybe I just screwd this up was to much trying to fix it...

@mark-at-pieces
Copy link
Member

Im getting this error with 7.2.4

image

as i mentioned in #41 I may have screwd it up even more as I paniced when I first encountered this issue. I first experienced this issue on my home computer after upgrading to 7.2.2, then I used teamviewer to connect to my work pc where I could see that it was currently working and I ziped the Documents\com.pieces.os folder and restored it on my home computer before I was aware of the version difference, and since I have tried to restore files from my onedrive trashbin, so maybe I just screwd this up was to much trying to fix it...

hey @furier, we have seen this case and is due to some funky behavior with OneDrive when there is a hybrid of data on the local device and within the cloud. Would you be available for a call? if so please ping me my email is [email protected], and we can get you up and running

@furier
Copy link

furier commented Jan 16, 2024

Im getting this error with 7.2.4
image
as i mentioned in #41 I may have screwd it up even more as I paniced when I first encountered this issue. I first experienced this issue on my home computer after upgrading to 7.2.2, then I used teamviewer to connect to my work pc where I could see that it was currently working and I ziped the Documents\com.pieces.os folder and restored it on my home computer before I was aware of the version difference, and since I have tried to restore files from my onedrive trashbin, so maybe I just screwd this up was to much trying to fix it...

hey @furier, we have seen this case and is due to some funky behavior with OneDrive when there is a hybrid of data on the local device and within the cloud. Would you be available for a call? if so please ping me my email is [email protected], and we can get you up and running

how do i call you via an email? 😅

@mark-at-pieces
Copy link
Member

Im getting this error with 7.2.4
image
as i mentioned in #41 I may have screwd it up even more as I paniced when I first encountered this issue. I first experienced this issue on my home computer after upgrading to 7.2.2, then I used teamviewer to connect to my work pc where I could see that it was currently working and I ziped the Documents\com.pieces.os folder and restored it on my home computer before I was aware of the version difference, and since I have tried to restore files from my onedrive trashbin, so maybe I just screwd this up was to much trying to fix it...

hey @furier, we have seen this case and is due to some funky behavior with OneDrive when there is a hybrid of data on the local device and within the cloud. Would you be available for a call? if so please ping me my email is [email protected], and we can get you up and running

how do i call you via an email? 😅

I sent you can email, I'll send a link over to you to join :)

@mark-at-pieces
Copy link
Member

Im getting this error with 7.2.4
image
as i mentioned in #41 I may have screwd it up even more as I paniced when I first encountered this issue. I first experienced this issue on my home computer after upgrading to 7.2.2, then I used teamviewer to connect to my work pc where I could see that it was currently working and I ziped the Documents\com.pieces.os folder and restored it on my home computer before I was aware of the version difference, and since I have tried to restore files from my onedrive trashbin, so maybe I just screwd this up was to much trying to fix it...

hey @furier, we have seen this case and is due to some funky behavior with OneDrive when there is a hybrid of data on the local device and within the cloud. Would you be available for a call? if so please ping me my email is [email protected], and we can get you up and running

how do i call you via an email? 😅

I sent you can email, I'll send a link over to you to join :)

We were able to resolve @furier issue w/ lost snippets, couple different solutions we had to work through.

TLDR: we were able to clean up some folders within the OneDrive Documents location, we found a good backup within the OneDrive recycling bin, and we were able to restore the Pieces folder with inthe proper location in the C:/Users/{USER}/Documents/com.pieces.os location.

Feel free to ping me if anyone is experiencing the same issue or any issues related to this :)

@hra42
Copy link

hra42 commented Jan 16, 2024

Maybe it would be best to move the data directories over from the documents folder into %appdata%\Mesh Intelligent Technologies, Inc\Pieces OS

It can happen occasionally that OneDrive pulls from the local documents folder into the onedrive/documents folder. Microsoft, themselves, recommends storing user data in the app data directories.

@nathan-courtney-pieces
Copy link

nathan-courtney-pieces commented Jan 16, 2024

@hra42

We looked into placing our data within AppData, but currently MSIX packages re-route into a containerized structure within C:\Users\your_user_name\AppData\Local\Packages\com.MeshIntelligentTechnologi.PiecesOS_84gz00a5z79wr\LocalCache\Local

Which if you ever uninstalled the application, all of your user-generated data would be deleted!

@hra42
Copy link

hra42 commented Jan 17, 2024

@nathan-courtney-pieces:
That's the detail I missed. What about using a hidden folder inside the user directory?

For example: \.pieces\Mesh Intelligent Technologies, Inc\Pieces OS

@nathan-courtney-pieces
Copy link

@hra42

That's a really good idea, that would be an awesome place to put that.

We will likely do something similar to this in the future. It will be added to our backlog, but another migration like this will be heavily beta tested before it gets rolled out to prevent these kind of issues. Likely Q2 of this year.

Thank you for the suggestion.

@giovanniincammicia
Copy link

@giovanniincammicia we do not recommend maintaining a OneDrive/Documents/com.pieces.os directory as it can cause issues with Pieces' own path routing. If you want to backup your snippets we'd recommend saving the com.pieces.os folder within another directory labeled, "Pieces". So, for example, "Documents/Pieces/com.pieces.os".

You can't keep the com.pieces.os directory on the top of your OneDrive folder because it will conflict with our internal code

Are you missing your snippets currently or did 7.2.3 resolve that for you?

Hi Rosie, thanks, version 7.2.4 solved it. When I first installed Pieces OS, it created the folder Documents/com.pieces.os and OneDrive, as of default, put it in the cloud. Now I have com.pieces.os(deprecated) and a new com.pieces.pfd folder.
I still don't see my snippets, should I do something to reroute Pieces OS? Should I remove the deprecated folder?

@furier
Copy link

furier commented Jan 18, 2024

When upgrading to 7.2.5 i now got this error and just when everything was working okay 🤦‍♂️😅
image

After rebooting my machine, and Pieces OS restarting and working a lot it seems to be working again...

@mark-at-pieces
Copy link
Member

When upgrading to 7.2.5 i now got this error and just when everything was working okay 🤦‍♂️😅 image

After rebooting my machine, and Pieces OS restarting and working a lot it seems to be working again...

We have seen this issue, and believe it is related to permission that are not properly refreshed untill after the first install @nathan-courtney-pieces would you mind taking a look into this issue?

@mark-at-pieces
Copy link
Member

, thanks, version 7.2.4 solved it. When I first installe

Hey @giovanniincammicia, inorder to get everything up and running we need the com.pieces.os to only be in the c:/users/{USER}/Documents folder.

if we detect a com.pieces.os folder in the OneDrive/Documents location, then we will attempt to move this to the c drive this is why your seeing com.pieces.os(deprecated) in the OneDrive location my email is [email protected], please feel free to reach out, if you have any issues and we can hop on a support call.

@furier
Copy link

furier commented Jan 18, 2024

@mark-at-pieces I was to quick to report everything as okay, the desktop app behaves as if it is a fresh install.
Pieces OS has backed up the one we fixed previously, or so we thought, and created a new one.

image

I imagine restoring the previous one again will just lead to the same problem?

@mark-at-pieces
Copy link
Member

mark-at-pieces commented Jan 18, 2024

the desktop app behaves as if it is a fresh install.
Pieces OS has backed up the one we fixed previously, or so we thought, and created a new one.

hmmm so after the update you found yourself with your snippets gone?(but the back up is there) @furier

This is absolutely not correct, going to look into this w/ Nathan.

I believe this has to do with the fact that you updated, so we will double check into that flow to ensure that this is fully fix.

Thanks for helping out

@furier
Copy link

furier commented Jan 18, 2024

the desktop app behaves as if it is a fresh install.
Pieces OS has backed up the one we fixed previously, or so we thought, and created a new one.

hmmm so after the update you found yourself with your snippets gone?(but the back up is there) @furier

This is absolutely not correct, going to look into this w/ Nathan.

I believe this has to do with the fact that you updated, so we will double check into that flow to ensure that this is fully fix.

Thanks for helping out

snippets gone yes... but in the backup folder ofc, and this time i also have it in a git repository.

@mark-at-pieces
Copy link
Member

mark-at-pieces commented Jan 18, 2024

the desktop app behaves as if it is a fresh install.
Pieces OS has backed up the one we fixed previously, or so we thought, and created a new one.

hmmm so after the update you found yourself with your snippets gone?(but the back up is there) @furier
This is absolutely not correct, going to look into this w/ Nathan.
I believe this has to do with the fact that you updated, so we will double check into that flow to ensure that this is fully fix.
Thanks for helping out

snippets gone yes... but in the backup folder ofc, and this time i also have it in a git repository.

would you mind sending a picture of your OneDrive/Documents as well?
&& are you on Windows 10 or 11?(also sent you another email to see if we can hop on a call and ask you a couple more questions to get to the bottom of this)

@mark-at-pieces
Copy link
Member

mark-at-pieces commented Jan 18, 2024

Update:

We found the culprit (to @furier issue) and believe that it was writing a com.pieces.os from within the suite installer, causing there to be a conflict with your 2 dbs and then it creating the com.pieces.os w/ the timestamp in your C Drive (similar to the Image @furier had above).

We will be launching a new PiecesOS 7.2.6 that will be writing all backups/ and backup dbs into a pieces_backups folder in the C:/Users/{USER}/Documents. (if there are conflicts in the future)

We will be also launching a new version to the Pieces Suite installer.

Thank you again everyone for sticking with us, please reach out and let us know if there are any more failures with this.

@rosie-at-pieces
Copy link
Collaborator Author

if you are experiencing any issues with 7.2.6, please follow this link to schedule a call with @mark-at-pieces.

@mark-at-pieces
Copy link
Member

Hey everyone, want to thank Adam for allowing me to record some audio in solving a failed Migration status code (22). (That would inhibit Pieces OS from Booting up, displayed on boot)

Here is the link to the Audio (link)

Note: More solutions + videos && flow charts to come if you want to take things into your own hands. However, we are also more than happy to set up a person call if you are not feeling comfortable doing this yourself and/or things go wrong.

Disclaimer: If you do decide to resolve this on your own, I would be very careful because it is a possibility, if done incorrectly, that you will lose your snippets.

@rosie-at-pieces
Copy link
Collaborator Author

rosie-at-pieces commented Jan 24, 2024

Hey everyone, here is the promised flow chart for recovering your missing snippets and fixing any migration issues by yourself. Two disclaimers:

  1. The size of the chart is very daunting, but it's just a step by step to make sure you cover all of your bases.
  2. This is an experimental flow and we can't guarantee that you will have 100% success/won't lose your snippets going through this process. If at any point you need our assistance, please do not hesitate to schedule a call with us.

Let us know how it goes!

@furier
Copy link

furier commented Jan 24, 2024

Hey everyone, here is the promised flow chart for recovering your missing snippets and fixing any migration issues by yourself. Two disclaimers:

  1. The size of the chart is very daunting, but it's just a step by step to make sure you cover all of your bases.
  2. This is an experimental flow and we can't guarantee that you will have 100% success/won't lose your snippets going through this process. If at any point you need our assistance, please do not hesitate to schedule a call with us.

Let us know how it goes!

it seems to require a login to see the flow chart

@rosie-at-pieces
Copy link
Collaborator Author

@furier unfortunately Lucid requires an account even for a public link, but it's free to sign up

@rosie-at-pieces
Copy link
Collaborator Author

Resolved, if you are still experiencing issues with this please create a new ticket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app:pieces os bug Something isn't working
Projects
None yet
Development

No branches or pull requests

8 participants