Git Product home page Git Product logo

Comments (4)

jer194 avatar jer194 commented on July 29, 2024

I guess that is an exceptional situation, which FamilyGem (and no other app) is prepared for.
If you have root (either via Magisk, or something), or via Recovery, you could check the files in /data/data/app.familygem/files:

ls -al /data/data/app.familygem/files/*.json
-rw------- 1 u0_a454 u0_a454 1615265 2023-08-25 07:25 /data/data/app.familygem/files/5.json
-rw------- 1 u0_a454 u0_a454 217697 2023-08-25 07:27 /data/data/app.familygem/files/6.json

Images should still be in the directories from where you have imported them.
Image references are in those json files.

from familygem.

aaannndddyyy avatar aaannndddyyy commented on July 29, 2024

Sorry, no root here.
I wonder why all trees are affected and not only the one that I tried to add the photo to.
I have not dared to open the app after the first opening when I saw all trees with 0 , because I hoped there's some recovery mechanism.

Since apparently this does not exist, I strongly encourage to implement one.
An easy solution would be autobackup. If at any time the files you're working on get corrupted or delt d , and you cannot access them, then you can always restore from backup

from familygem.

michelesalvador avatar michelesalvador commented on July 29, 2024

@aaannndddyyy What happened is that you lost the app settings file (/data/data/app.familygem/files/settings.json).
Probably this file was corrupted (not adequately saved) during a media file import.
It's bad but not such a disaster.
As you already noticed in the meantime, trees are still there. Family Gem automatically recreated the settings file with all numbered JSON files found in /data/data/app.familygem/files/##.json.
"0 persons" simply means that a tree has never been (re)opened.

What you have lost for each tree is:

  • Title (you can re-enter it)
  • Media folders (you can re-add them)
  • Share history (unfortunately not recoverable)

If you shared some of your trees, by losing the share history you can no more automatically sync these trees with those updated received back. There is no more connection between your trees and the shared ones.

An automatic backup system is already implemented.

from familygem.

aaannndddyyy avatar aaannndddyyy commented on July 29, 2024

I lost one entire tree, the others were still there after opening showed the correct numbers again, just lost their names.
Screenshot_2024-02-10-04-48-21-413-edit_app familygem

Luckily had not shared.
I don't do cloud, so some automated local backup option wouldn't be bad, could be rotating to just always keep the latest three versions, so if last version corrupted, I could go back to previous. And if I am really unlucky and immediately spoil that one too, I still have as a last resort the third, which I'd then manually copy somewhere else before I try opening it again

from familygem.

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.