Cannot Update - getting traceback

Description

When I try to update from Freenas 11.1u6 to 11.1u7 the following error occurs:

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 update_verify
1784. raise MiddlewareError(handler.error)

Exception Type: MiddlewareError at /system/update/verify/
Exception Value: [MiddlewareError: [Errno 22] Invalid argument: '/tmp']

I have had no issues before updating from 9 to 11. Issues started with 11.1u6

Problem/Justification

None

Impact

None

SmartDraw Connector

Katalon Manual Tests (BETA)

Activity

William Gryzbowski 
April 27, 2019 at 6:32 PM

You're welcome.

Closing this ticket as we dont have a reproduction case.

Casper 
April 27, 2019 at 5:25 PM

IT WORKED!!! Now updated.

Thank you so much.

 

The solution was to connect through SSH (Putty) and type in the commands:

rm -rf /tmp

ln -s /var/tmp /tmp

 

Afterwards I could update like I used to.

 

Thank you!

Casper 
April 27, 2019 at 5:03 PM

I'll try again through Putty.

William Gryzbowski 
April 27, 2019 at 5:02 PM

You need to do that using SSH and make sure the symlink is made.

Casper 
April 27, 2019 at 4:52 PM

No I am not sure. I used the commands before:

 when I used the: rm -rf /tmp

I was immediately logged out and couldn't log back in, before hard resetting the server.

Afterwards I used the: ln -s /var/tmp /tmp 

Cannot Reproduce

Details

Assignee

Reporter

Labels

Components

Fix versions

Affects versions

Priority

More fields

Katalon Platform

Created April 27, 2019 at 8:06 AM
Updated July 1, 2022 at 4:32 PM
Resolved July 1, 2022 at 1:29 PM