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

Switching Pydio Cells v3 branch to v2 branch, files do not appear anymore #359

Closed
BamBoozledMC opened this issue Sep 30, 2021 · 26 comments
Closed

Comments

@BamBoozledMC
Copy link

I've just updated my Pydio Cells to the latest version and now all my files are gone.
All the files are still located on the drive however i'm unable to identify what is what since they are all encrypted into random strings

Please help i dont have a backup D:
pydio1
pydio2

@BamBoozledMC
Copy link
Author

BamBoozledMC commented Sep 30, 2021

image

Somehow it still has my file history/folder activity

@cdujeu
Copy link
Member

cdujeu commented Sep 30, 2021

hello
can you specify the from / to versions before and after upgrade ?

@BamBoozledMC
Copy link
Author

hello can you specify the from / to versions before and after upgrade ?

Somehow i was using the oldest version (0.1.0) and i updated to 2.2.12

@cdujeu
Copy link
Member

cdujeu commented Sep 30, 2021

0.1.0 ???

@BamBoozledMC
Copy link
Author

0.1.0 ???

according to the renamed file- yea,
i originally downloaded the repository to edit some code to change a few things

@BamBoozledMC
Copy link
Author

BamBoozledMC commented Sep 30, 2021

i can upload the binary file i compiled if thats any help

I just really want to recover my data.

@cdujeu
Copy link
Member

cdujeu commented Sep 30, 2021

ah - ok so you built it in dev mode, you are working on the master which is not stable, the 2.2.12 is not on the same branch, and the default datasource format in the master is different from 2.2.X branch.
=> go back to master by using v3-rc1 binary, you should be back on tracks.

@BamBoozledMC
Copy link
Author

where can i find the v3-rc1 binary?

@cdujeu cdujeu changed the title I've just updated my Pydio Cells and now all my files are gone. Switching Pydio Cells v3 branch to v2 branch, files do not appear anymore Sep 30, 2021
@cdujeu
Copy link
Member

cdujeu commented Sep 30, 2021

you can even use rc2, it's in pre-release mode but still usable
https://download.pydio.com/pub/cells/release/3.0.0-rc2/

@cdujeu
Copy link
Member

cdujeu commented Sep 30, 2021

(or if you have the code (master branch), you can just rebuilt it after updating it from git, it will be more ore less the same)

@cdujeu
Copy link
Member

cdujeu commented Sep 30, 2021

Next time please use the FORUM instead of github, thanks.

@cdujeu
Copy link
Member

cdujeu commented Sep 30, 2021

And please read https://github.com/pydio/cells/releases/tag/v3.0.0-rc1 to understand what you are doing ;-)

@BamBoozledMC
Copy link
Author

Alright!

After downloading the binary from https://download.pydio.com/pub/cells/release/3.0.0-rc2/

All my files are still missing

@cdujeu
Copy link
Member

cdujeu commented Sep 30, 2021

do you have a backup of your DB ?

@BamBoozledMC
Copy link
Author

BamBoozledMC commented Sep 30, 2021

do you have a backup of your DB ?

Possibly but it is outdated and will not include alot of recently added files

Is there a way to decrypt the files?

@cdujeu
Copy link
Member

cdujeu commented Sep 30, 2021

The contents are not encrypted (unless you enabled encryption on the datasource), files are just stored by uuid (see the link in the release note) instead of their name.
I think you are screwed, you were not supposed to switch branch between master ( = dev) and stable.

@BamBoozledMC
Copy link
Author

They are not encrypted, they are just stored by uuid (see the link in the release note) instead of their name... I think you are screwed, you were not supposed to switch branch between master ( = dev) and stable.

frick.

Where would the indexes for the files be located?

@cdujeu
Copy link
Member

cdujeu commented Sep 30, 2021

in the DB

@BamBoozledMC
Copy link
Author

in the DB

Which one the physical db (where all the files are) or the mysql db

@cdujeu
Copy link
Member

cdujeu commented Sep 30, 2021

mysql

@BamBoozledMC
Copy link
Author

well that makes it harder to restore :/

@cdujeu
Copy link
Member

cdujeu commented Sep 30, 2021

@BamBoozledMC
Copy link
Author

Oh well, i'll see what i can do, but for now thanks for your help :)

@cdujeu
Copy link
Member

cdujeu commented Sep 30, 2021

🔝 and this link shows how this new datasource format should be backup / restored

@cdujeu
Copy link
Member

cdujeu commented Sep 30, 2021

(but you switched back a "flat" DS to "structured" DS, which in turn probably triggered an indexation of the original DS and cleared the DB index...)

@cdujeu
Copy link
Member

cdujeu commented Oct 6, 2021

closing as it's not really an issue

@cdujeu cdujeu closed this as completed Oct 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants