Updating TrueNAS continuing to fail

Hi all, running into an issue where I’m trying to update TrueNAS Scale from BlueFin 22.12.2 to ElectricEel. I’ve had a ton of weird issues with TrueNAS (not being able to install apps because of kubernetes, really high CPU usage, etc.) and am trying to update the OS as a starting point for other troubleshooting. Should have known that that was going to prove difficult. Here’s what I’m running into:

  1. I go to Dashboard → Check for updates
  2. I see that I’m on the BlueFin train, I switch over to ElectricEel
  3. I click Confirm on the train switch over
  4. I have experimented with this, but I have clicked both “Download Updates” as well as “Apply Pending Updates” (I save my config file)
  5. I get the following error

Error: [EFAULT] unsquashfs failed with exit code 1: SYNTAX: unsquashfs [options] filesystem [directories or files to extract] -v[ersion] print version, licence and copyright information -d[est] < pathname > unsquash to , default "squashfs-root" -q[uiet] no verbose output -n[o-progress] don't display the progress bar -no[-xattrs] don't extract xattrs in file system -x[attrs] extract xattrs in file system (default) -u[ser-xattrs] only extract user xattrs in file system. Enables extracting xattrs -p[rocessors] use processors. By default will use number of processors available -i[nfo] print files as they are unsquashed -li[nfo] print files as they are unsquashed with file attributes (like ls -l output) -l[s] list filesystem, but don't unsquash -ll[s] list filesystem with file attributes (like ls -l output), but don't unsquash -lln[umeric] -lls but with numeric uids and gids -lc list filesystem concisely, displaying only files and empty directories. Don't unsquash -llc list filesystem concisely with file attributes, displaying only files and empty directories. Don't unsquash -o[ffset] skip at start of Optionally a suffix of K, M or G can be given to specify Kbytes, Mbytes or Gbytes respectively. Default 0 bytes. -f[orce] if file already exists then overwrite -ig[nore-errors] Treat errors writing files to output as non-fatal -st[rict-errors] Treat all errors as fatal -s[tat] display filesystem superblock information -UTC Use UTC rather than local time zone when displaying time -mkfs-time display filesystem superblock time -fstime synonym for -mkfs-time -e[f] list of directories or files to extract. One per line -da[ta-queue] Set data queue to Mbytes. Default 256 Mbytes -fr[ag-queue] Set fragment queue to Mbytes. Default 256 Mbytes -r[egex] treat extract names as POSIX regular expressions rather than use the default shell wildcard expansion (globbing) Decompressors available: gzip lzma lzo lz4 xz zstd

This is all way beyond my skill set. I’ve tried to Google this problem to no avail. Could I get any help? I’m happy to do the Manual Update but I’m worried that that’s going to fail as well. I use this server as a NAS for a lot of my work stuff and would like to not have a catastrophe with updating.

Thanks

As far as I know skipping releases like this is not supported.

You’d have to go from Bluefin to Cobia to Dragonfish to Electric Eel.

What you can do is export the config, install Electric Eel using the ISO, and then importing the config. That’s the only method supporting version skips.

2 Likes

i would recommend doing a config export and then a clean install. i usually export any pools when i do this too and then import them on the fresh install.

honestly this sounds like a lot of work, but it usually ends up being faster and less headache than trying to upgrade through multiple branches in TrueNAS.

1 Like

Is there a way I can do this through the Manual Install or do I have to go to the server itself and run this (it doesn’t have IPMI or anything, just a consumer MOBO with an non-APU, so would like to avoid a GPU install as much as possible)

How do I export pools from TrueNAS Scale?

I’ve never been in that position but I don’t think so. The ISO needs to be mounted somehow… maybe if you can figure out how to do a PXE boot to mount/boot the ISO on the server.

Not required anyway, but it’s in the storage screen.

2 Likes

I’m going to try train hopping for now and if that doesn’t give me the results I’m looking for I will do a fresh install, per your and Zedicus’ suggestion

In the future you also shouldn’t be staying on a version this long. Even their recommendation for conservative updates recommends the last like… 2 updates of the last release as well:

Especially running this on a server running something that has been EOL for 2 years is wildly insecure.

I didn’t even realize I was this out of date. I thought I had set this to automatically update and don’t really look at this too often since it’s just a file server for me. I’ll be more diligent in the future

There is no “true” automatic update. You can set it to download updates automatically, but not install them.

The upgrade to a new release is always manual regardless because you need to manually switch trains.

1 Like

Gotcha, again, not my forte as much as I’d like it to be but trying to get better. Appreciate the help. I’m moving through the trains at the moment. I’ve gone from Bluefin to Cobia and am updating to Dragonfish now. No errors

1 Like

I’ve never looked at what the update files actually look like but my guess is that the newer update files require a newer version of unsquashfs due to whatever flags they provide and/or a new compression algorithm.