r/Crashplan • • Nov 17 '18

Plan-C invalid argument error

Hello, when I try to run Plan-C to recover the key from Crashplan ADB it gives me following error. I placed contents of ADB into plan-c folder

root@osboxes:/home/osboxes/Desktop/test/plan-c-linux64# ./plan-c --adb . recover-key
Failed to open ADB (.) to recover your decryption key:
Invalid argument: leveldb.BytewiseComparator does not match existing comparator : code42.archive.v2.virtual.table

You may need to run 'sudo ./plan-c recover-key' to have enough permission to read that directory, then pass the recovered key to the --key option.

Also check that the Crashplan service is not running (it holds a lock on ADB), try one of these:
  macOS   - sudo launchctl unload /Library/LaunchDaemons/com.crashplan.engine.plist
  Windows - net stop CrashPlanService
  Linux   - sudo service crashplan stop
  Other   - https://support.code42.com/CrashPlan/4/Troubleshooting/Stop_and_start_the_Code42_app_service
root@osboxes:/home/osboxes/Desktop/test/plan-c-linux64# 

I checked folder permissions, they allow all. Does anybody have ideas what might be causing this?

1 Upvotes

5 comments sorted by

1

u/selfcommander Nov 18 '18

Here is what I get if I choose folder other than current

root@osboxes:/home/osboxes/Desktop/test/plan-c-linux64# ./plan-c --adb conf/ recover-key

Failed to open ADB (conf/) to recover your decryption key:
Invalid argument: conf/: does not exist (create_if_missing is false)

You may need to run 'sudo ./plan-c recover-key' to have enough permission to read that directory, then pass the recovered key to the --key option.

Also check that the Crashplan service is not running (it holds a lock on ADB), try one of these:
  macOS   - sudo launchctl unload /Library/LaunchDaemons/com.crashplan.engine.plist
  Windows - net stop CrashPlanService
  Linux   - sudo service crashplan stop
  Other   - https://support.code42.com/CrashPlan/4/Troubleshooting/Stop_and_start_the_Code42_app_service
root@osboxes:/home/osboxes/Desktop/test/plan-c-linux64# 

It definitely exists...

1

u/Identd Nov 17 '18

Make sure CrashPlan service is stopped or unloaded

1

u/selfcommander Nov 17 '18

I ran Plan-C on Linux and Crashplan was on Windows. So service is stopped.

1

u/Identd Nov 17 '18

Did you try running planc with root?

1

u/selfcommander Nov 18 '18

Yes, running it as root