mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #4833] [bug]: Hoppscotch Update: Manual Install Led to Data Loss #1818
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#1818
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Kezry on GitHub (Mar 5, 2025).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4833
Is there an existing issue for this?
Current behavior
There is a prompt that Hoppscotch has an update. It seems that the update was unsuccessful. Then I went to the official website and downloaded the latest installation package, and manually installed the update. During this process, I didn't clear any browser data. Before the update, there were many folders of interfaces that had been called and configurations, as well as a lot of environment variables. I didn't use the account to synchronize with the cloud service. After the manual installation and update was successful, all the data was lost. 😭
Steps to reproduce
1, download https://hoppscotch.com/download
2, install
3, get lost...
Environment
Release
Version
Local
@CuriousCorrelation commented on GitHub (Mar 5, 2025):
Hi, thanks for the report. If the update was unsuccessful you can still install the exact version of the desktop app you had from the releases page, perhaps
v25.1.1-0or older since as you mentioned you did see an update dialog pop up which likely would have been forv25.1.1-1.Launching up in the old app should show you all your local storage items. You can try once more and see if the update is successful this time around.
Please make sure to backup your data to cloud whenever you get a chance before updating to the latest desktop app, you will see a prompt of doing so as well
@Kezry commented on GitHub (Mar 5, 2025):
Thank you for your reply. The data has been recovered. I have already exported and backed it up, but I can't log in to the software.
Microsoft Edge 131.0.2903.146
hoppscotch v2025.1.1
@CuriousCorrelation commented on GitHub (Mar 5, 2025):
@Kezry Glad to see the solution worked! For this new issue - could you see if you are seeing any logs in the browser console? That'd be very helpful to diagnose this further.
@Kezry commented on GitHub (Mar 7, 2025):
@CuriousCorrelation commented on GitHub (Mar 7, 2025):
Thanks for the details, I think I may have an idea of what this could be! There are a few existing issues with the old desktop app around login and mixed-content support on various browsers. Just to make sure, could you check and see if this login related issue has been resolved with the newer desktop app upwards of
v25.2.0? Latest release is v25.2.1.I can look into fixing this issue on the old desktop app (prior to
v2025.1.1). In the meantime for migrating data, you can try import/export for example with your collections and re-import them in the new desktop app.@Kezry commented on GitHub (Mar 7, 2025):
Yes, the login issue of the latest version has been resolved. However, there may be compatibility problems with the imported data in the new version. Occasionally, the folders cannot be displayed properly. So for now, I can only roll back to version 2025.1.1 for use.
@CuriousCorrelation commented on GitHub (Mar 7, 2025):
That is understandable. We will look into the login issues on the old desktop app and have a release out to fix it soon.
@CuriousCorrelation commented on GitHub (Mar 7, 2025):
Hi @Kezry, latest patch release for Desktop App
v25.1.1-2is out, you should see an update popup soon (or checkout the release section). It should fix the login issues you were seeing, let me know if this release indeed has resolved it.@Kezry commented on GitHub (Mar 7, 2025):
I have already updated to version v25.1.1-2, and I can log in to my account normally. I have a question. After logging in, all my collections disappeared, and they also vanished when I imported them manually. Only when I create a new workspace and import them can the collections be retained.
@CuriousCorrelation commented on GitHub (Mar 7, 2025):
Hi there, glad to know login issues have now been resolved.
I’m unsure about the cause of this new issue since I was unable to reproduce this, nor have we received similar cases to get a better grasp of things. All the internal machinery of the old desktop app remains consistent in and before
v25.1.1-2so this outcome is even more surprising.Perhaps this has to do with how the sync has occurred in this case, in your previous workspace since you mentioned that collections are retained in a new workspace. Is this replicable on the cloud app, on
hoppscotch.iowith your previous workspace? If these collections do correctly get imported on the web-app, they should also be synced to the desktop app.