Decryption not working

https://masks-draft.tiddlyhost.com/

A little bit in panic mode here… I set the password for my wiki. It is Keeper.

The decrypt is not working. I forgot to back it up before I set the password. If I input the wrong password, the screen does not change and it continues asking for a password… When I input Keeper and press Decrypt, the screen loads to a white screen…

Is there something I’m missing here? I’m kicking myself for not backing it up. I’ve poured countless hours into this wiki and the thought of losing all that has me in a bit of a panic… Please tell me there’s something I’m missing…

I am sorry to read that. It seems you did input the wrong PW 2 times. Did you test your password with CAPS-LOCK on?

@simon Can you help?

Hi @Savannah_Bagby do not worry, your data is recoverable. It appears that some customisation is misbehaving, giving the white screen.

The recovery procedure is this:

  1. Visit the TiddlyHost “sites” page at Tiddlyhost
  2. Find your wiki and click the download button at the right to download a copy of the HTML file (the icon looks like a downwards arrow pointing into a box)
  3. Visit https://tiddlywiki.com/empty.html
  4. Use the “import” button in the “tools” tab to import the HTML file
  5. You should be prompted for the password
  6. Once the password has been entered you should see a listing of all the tiddlers in your wiki (see below)
  7. Uncheck any tiddlers that are causing the problems – this is going to require some trial and error. As a first experiment I left things as they were
  8. Click the “import” button
  9. Click the “save wiki” button to save this new copy of your wiki
  10. Open the saved wiki – in my experiment, it did not open correctly because of a problem with the external core used by TiddlyHost, but I think being more selective about which tiddlers you import will eventually yield a usable wiki

Good luck, and let us know how you get on,

Best wishes

Jeremy

Thank you, this worked, and it loaded correctly into a new wiki I made. That is so weird. I guess I will not be using encryption on the wiki :frowning:

Here’s an additional clue to use with Jeremy’s excellent “import” procedure:

When attempting to load https://masks-draft.tiddlyhost.com/, after entering the password and getting the white screen, opening the browser console (right-click and choose “inspect”, then select the “console” tab in the debugger). You will see some errors. The first error shows:

Error executing boot module $:/plugins/Gk0Wk/mindmap-elixir/elixir.min.js: TypeError: Cannot read properties of undefined (reading 'getAttribute')

Thus, it appears that $:/plugins/Gk0Wk/mindmap-elixir is causing the TWCore boot.js code to fail. So perhaps if you remove that plugin you can still use encryption.

-e

1 Like

@Savannah_Bagby, I know it’s too late to avoid this particular headache, but I wanted to suggest the Timimi saver if you haven’t come across it already. It makes it easy to set up your ideal backup system, and it’s saved me more times than I can count.

It does work with local files rather than online wikis, so you would have to upload a new version to Tiddlyhost when you want to update the public version. But if you don’t need “live” updates, I find it’s well worth the extra step just for the peace of mind.

That was it! Thank you!

I’ll definitely look into it. Thanks!