insomnia icon indicating copy to clipboard operation
insomnia copied to clipboard

[Fixed] my entire collection is missing after auto-updated to Insomnia 2022.7.0

Open stealthmonkey99 opened this issue 3 years ago • 38 comments

Expected Behavior

I should still see my collection of requests, environments, etc.

Actual Behavior

the app displays an empty "Insomnia" project and all of my old work is missing

Reproduction Steps

  1. launch Insomnia
  2. look for my collection

Is there an existing issue for this?

Additional Information

No response

Insomnia Version

2022.7.0

What operating system are you using?

macOS

Operating System Version

macOS Monterey 12.6

Installation method

do not remember, update was auto-installed without my asking

Last Known Working Insomnia version

No response

stealthmonkey99 avatar Dec 30 '22 18:12 stealthmonkey99

Hey @stealthmonkey99 I had the same problem, but when I clicked on one of the existing documents (at least one should be there) and then switched from Design to Debug on the title bar, all the content was visible again.

image

Maybe this will help you and a few others.

ewallat avatar Dec 30 '22 19:12 ewallat

Thanks @ewallat! I didn't even notice those tabs but sure enough that's all I was missing 🤦

stealthmonkey99 avatar Dec 30 '22 19:12 stealthmonkey99

It happened to me but it's not a Design Document, it's a Collection, and its empty, only the folders

rodrigoratan avatar Jan 03 '23 03:01 rodrigoratan

I thought it was all gone, but it switched to the 'design' tab (all my content was on the 'debug' tab).

enricoros avatar Jan 03 '23 08:01 enricoros

https://github.com/Kong/insomnia/issues/5167#issuecomment-1370014676

ghost avatar Jan 04 '23 08:01 ghost

Had the same issue. all my request history are gone after the auto-update happened. it just sucks. uninstalling the app for good

heyitsnovi avatar Jan 07 '23 15:01 heyitsnovi

This can't be [Fixed] as the title indicates. My Insomnia just auto-updated 2 hours ago, two weeks after this ticket was created, and my upgrade did the same thing. Except .... nothing appears on the Debug tab, insomnia.Environment.db is empty... everything gone. Pretty unbelievable that you are still auto-updating the software given this issue. You should stop doing that till it's resolved.

betterbuiltcows avatar Jan 13 '23 20:01 betterbuiltcows

Also reporting this issue after auto-update. Everything is gone. UI totally unresponsive. All folders clean. I've lost a lot of work.

tummyacid avatar Jan 17 '23 15:01 tummyacid

@betterbuiltcows @tummyacid sorry to hear this happened to you folks. We seem to have some sort of edge-case bug still with data.

If possible, please reply back to this comment here with any of the information listed there in order to help us hunt down in which edge-case setups this happens.

filfreire avatar Jan 17 '23 16:01 filfreire

This just happened to me as well. macOS Ventura 13.1. SW downloaded from Insomnia. Not sure what the latest working version was.

Earlier today I started Insomnia for the first time in a couple of weeks and got a note that it had been updated. And everything was gone; my 30+ requests, the folders, the Design/Debug/Test tabs.

I looked through the Workspace.db and saw my requests(!), along with notes about them being deleted, which I never did. Seeing them safely there, I closed the db, thinking I'd come back to it later. Then I stumbled across these Github tickets with possible solutions. When I opened Insomnia again to try them out...it again said that it had updated and now my Workspace.db files have all been wiped. All the info I saw earlier tonight is gone.

So very disappointing. I had come to prefer this over Postman but I can't see myself trusting this again.

Jailyard90Grad avatar Jan 19 '23 06:01 Jailyard90Grad

Also completely wiped. Also on MacOS Ventura 13.1. This is frustrating, to say the least.

danesparza avatar Jan 19 '23 14:01 danesparza

Updated today here and completely wiped too. Tried to follow what people said on the thread and nothing. This is very frustrating.

gabrielsaviank avatar Feb 07 '23 11:02 gabrielsaviank

LOL, you just wiped out a years worth of my data, why would I help you troubleshoot it?

ColbyWanShinobi avatar Feb 09 '23 14:02 ColbyWanShinobi

This app updated it's self last night and delete all my projects. How do I get them back?

fdimauro avatar Feb 14 '23 16:02 fdimauro

Also this looks like a totally different product. I was demonstrating it's usefulness to a co-worker just yesterday. Now I see a totally different product and ALL of my projects are gone. WTF happened and how to I fix it ASAP??

fdimauro avatar Feb 14 '23 16:02 fdimauro

Boy I have to say I am quite pissed off that this happened. What is our course of action to recover from this disaster?

fdimauro avatar Feb 14 '23 17:02 fdimauro

Same happened when I sudo apt upgrade to 2023.3.0. No collections found. Neither can I find "Design/Debug/Test" panel at first. I have to import a previously backup of collections, some recent changes lost but not much.

I think this is quite big problem, because via sudo apt upgrade I cannot downgrade. And, there is no way for any software to let apt know that user needs to backup data first before upgrading. So any software in Linux needs to put data in the .config and let user recover the previous working environment as soon as the user opens up the new version. Other UI/UX concerns needs to make place for this top priority.

WesternGun avatar Aug 11 '23 13:08 WesternGun

Entire project just disappeared because parentId in the file insomnia.Workspace.db is null . Just update parentId from null to "proj_default-project", then restart Insomnia and see everything is back.

image

My entire project just disappeared

ngocle492 avatar Aug 15 '23 01:08 ngocle492

parentId already shows "proj_default-project". No change in the bug.

On Mon, Aug 14, 2023, at 6:50 PM, Ngọc Lê wrote:

Entire project just disappeared because parentId in the file insomnia.Workspace.db is null . Just update parentId from null to "proj_default-project", then restart Insomnia and see everything is back. My entire project just disappeared https://github.com/Kong/insomnia/issues/5167#top

— Reply to this email directly, view it on GitHub https://github.com/Kong/insomnia/issues/5600#issuecomment-1678315843, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA5CXXKRR2KMKTS4DL4V4ZTXVLIX7ANCNFSM6AAAAAATNCBWF4. You are receiving this because you were mentioned.Message ID: @.***>

tummyacid avatar Aug 15 '23 02:08 tummyacid

Hope this walkthrough helps too. In my case, I updated my insomnia through the ubuntu snap, and I lost all the collections I had. The solution was:

1 - Go to the personal folder, enable see hidden files. 2- Enter .config/Insomnia, and copy everything inside. 3 - Go to the newly installed insomnia, and in the help tab - show app data folder. 4 - Enter insomnia, and paste everything, overwrite. 5 - Close and open insomnia and that's it.

I hope it helped you. =)

paulohliima avatar Aug 29 '23 15:08 paulohliima