Easy Data Loss in the app

hey
hope you are doing well community
before going on the issues i faced , i have to thank the team for their hardwork for making such excellent design tool that i used since i knew about it , well the app is very good but i have got weird behaviours such as sometimes it just dont add the element i want and say error while everything is working well that happened to me with arabic text , and the most critical thing that makes me consider my choice over and over again is data loss , while i use it more on linux sometimes my linux system freezes and i need to reboot while lunacy is opened and then boom after the next reboot i lost all my projects and work of months become null exactly when i look in the save folder i dont find some or found them corrupted forever , and the tricky part is that the save method is not saving the actual file it auto saves in the cash folder which is very dangerous thing i guess and sometimes when i save the same file it prompts me to edit the name like i havent saved that this saving drama is so annoying , plus i just opened it and all colors gone from some works , i really apperciate your time and want fix for those ASAP so i can be able to work using it for more time
thank you Lunacy Team
hope you be able to address those and make perfect product!
looking forward for any usefull reply !

1 Like

Hi!

Could you please share your OS and Lunacy version? If you have any log files from the crashes that caused the progress loss, please send those as well (Help → Open AppData Folder → Logs).

This will help us investigate the issue more thoroughly.

well i have Linux Mint debian based distro while as i said the crash happens on sudden shutdowns , well the logs from the crash arent there , i guess you can try small design and shutdown without closing the program and then when you open it the history will be gone or the files start from the initual state and the last state which is saved in appdata as save file will be still there and you can recover some but some are gone , my system is Linux Mint 22.3 x86_64 and lunacy version is 12.1 and the crashes are in the last versions i experienced

1 Like

Could you specify if you installed Lunacy via .deb, Snap, or Flatpak?

flatpak

1 Like

Please try the following steps; the issue is most likely caused by the settings being located in different directories:

  1. Go to the folder ~/.local/share/Icons8/Lunacy.
  2. If the Icons8/Lunacy folder does not exist, create it. If it already exists, proceed to step 4.
  3. Restart Lunacy. After that, the folders AiChat, Cache, Documents, Fonts, etc., should appear inside the Icons8/Lunacy folder.
  4. Go to ~/.var/app/com.icons8.Lunacy/.local/share/Icons8/Lunacy/Documents, copy all folders from there, and paste them into ~/.local/share/Icons8/Lunacy/Documents.
  5. Restart Lunacy again.

Let us know if this helps

i tried that they didnt get restored , but based on some expirements i guess the bug is fixed , one thing can there be like mechanism when i am editing files the saved file is the main one not save.free in some dir ?

1 Like

When you press Ctrl+S, the changes are saved directly to the open file.
If that doesn’t happen (for example, in case of unexpected issues), all modifications are automatically written to a backup location: AppData\Icons8\Lunacy\documents

If the number of changes grows too large and there’s a risk that recovery might break, we create a temporary save.free file as an extra safety net.

The reason we don’t always save directly to the original file automatically is to protect your ability to discard changes. If you open a file, experiment, and decide you’d rather not keep the modifications, a hard auto‑save would overwrite your original and leave you with no way to revert.
Right now, we’re exploring a more balanced approach: introducing an auto‑save system that writes changes to backups in AppData, so you’d get the safety of automatic saves while still being able to roll back to earlier versions if needed.

okok , that seems good but one concern is there anyway we can get history and find that file of the last version cuz i cant see the same file names in the dirs i have to open each to know wether they are what i am looking for or not , then i understand that, hope we can get more control over that ! thanks for your help ! guess thats all for this problem

We completely get it! Having better control over file history and backups would make things a lot easier. Right now, our team is focused on cloud documents, AI features, and the web version, but that doesn’t mean your feedback gets lost. Every request like yours helps us understand what actually matters to people using Lunacy :gem_stone:

If you’d like to see this happen, you can submit it on our feature request page.
The community votes there, and the more votes something gets, the sooner we can justify working on it.