freedombacon
Dabbler
- Joined
- Jun 22, 2015
- Messages
- 23
I had to replace my OS drive (USB drive) due to its failure. I installed a slightly a fresh copy of FreeNAS (might have been a slightly newer version than what I was originally using) and restored config. Everything seemed to go okay, but I wasn't able to import the pool with the encryption key or passphrase. I had to do it with the recovery key. Now when I try to download the encryption key, I get a 0B file. I tried on two different computers. It also doesn't matter if I use HTTP or HTTPS like was suggested on elsewhere by someone having a similar problem. When I tried on the legacy interface, I get an error message about a missing file. How do I fix this? Is this install messed up? I'm scared to take the latest update or reboot it while it's like this.
Error in legacy interface on attempt to download encrypt key:
Error in legacy interface on attempt to download encrypt key:
Code:
Environment: Software Version: FreeNAS-11.2-U6 (5acc1dec66) Request Method: GET Request URL: https://REDACTED/legacy/storage/volume/1/key/download/ Traceback: File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner 42. response = get_response(request) File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py" in _legacy_get_response 249. response = self._get_response(request) File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response 178. response = middleware_method(request, callback, callback_args, callback_kwargs) File "./freenasUI/freeadmin/middleware.py" in process_view 163. return login_required(view_func)(request, *view_args, **view_kwargs) File "/usr/local/lib/python3.6/site-packages/django/contrib/auth/decorators.py" in _wrapped_view 23. return view_func(request, *args, **kwargs) File "./freenasUI/storage/views.py" in volume_key_download 1090. with open(geli_keyfile, 'rb') as f: Exception Type: FileNotFoundError at /legacy/storage/volume/1/key/download/ Exception Value: [Errno 2] No such file or directory: '/data/geli/3fe4720e-bc3d-49c7-941d-cccfc7aed68e.key'