SOLVED HELP!!! Corrupted python3.6/site-packages

Status
Not open for further replies.

1337Hacker

Dabbler
Joined
Oct 22, 2017
Messages
27
I was trying to update jails to iocage and I ran this since I was getting a number of connection issues:
Code:
git clone --recursive https://github.com/iocage/iocage
cp -R iocage/iocage_lib/ /usr/local/lib/python3.6/site-packages/iocage/lib

now realizing I should have used this:
Code:
cp -R iocage/iocage/lib/ /usr/local/lib/python3.6/site-packages/iocage/lib

Needless to say, the system is now producing a number of errors. I cannot detach my pool to do a fresh install (although that may not even help?). Please walk me through what I should do!!

This is my new system information
Code:
Environment:

Software Version: FreeNAS-11.1-U6 (caffd76fa)
Request Method: GET
Request URL: http://10.0.0.5/system/info/?dojo.preventCache=1535919761680


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
  162.		 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/system/views.py" in system_info
  111.	 with client as c:
File "./freenasUI/middleware/client.py" in __enter__
  20.		 local.client = Client()
File "/usr/local/lib/python3.6/site-packages/middlewared/client/client.py" in __init__
  311.			 raise e
File "/usr/local/lib/python3.6/site-packages/middlewared/client/client.py" in __init__
  304.			 self._ws.connect()
File "/usr/local/lib/python3.6/site-packages/middlewared/client/client.py" in connect
  169.				 rv = super(WSClient, self).connect()
File "/usr/local/lib/python3.6/site-packages/ws4py/client/__init__.py" in connect
  208.		 self.sock.connect(self.bind_addr)

Exception Type: ConnectionRefusedError at /system/info/
Exception Value: [Errno 61] Connection refused
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Please walk me through what I should do!!
Copy your config file (/data/freenas-v1.db) over to one of your client machines, do a fresh installation of FreeNAS, upload the config file. Done.
 

1337Hacker

Dabbler
Joined
Oct 22, 2017
Messages
27
Thank you for letting me know a clean install will fix this!

A poorly known issue with the current 11.2 release: creating bootable media under Win 7 will cause BSOD. https://github.com/pbatard/rufus/issues/1188

After a few hours of dealing with that, 11.2 proved to be loaded with errors and I ended up going back to 11.1. Everything is working fine now (6 hours later), thanks again!
 
Status
Not open for further replies.
Top