How I Rescued My ZeroNet Account

Tags: en blog zeronet

I started playing with my key files in order to encrypt and secure them, I don’t want my ZeroNet account to fall in malevolent hands and I’m mainly referring to those of a thief.

I decrypted my keys into a folder and then sym-linked to zeronet/data so I started using the platform as usual without hassles… But starting from the second time I activated the service, after a reboot and forgot the first time to un-encrypt, something started to go wrong… indeed, I was unable to like stuff, comment and act as usual getting errors like this one directly on the GUI:

Internal error: Exception: Invalid content.json file

immediately followed by:

WebSocket handleRequest error: Exception: Invalid content.json file: data/users/(my auth_address)/data.json in line 83 > line 267 > line 203 > line 197 > line 484 > line 200 > line 197 > line 36 > line 431

and I’ve found just now watching at the logs on the CLI, this:

Json merged-ZeroMe/(KaffieHub address)/data/users/(14ytAKDfNjArMTqGecTi7ginG3aZTsRAum)/content.json load error: DatabaseError: database disk image is malformed in line 299 > line 167 > line 90 > line 82 > line 166 > line 132 > line 65 > line 139 > line 90

I’ve been a couple of days off because of this inability to operate as myself… I’ve tried to double check permissions, substituted keys with the previous ones from the backups, took searches, updated ZeroNet… until I remember that my ZeroNet data folder was on the periodic scheduler of snapper, so I just run the command btrfs -c (name of the config) undochange (oldsnapshot)..0 and everything came back to normal :)

So I must thank Open Suse’s snapper software for the success of my rescue mission! : )

This is how I’ve been able to handle the casualty! ^^ and I suggest you doing snapshots too, sometime unexpected things occur and these are a life saver :3

Oh… and in the meantime, I big failed in my attempt to save the blog draft and published as an empty post instead! as @leftside let me notice XD

picture blog drafting fail .png

just, I can’t recall hitting the Sign & Publish button, uhm… part of my odd experience? who knows :)

Ever happened something similar to any of you?

Have you wrote a blog about? If you did, I’d love to read about your experience and how you solved it! ^^

Safe Creative

Help the author to continue publishing,
donate now or use an affiliate link.

⭐ Click here to choose ✨

You can also become an Affiliate for my content at this Link

Sponsor block

I earn a commission when you buy though this link or image.

I have used Contabo services for a long time and highly suggest them! Check them out!

  Made with Bulma   build with   Build with Hugo   hosted on the amazing Contabo and Vultr VPS

  © 2019 Francesco Yoshi Gobbo - PGP 3FC5F028E7AFF594 - ISNI 0000000502954809 - P.IVA / VAT: IT-01572520052

privacy policy | cookie policy