# Some certificates became unavailable after upgrading to version sumac.2

**URL:** <https://discuss.openedx.org/t/some-certificates-became-unavailable-after-upgrading-to-version-sumac-2/15276>\
**Category:** Development\
**Tags:** tutor, sumac\
**Created:** [March 17, 2025, 10:32am UTC](https://discuss.openedx.org/t/some-certificates-became-unavailable-after-upgrading-to-version-sumac-2/15276 "2025-03-17T10:32:53Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![abylaikhan.suev.02](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/abylaikhan.suev.02/32/7694_2.png) [@abylaikhan.suev.02](https://discuss.openedx.org/u/abylaikhan.suev.02)\
**Post date:** [March 17, 2025, 10:32am UTC](https://discuss.openedx.org/t/some-certificates-became-unavailable-after-upgrading-to-version-sumac-2/15276/1 "2025-03-17T10:32:53Z")

</div>

After upgrading the platform to version sumac.2, some certificates became unavailable (showing either “certificate not found” or “page not found”). This issue occurred after upgrading from version redwood.

The frequency of such cases is approximately 70 to 30, meaning 70% of the certificates are available, while 30% are missing (even though I can see their unique `verify_uuid` in the database).

What could be the cause of this?

---

<div class="post-metadata">

**Author:** ![sarina](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/sarina/32/2308_2.png) [@sarina](https://discuss.openedx.org/u/sarina)\
**Post date:** [March 17, 2025, 3:01pm UTC](https://discuss.openedx.org/t/some-certificates-became-unavailable-after-upgrading-to-version-sumac-2/15276/2 "2025-03-17T15:01:57Z")

</div>

@mgmdi - I noticed for BTR you had commented on some certificates bugs. I don’t think this is related to [[Test failure] TC\_AUTHOR\_110: Certificate available date not working · Issue #429 · openedx/wg-build-test-release · GitHub](https://github.com/openedx/wg-build-test-release/issues/429) but I’m curious if you’ve seen anything like this in testing.

cc @Chelsea_Rathbun - I don’t think we test that _previously granted certificates_ are still available after upgrade. I suspect there’s a class of tests “still works after upgrade” that we aren’t hitting because we test on a fresh install.

---

<div class="post-metadata">

**Author:** ![Chelsea\_Rathbun](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/chelsea_rathbun/32/5385_2.png) [@Chelsea\_Rathbun](https://discuss.openedx.org/u/Chelsea_Rathbun)\
**Post date:** [March 18, 2025, 1:33pm UTC](https://discuss.openedx.org/t/some-certificates-became-unavailable-after-upgrading-to-version-sumac-2/15276/3 "2025-03-18T13:33:16Z")

</div>

@sarina - Thanks for brining this to my attention. I just triple checked our test sheet, and as you mentioned, we don’t currently have a test case captured for making sure that previously granted certificates are still available after an upgrade. I made a note to myself to make sure this is added to our testing sheet for Teak.

---

<div class="post-metadata">

**Author:** ![mgmdi](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/mgmdi/32/1684_2.png) [@mgmdi](https://discuss.openedx.org/u/mgmdi)\
**Post date:** [March 18, 2025, 4:10pm UTC](https://discuss.openedx.org/t/some-certificates-became-unavailable-after-upgrading-to-version-sumac-2/15276/4 "2025-03-18T16:10:47Z")

</div>

I’ve never seen this happen before. I’ll check internally to see if it has happened in any of our previous upgrades.

---

<div class="post-metadata">

**Author:** ![Felipe](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/felipe/32/60_2.png) [@Felipe](https://discuss.openedx.org/u/Felipe)\
**Post date:** [March 18, 2025, 4:30pm UTC](https://discuss.openedx.org/t/some-certificates-became-unavailable-after-upgrading-to-version-sumac-2/15276/5 "2025-03-18T16:30:31Z")

</div>

Just an idea. Could it be that you have code in the certificate template that is failing to render and the error is caught and shown as 404 when in reality it masks a 500 error?

---

<div class="post-metadata">

**Author:** ![abylaikhan.suev.02](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/abylaikhan.suev.02/32/7694_2.png) [@abylaikhan.suev.02](https://discuss.openedx.org/u/abylaikhan.suev.02)\
**Post date:** [March 19, 2025, 5:06am UTC](https://discuss.openedx.org/t/some-certificates-became-unavailable-after-upgrading-to-version-sumac-2/15276/6 "2025-03-19T05:06:46Z")

</div>

Hello. I did not add any code to the certificate rendering. It is the default one, the same as when a fresh OpenEDX installation is made. Initially, I thought this was happening because some certificates were issued manually even if the user did not complete the course or earn enough points, but after a thorough check, this was ruled out.

---

<div class="post-metadata">

**Author:** ![abylaikhan.suev.02](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/abylaikhan.suev.02/32/7694_2.png) [@abylaikhan.suev.02](https://discuss.openedx.org/u/abylaikhan.suev.02)\
**Post date:** [March 19, 2025, 5:35am UTC](https://discuss.openedx.org/t/some-certificates-became-unavailable-after-upgrading-to-version-sumac-2/15276/7 "2025-03-19T05:35:12Z")

</div>

It should also be noted that unavailable certificates do not appear in the profile, while available ones do.

---

<div class="post-metadata">

**Author:** ![abylaikhan.suev.02](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/abylaikhan.suev.02/32/7694_2.png) [@abylaikhan.suev.02](https://discuss.openedx.org/u/abylaikhan.suev.02)\
**Post date:** [March 19, 2025, 6:48am UTC](https://discuss.openedx.org/t/some-certificates-became-unavailable-after-upgrading-to-version-sumac-2/15276/8 "2025-03-19T06:48:50Z")

</div>

I just tested it again. For some reason, everything works fine with the Indigo plugin disabled. I have no idea why this is happening. How can I get everything working with Indigo enabled?  
I tried running `tutor images build openedx` and `tutor local launch`, but it didn’t help.

---

<div class="post-metadata">

**Author:** ![mgmdi](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/mgmdi/32/1684_2.png) [@mgmdi](https://discuss.openedx.org/u/mgmdi)\
**Post date:** [March 19, 2025, 10:24am UTC](https://discuss.openedx.org/t/some-certificates-became-unavailable-after-upgrading-to-version-sumac-2/15276/9 "2025-03-19T10:24:41Z")

</div>

Can you share the LMS logs from when the certificate is accessed with Tutor Indigo enabled?

---

<div class="post-metadata">

**Author:** ![abylaikhan.suev.02](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/abylaikhan.suev.02/32/7694_2.png) [@abylaikhan.suev.02](https://discuss.openedx.org/u/abylaikhan.suev.02)\
**Post date:** [March 19, 2025, 10:29am UTC](https://discuss.openedx.org/t/some-certificates-became-unavailable-after-upgrading-to-version-sumac-2/15276/10 "2025-03-19T10:29:56Z")

</div>

Attaching LMS logs

 ![image](https://us1.discourse-cdn.com/flex020/uploads/openedx/original/2X/8/84f34c03f3bd65153775a24728f46f0f161e4bdf.png)

---

<div class="post-metadata">

**Author:** ![mgmdi](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/mgmdi/32/1684_2.png) [@mgmdi](https://discuss.openedx.org/u/mgmdi)\
**Post date:** [March 19, 2025, 10:31am UTC](https://discuss.openedx.org/t/some-certificates-became-unavailable-after-upgrading-to-version-sumac-2/15276/11 "2025-03-19T10:31:46Z")

</div>

and with Tutor Indigo off? It works correctly, right?

---

<div class="post-metadata">

**Author:** ![abylaikhan.suev.02](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/abylaikhan.suev.02/32/7694_2.png) [@abylaikhan.suev.02](https://discuss.openedx.org/u/abylaikhan.suev.02)\
**Post date:** [March 19, 2025, 10:32am UTC](https://discuss.openedx.org/t/some-certificates-became-unavailable-after-upgrading-to-version-sumac-2/15276/12 "2025-03-19T10:32:12Z")

</div>

yes, correct

---

<div class="post-metadata">

**Author:** ![abylaikhan.suev.02](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/abylaikhan.suev.02/32/7694_2.png) [@abylaikhan.suev.02](https://discuss.openedx.org/u/abylaikhan.suev.02)\
**Post date:** [March 19, 2025, 10:33am UTC](https://discuss.openedx.org/t/some-certificates-became-unavailable-after-upgrading-to-version-sumac-2/15276/13 "2025-03-19T10:33:32Z")

</div>

I can disable indigo and open the same certificate if you want

---

<div class="post-metadata">

**Author:** ![abylaikhan.suev.02](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/abylaikhan.suev.02/32/7694_2.png) [@abylaikhan.suev.02](https://discuss.openedx.org/u/abylaikhan.suev.02)\
**Post date:** [March 19, 2025, 10:42am UTC](https://discuss.openedx.org/t/some-certificates-became-unavailable-after-upgrading-to-version-sumac-2/15276/14 "2025-03-19T10:42:29Z")

</div>

I also made sure that the Indigo version matches the current openedx release

---

<div class="post-metadata">

**Author:** ![mgmdi](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/mgmdi/32/1684_2.png) [@mgmdi](https://discuss.openedx.org/u/mgmdi)\
**Post date:** [March 19, 2025, 11:25am UTC](https://discuss.openedx.org/t/some-certificates-became-unavailable-after-upgrading-to-version-sumac-2/15276/15 "2025-03-19T11:25:37Z")

</div>

yes, thank you!

---

<div class="post-metadata">

**Author:** ![Syed\_Muhammad\_Dawoud](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/syed_muhammad_dawoud/32/6313_2.png) [@Syed\_Muhammad\_Dawoud](https://discuss.openedx.org/u/Syed_Muhammad_Dawoud)\
**Post date:** [March 19, 2025, 12:55pm UTC](https://discuss.openedx.org/t/some-certificates-became-unavailable-after-upgrading-to-version-sumac-2/15276/16 "2025-03-19T12:55:20Z")

</div>

Are we getting this error when trying to access certs from learner dashboard (It’s been a while since I interacted with certs and certain contexts might be outdated)?

---

<div class="post-metadata">

**Author:** ![abylaikhan.suev.02](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/abylaikhan.suev.02/32/7694_2.png) [@abylaikhan.suev.02](https://discuss.openedx.org/u/abylaikhan.suev.02)\
**Post date:** [March 20, 2025, 4:30am UTC](https://discuss.openedx.org/t/some-certificates-became-unavailable-after-upgrading-to-version-sumac-2/15276/17 "2025-03-20T04:30:05Z")

</div>

@Syed_Muhammad_Dawoud  
As I mentioned earlier, some certificates are available, while others are not when Indigo is enabled.

If Indigo is enabled, the certificate is also not displayed in the profile or within the course progress. The **“View Certificate”** button appears in the dashboard, but when clicked, it shows that the certificate was not found.

I have attached a photo where:

1. With Indigo enabled, one certificate is available, while the other is not.
2. With Indigo disabled, both certificates are available.

Enable indigo

 ![Screenshot_2](https://us1.discourse-cdn.com/flex020/uploads/openedx/original/2X/8/82c9b731a4ff974d5719cd8dd7649e43b7b5f8b5.jpeg)

Disable indigo

 ![Screenshot_3](https://us1.discourse-cdn.com/flex020/uploads/openedx/original/2X/2/2c94b1011f1a0823890a0129a827c611ffff3fa1.jpeg)

---

<div class="post-metadata">

**Author:** ![mgmdi](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/mgmdi/32/1684_2.png) [@mgmdi](https://discuss.openedx.org/u/mgmdi)\
**Post date:** [March 20, 2025, 9:40am UTC](https://discuss.openedx.org/t/some-certificates-became-unavailable-after-upgrading-to-version-sumac-2/15276/18 "2025-03-20T09:40:41Z")

</div>

The only thing that appears relevant to me is the _user has no eligible cert for…_ in the first screenshot with indigo enabled, which doesn’t appear in the second one. I’m pretty lost on how this relates to the theme though.

EDIT: but I think the message is related to a different course run.

---

<div class="post-metadata">

**Author:** ![abylaikhan.suev.02](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/abylaikhan.suev.02/32/7694_2.png) [@abylaikhan.suev.02](https://discuss.openedx.org/u/abylaikhan.suev.02)\
**Post date:** [March 20, 2025, 10:03am UTC](https://discuss.openedx.org/t/some-certificates-became-unavailable-after-upgrading-to-version-sumac-2/15276/19 "2025-03-20T10:03:23Z")

</div>

I don’t understand why that’s the case either 😅. Maybe there’s a list of actions I should try? I tried removing the styling from \_certificate.scss, but it didn’t help.

---

<div class="post-metadata">

**Author:** ![abylaikhan.suev.02](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/abylaikhan.suev.02/32/7694_2.png) [@abylaikhan.suev.02](https://discuss.openedx.org/u/abylaikhan.suev.02)\
**Post date:** [April 10, 2025, 4:19am UTC](https://discuss.openedx.org/t/some-certificates-became-unavailable-after-upgrading-to-version-sumac-2/15276/20 "2025-04-10T04:19:26Z")

</div>

@sarina @mgmdi @Felipe.  
Thank you all for your help. I found what the issue was. I can’t really explain it, but when Indigo was enabled, the certificate would only appear if I went into the Studio for that course and clicked the “Enable now” button for “Course highlight emails”. Again, it sounds very strange 😅, but that’s what worked for me. I hope this helps in some way, and that you’ll take a look at this behavior and possibly fix it in the future.
