Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Ryzen hardware failure led to CPU/TPM change – Pro license now shows GUID mismatch / KeyFile is not valid

Featured Replies

My Unraid server started having a bunch of hardware issues MCE errors, Data Fabric errors, RCU stalls, random freezes, and failed boots. I was also able to reproduce hardware errors in Fedora, so I started treating it as a hardware problem instead of Unraid.

During all of this my old Unraid USB also failed and became permanently write protected, so I replaced the flash drive and restored my config.

I then replaced my Ryzen 7 5800X with a Ryzen 9 5900XT. On the first boot after installing the new CPU, the ASUS BIOS gave me the message about a new CPU / fTPM and creating a new TPM identity.

Unraid is booting now, but my Pro license is messed up.

The old TPM GUID ended in ABCD and the new one ends in EFGH.

The Unraid account page tells me to Move to TPM, but when I go through the process and click Replace Key, I get:

KeyFile is not valid

My account still shows my Pro license and lets me download the key file, but it looks like that key is still tied to the old GUID.

I already opened a support ticket, but while I wait I wanted to see if anyone else has run into this after replacing an AMD CPU/fTPM.

Do I just need Unraid support to reset/reissue the existing Pro key to the new TPM GUID, or is there something else I can do?

I can post screenshots/diagnostics if needed.

Solved by drtechnolust

  • Author
  • Solution

This ended up being a combination of a hardware issue and a licensing/TPM change. The server had been throwing repeated AMD MCE/Hardware Errors, Data Fabric errors, RCU stalls, freezes, and failed boots. I was able to reproduce hardware errors outside of Unraid in Fedora as well, so I replaced the Ryzen 7 5800X with a Ryzen 9 5900XT. After the CPU replacement, the ASUS BIOS detected a new fTPM/TPM identity. Unraid then showed a GUID mismatch and the TPM license move failed with: KeyFile is not valid I opened a ticket with Unraid Support and their quick response I was able to get my licensing issue sorted out and I'm back online.

Thanks!

  • 1 month later...

Yes, it happened to me too a few weeks ago...

I have an Asus x570 pro with one of my licenses linked to TPM.

I changed the CPU, and I ran into the problem... unraid said the license didn't match...

The biggest problem is that I have OpnSense running on a VM in unraid, and since I couldn't start unraid, I couldn't start OpnSense either, and I couldn't solve the problem; it was a loop.

I had to configure a router I had lying around with OpenWRT to solve the problem, but I was down for several hours.

I got a big scare... I already transferred one of my licenses to a USB drive again... and I'll transfer the other one soon.

Just by removing the CPU from the socket and putting it back in, even if it's just to change the thermal paste, the motherboard says "new CPU installed" when it restarts, something changes, and UnRAID says the license is invalid. And if the router is inside UnRAID in a VM, you'll never be able to fix it offline.

I thought the TPM would remain unchanged since it's always the same motherboard, but a CPU change makes you lose the TPM license, at least on AM4 motherboards.

Would a BIOS update do the same thing?

Shouldn't it?

I'd better not try it. 😅

  • Community Expert
4 minutes ago, PoMpIs said:

Yes, it happened to me too a few weeks ago...

I have an Asus x570 pro with one of my licenses linked to TPM.

I changed the CPU, and I ran into the problem... unraid said the license didn't match...

The biggest problem is that I have OpnSense running on a VM in unraid, and since I couldn't start unraid, I couldn't start OpnSense either, and I couldn't solve the problem; it was a loop.

I had to configure a router I had lying around with OpenWRT to solve the problem, but I was down for several hours.

I got a big scare... I already transferred one of my licenses to a USB drive again... and I'll transfer the other one soon.

Just by removing the CPU from the socket and putting it back in, even if it's just to change the thermal paste, the motherboard says "new CPU installed" when it restarts, something changes, and UnRAID says the license is invalid. And if the router is inside UnRAID in a VM, you'll never be able to fix it offline.

I thought the TPM would remain unchanged since it's always the same motherboard, but a CPU change makes you lose the TPM license, at least on AM4 motherboards.

Would a BIOS update do the same thing?

Shouldn't it?

I'd better not try it. 😅

I’m almost certain any setting you change in the BIOS (including updating the bios or doing CPU swapping) will alter the fTPM ID and cause you to have to do the licensing dance.

6 minutes ago, MowMdown said:

I’m almost certain any setting you change in the BIOS (including updating the bios or doing CPU swapping) will alter the fTPM ID and cause you to have to do the licensing dance.


Yeah, yeah... I learned that the hard way, 😆

I didn't think I'd lose the TPM so easily. I just shut down the server to change the CPU, and when I went back to the Unraid GUI and saw the "invalid license" message, I almost had a heart attack. It was something I wasn't expecting at all...

Lesson learned, won't happen again. 🙂

Now I have my other license on a USB drive. Just by restoring a backup to that USB and using the linked key, I don't have any more problems.

For now, I'm still using the TPM on the server, but as soon as I can, I'll shut it down and boot it with this other USB drive and its license. I'll also copy the key from the TPM on that Asus motherboard to another USB drive, and goodbye to problems with CPU changes, BIOS updates, or even motherboard updates if necessary.

  • Community Expert
8 hours ago, PoMpIs said:

didn't think I'd lose the TPM so easily. I just shut down the server to change the CPU

The fTPM (unlike a TPM module) comes from the CPU, so it will always change if the CPU is changed.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.