Tried an upgrade last evening. Must have missed something. Failed (after a long time) to load middleware.
Here’s the error in the middleware.log after failure:
UpdateService.get_trains():113 - Failed to comapre trains ‘TrueNAS-SCALE-ElectricEel’ and TrueNAS-SCALE-FangTooth’
Rolled back to old ElectricEel for now. Any thoughts on what I missed?
The actual message on the cosole was
middlewared: setting up plugins (audit)
It hung there for many minutes before posting about not being able to start middleware. I did try clearing out the /audit directory. Didn’t help.
I have the exact same issue upgrading from the latest electric eel to fangtooth. Tried upgrading with both the GUI and manually using the file linked above.
I have a Xeon-e3-1220 v3 cpu with 16GB RAM on an Asrock E3C224D2I, running two zraid1 pools each with 3 HDDs.
I tried again last night. First trimmed audit directory. Same issues. I did notice on boot I got errors from grub (GRUB error 150, “unsupported encryption,” ).
In the recovery shell, I saw that 7 python processes were running. For the heck of it I tried systemd restart middlewared.service and got some errors about python3 processes still running.
The middleware process not starting is the kind of thing we want to diagnose and fix pretty quickly. Can you send us a ticket / debug file from the system? Might be helpful if you can show the output of /var/log/middlewared.log as well.
Just to be clear, when you say you “mounted” you mean you are doing things in a recovery shell? If that’s the case then all the services not running would be expected, lots of boot up process is skipped there.
Is the GRUB error about unsupported encryption preventing you from booting into the normal boot-environment? Have you made any changes manually to the boot pool in any point during its history? I.E. running zpool upgrade or similar?
Ok, if you are back up into EE then a bug ticket with attached debug will be the best thing to let us see whats going on in this case. It’ll have a lot more details that might reveal clues here.
You can click the smiling face icon at the top right toolbar for “Send feedback” and submit a bug report there with attached debug file. Otherwise System → Advanced → Save Debug
No worries. We’re taking a look at the ticket, please feel free to talk with the engineering staff there and we’ll see if we can get to the bottom of this.
I created a ticket from the application but I can’t reply with the requested information. It keeps saying I have to sign in, but there is no way to create a user or to sign in.
I had upgraded from Core earlier today to 24.04 and I was expecting things to go bad with that but it went perfectly so was not expecting it to fail updating Scale → Scale