-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[BUG] Clearing browser cache loses all users' data and app config with no warning #672
Comments
A cloud backup also will be great to survive wipes. Leaving this open as there are good ideas. |
yeah definitely. I had been thinking that cloud sync would require admin on the side of big-agi to manage accounts, etc but it occurs to me that Cloud Sync using a user's credentials with one or a few cloud storage providers would also solve the problem and not require any business infrastructure on the part of big-AGI, so that's a nice potential solution as well. |
@TimeScience I'm implelenting it, at least for the users of big-agi.com to start with. I have ~2,000 chats including on mobile that wait to be synchronized. |
I am such a big(AGI) fan of this project! So many great features. THIS, local browser cache storage, is the only part of |
Thanks @rodgermoore - being implemented right now. Big roadblock for everyone. It will introduce server dependencies, but we'll get it out quickly and then clean it up. Expect updates in weeks timeframe. |
Thanks for working on this so quickly! I just came across the documentation for environment variables... just so I understand how this is all works... would it be correct to say that the issue of api keys, etc not being retained, could be addressed by using environment variables? But as currently implemented, there isn't an environment variable that would let big-agi know where to reload all chats from? (noting that much of this will presumably be sorted out in the background once cloudsync is implemented) |
@TimeScience the API keys are for managed installations, where you want the backend to have the keys so every new device can already use the latest models. The issue with the chats is that they're saved in the browser Storage. Working on this (even in this precise moment) to have cloud Sync, so that chats and user (not server Env Vars) keys and likely personas and more will be persisted. |
Just adding an "All" option to the existing JSON import and export should be trivial... but I'm not (yet) familiar with the codebase at all...... will have a look nonetheless. |
Description
When a user clears their browser cache all data in big-agi is lost without warning and is not recoverable. There doesn't appear to be any text alerting a user to this when they start using big-agi (or at least not one that is obvious enough given the potential consequences of losing all of one's data).
This issue might be considered a feature request not a bug (ie requesting persistent non-browser cache storage), but from a UI/UX perspective, if a user can lose all their past chats and all API configurations just by clearing the cache on their browser and there is no warning in the big-agi app that this might happen, the outcome is users can easily lose all their data and config without warning, which is a pretty serious bug, even if the solution to it might be considered a new feature.
This is particularly an issue because big-agi runs in docker and also can be configured to run as a stand-alone app (I know this is really a browser feature, but from the user perspective, it behaves like a stand-alone app), so from a user perspective (particularly if one is not really a developer), big-agi behaves as if it were a desktop application, so a user might reasonably assume that their data is persistent and will not disappear if they happen to clear their browser cache... Like imagine if every file one created in Office just stopped existing if you cleared your browser cache. That's basically what happens with big-agi at the moment.
Suggested solutions:
The longer term way to fix this would be to either set up secure export of all settings to desktop (or just have the app behave like normal desktop software and save this somewhere on disk)
Device and browser
Windows 11
Screenshots and more
No response
Willingness to Contribute
The text was updated successfully, but these errors were encountered: