Problems Sidegrading from CORE to SCALE

ghamauricio

Dabbler
Joined
Mar 20, 2019
Messages
22
Hello guys,

Been a TrueNAS CORE user since it was called FreeNAS. I'm not really a *NIX guy, but I kinda manage to handle it.
I finally decided to sidegrade from CORE to SCALE in order to use some Docker images, but upon uploading the .update[/] file, I got this error:

Code:

report_problem [EFAULT] Command sha1 /var/tmp/firmware/squashfs-root/rootfs.squashfs failed (code 1): sha1: /var/tmp/firmware/squashfs-root/rootfs.squashfs: No such file or directory​

Error: 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 53, in install_manual_impl return self._install_scale(job, path) File "/usr/local/lib/python3.9/site-packages/middlewared/plugins/update_/install_freebsd.py", line 73, in _install_scale return self.middleware.call_sync( File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 1283, in call_sync return methodobj(*prepared_call.args) File "/usr/local/lib/python3.9/site-packages/middlewared/plugins/update_/install.py", line 29, in install_scale our_checksum = subprocess.run(["sha1", os.path.join(mounted, file)], **run_kw).stdout.split()[-1] File "/usr/local/lib/python3.9/subprocess.py", line 528, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['sha1', '/var/tmp/firmware/squashfs-root/rootfs.squashfs']' returned non-zero exit status 1. 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 371, in run raise handled middlewared.service_exception.CallError: [EFAULT] Command sha1 /var/tmp/firmware/squashfs-root/rootfs.squashfs failed (code 1): sha1: /var/tmp/firmware/squashfs-root/rootfs.squashfs: No such file or directory


I tried to look it up on Google but found nothing relevant.
First I tried to use the memory as the temp pat, then POOL1.

In case it's relevant: I'm using an HP ProLiant Microserver 10 as the server. This specific hardware required a tuneable, something like
hw.pci.realloc_bars=1.

Any help would be much appreciated.
 

JJNova

Cadet
Joined
Oct 22, 2022
Messages
1
I get the same issue, but I am using a FreeNAS miniXL. Following the directions from the TrueNAS site, doing the "Manual Upgrade" method.

Code:
Error: Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/middlewared/job.py", line 355, in run
    await self.future
  File "/usr/local/lib/python3.9/site-packages/middlewared/job.py", line 391, 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 1278, in call
    return await self._call(
  File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 1246, 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 1151, 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 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.9/site-packages/middlewared/plugins/update_/install_freebsd.py", line 66, in install_manual_impl
    return self._install_scale(job, path)
  File "/usr/local/lib/python3.9/site-packages/middlewared/plugins/update_/install_freebsd.py", line 86, in _install_scale
    return self.middleware.call_sync(
  File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 1305, in call_sync
    return methodobj(*prepared_call.args)
  File "/usr/local/lib/python3.9/site-packages/middlewared/plugins/update_/install.py", line 29, in install_scale
    our_checksum = subprocess.run(["sha1", os.path.join(mounted, file)], **run_kw).stdout.split()[-1]
  File "/usr/local/lib/python3.9/subprocess.py", line 528, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['sha1', '/var/tmp/firmware/squashfs-root/rootfs.squashfs']' returned non-zero exit status 1.

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 359, in run
    raise handled
middlewared.service_exception.CallError: [EFAULT] Command sha1 /var/tmp/firmware/squashfs-root/rootfs.squashfs failed (code 1):
sha1: /var/tmp/firmware/squashfs-root/rootfs.squashfs: No such file or directory
 
Top