Cannot read property 'Id' of undefined

When clicking “Create release” on one project, I get the following error in the frontend:

An unexpected error occurred in Octopus v2021.2.7428: Cannot read property 'Id' of undefined

TypeError: Cannot read property 'Id' of undefined
t.<anonymous> (http://build4.elevate.internal:8080/app-main.3f5ab7a19a8d1351e664.hashedasset.js:1:2658492)
http://build4.elevate.internal:8080/app-main.3f5ab7a19a8d1351e664.hashedasset.js:1:2647139
Object.next (http://build4.elevate.internal:8080/app-main.3f5ab7a19a8d1351e664.hashedasset.js:1:2647244)
i (http://build4.elevate.internal:8080/app-main.3f5ab7a19a8d1351e664.hashedasset.js:1:2645958)
http://build4.elevate.internal:8080/vendor.1bb27afe3abbc277cf13.hashedasset.js:2:990093
j (http://build4.elevate.internal:8080/vendor.1bb27afe3abbc277cf13.hashedasset.js:2:990127)
M (http://build4.elevate.internal:8080/vendor.1bb27afe3abbc277cf13.hashedasset.js:2:989907)
MutationObserver.h (http://build4.elevate.internal:8080/vendor.1bb27afe3abbc277cf13.hashedasset.js:2:987937)

Hi @mauricio,

Thanks for reaching out.

Are you able to open Octopus Deploy in a private browsing tab or hard Refresh to clear the cache and try the Create release again? We’ve seen issues with caching similar to this after upgrades.

By chance, does this Project have a step that is referencing the Certificate that is having issues uploading from the other thread?

Looking forward to hearing back.

Regards,
Garrett

Hi Garrett,

Are you able to open Octopus Deploy in a private browsing tab or hard Refresh to clear the cache and try the Create release again? We’ve seen issues with caching similar to this after upgrades.

Hmm no, this is not it.

By chance, does this Project have a step that is referencing the Certificate that is having issues uploading from the other thread?

I’m still getting this after fixing the issue with the certificates.
But it’s definitely related to this botched upgrade… Some other property is probably missing somewhere… I don’t think it’s worth your or my time tbh, I’m just creating new projects to replace the broken ones now.

Cheers,
Mauricio

Hi @mauricio,

I’m sorry to see that was unhelpful and you have to recreate your projects.

For our benefit and if it’s not too much trouble could you direct message me a copy of the logs from the migration/upgrade? By default, they’re in C:\Octopus.

If you haven’t already I would recommend running Configuration -> Diagnostics -> and running a System Integrity Check to verify the database and schema migrated correctly. If you see any errors on that report please let me know?

Regards,
Garrett