Error on update

youngtaek

Cadet
Joined
May 23, 2021
Messages
6
Hello,

I've installed TNS 20.12 a few months ago
I'm now trying to update it into 21.04, but facing error like this:

Error: [EFAULT] Traceback (most recent call last): File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.8/runpy.py", line 87, in _run_code exec(code, run_globals) File "/tmp/tmp2akntpzs/truenas_install/__main__.py", line 372, in < module > main() File "/tmp/tmp2akntpzs/truenas_install/__main__.py", line 311, in main raise subprocess.CalledProcessError( subprocess.CalledProcessError: Command 'Failed to execute truenas-initrd: Failed to update initramfs Traceback (most recent call last): File "/tmp/tmp1fiz5bkl/usr/local/bin/truenas-initrd.py", line 146, in from middlewared.utils.gpu import get_gpus File "/tmp/tmp1fiz5bkl/usr/lib/python3/dist-packages/middlewared/utils/gpu.py", line 5, in from middlewared.service import CallError File "/tmp/tmp1fiz5bkl/usr/lib/python3/dist-packages/middlewared/service.py", line 18, in import psutil File "/tmp/tmp1fiz5bkl/usr/lib/python3/dist-packages/psutil/__init__.py", line 99, in from . import _pslinux as _psplatform File "/tmp/tmp1fiz5bkl/usr/lib/python3/dist-packages/psutil/_pslinux.py", line 26, in from . import _psutil_linux as cext ImportError: cannot import name '_psutil_linux' from partially initialized module 'psutil' (most likely due to a circular import) (/tmp/tmp1fiz5bkl/usr/lib/python3/dist-packages/psutil/__init__.py) ' returned non-zero exit status 2.

How can I deal with this?
 

mroptman

Dabbler
Joined
Dec 2, 2019
Messages
23
Faced the same error - could not find a fix.

I reinstalled TNS 21.04 over the initial install and then imported my testing pools.
 

youngtaek

Cadet
Joined
May 23, 2021
Messages
6
Faced the same error - could not find a fix.

I reinstalled TNS 21.04 over the initial install and then imported my testing pools.

I also think that's the best way at this moment
Not sure if importing configurations dumped from 20.12 is okay though
 

ornias

Wizard
Joined
Mar 6, 2020
Messages
1,458
I would advice doing it like this:
20.12 -> 21.02 -> 21.04

During alpha multiple version hops at once is not very-well tested afaik.
 

youngtaek

Cadet
Joined
May 23, 2021
Messages
6
I would advice doing it like this:
20.12 -> 21.02 -> 21.04

During alpha multiple version hops at once is not very-well tested afaik.

Thanks for suggestion.
Do you know how I can get the update files? I can't find other than iso of last version
 

ornias

Wizard
Joined
Mar 6, 2020
Messages
1,458
Thanks for suggestion.
Do you know how I can get the update files? I can't find other than iso of last version
Me and others have posted the link to the download website (with all old versions) a few times in the forums... it's there ;-)
 
Top