# Upgrade failed (NoMethodError: undefined method \`register\_bookmarkable' for Bookmark:Class)

**URL:** <https://meta.discourse.org/t/upgrade-failed-nomethoderror-undefined-method-register-bookmarkable-for-bookmark-class/258761>\
**Category:** Self-hosting\
**Created:** [March 20, 2023, 3:51pm UTC](https://meta.discourse.org/t/upgrade-failed-nomethoderror-undefined-method-register-bookmarkable-for-bookmark-class/258761 "2023-03-20T15:51:38Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![xyzzy](https://avatars.discourse-cdn.com/v4/letter/x/e36b37/32.png) [@xyzzy](https://meta.discourse.org/u/xyzzy)\
**Post date:** [March 26, 2023, 8:52pm UTC](https://meta.discourse.org/t/upgrade-failed-nomethoderror-undefined-method-register-bookmarkable-for-bookmark-class/258761/4 "2023-03-26T20:52:16Z")

</div>

For what its worth, I reverted my VM a few times and retried this upgrade 2 different ways:

Way #1 - Do the upgrade, and then do a rebuild right after the error.

Way #2 - Remove discourse-data-explorer plugin from app.yml, rebuild, re-add discourse-data-explorer plugin to app.yml, rebuild.

Both seemed to work fine. I’ll also note that the above rebuilds also have the effect of upgrading the install to 3.1.0.beta3. However, the error in Way #1 has me nervous that some file or data might get left in an non-optimal state due to the interrupted upgrade. So, I’ll likely do Way #2 in production.

---

_[View the full topic](https://meta.discourse.org/t/upgrade-failed-nomethoderror-undefined-method-register-bookmarkable-for-bookmark-class/258761)._
