Can't update the system

Letigid

Cadet
Joined
Mar 31, 2022
Messages
5
Hello, in new TrueNAS system.

So, i have tried to update the system but it doesn't exist the update buttom.
1648727705180.png


Only existe the option for update manually, and it doesn't let me update too. Why? because it says this error:

Code:
Error: Traceback (most recent call last):
  File "/usr/local/lib/freenasOS/Update.py", line 1258, in ExtractFrozenUpdate
    with tarfile.open(tarball) as tf:
  File "/usr/local/lib/python3.9/tarfile.py", line 1616, in open
    raise ReadError("file could not be opened successfully")
tarfile.ReadError: file could not be opened successfully

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/middlewared/job.py", line 367, in run
    await self.future
  File "/usr/local/lib/python3.9/site-packages/middlewared/job.py", line 403, in __run_body
    rv = await self.method(*([self] + args))
  File "/usr/local/lib/python3.9/site-packages/middlewared/schema.py", line 975, in nf
    return await f(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/middlewared/plugins/update.py", line 389, in file
    await self.middleware.call('update.install_manual_impl', job, destfile, dest_extracted)
  File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 1256, in call
    return await self._call(
  File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 1224, in _call
    return await self.run_in_executor(prepared_call.executor, methodobj, *prepared_call.args)
  File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 1128, in run_in_executor
    return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
  File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.9/site-packages/middlewared/plugins/update_/install_freebsd.py", line 56, in install_manual_impl
    Update.ExtractFrozenUpdate(path, dest_extracted, verbose=True)
  File "/usr/local/lib/freenasOS/Update.py", line 1278, in ExtractFrozenUpdate
    raise Exceptions.UpdateBadFrozenFile("Bad tar file {0}".format(tarball))
NameError: name 'Exceptions' is not defined


thank you.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
save your config

download the ISO of the version you want, put it on some kind of boot media and boot to it, then install over the top of your current install.

If it picks up the current install, you may just be fine with no further action, otherwise, restore your config at the end.
 

Letigid

Cadet
Joined
Mar 31, 2022
Messages
5
save your config

download the ISO of the version you want, put it on some kind of boot media and boot to it, then install over the top of your current install.

If it picks up the current install, you may just be fine with no further action, otherwise, restore your config at the end.
Ty i gonna try it.

but why i doenst still having the buttons that are not on the update panel, it could be a bad installation in first?
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
it could be a bad installation in first?
That's the assumption... something not right with one or more of the files in the OS.
 

Letigid

Cadet
Joined
Mar 31, 2022
Messages
5
save your config

download the ISO of the version you want, put it on some kind of boot media and boot to it, then install over the top of your current install.

If it picks up the current install, you may just be fine with no further action, otherwise, restore your config at the end.
I just reinstall the system an all work correctly, it could be for two reasons, first installation was in a virtual machine with limited storage or a bad installation process. Second reason could be for the second installation i do in a real machine i have and it work correctly in first look
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
See the notes in


Under-resourcing your virtualized NAS is a good way to cause things not to work properly, and modern TrueNAS Core has a 16GB minimum memory requirement, and had 8GB before that. If you were trying to run with less than 8GB RAM, for example, the modern middleware and ZFS are known to be problematic because they are, well, fat.
 

Letigid

Cadet
Joined
Mar 31, 2022
Messages
5
See the notes in


Under-resourcing your virtualized NAS is a good way to cause things not to work properly, and modern TrueNAS Core has a 16GB minimum memory requirement, and had 8GB before that. If you were trying to run with less than 8GB RAM, for example, the modern middleware and ZFS are known to be problematic because they are, well, fat.
for the test the 8gb go well, but yeah, now i installed it in better real machine and works better than the VM
 
Top