# " undefined method \`deprecated?' for nil:NilClass" on rebuild

**URL:** https://meta.discourse.org/t/undefined-method-deprecated-for-nil-nilclass-on-rebuild/251711
**Category:** Self-hosting
**Created:** [January 13, 2023, 9:09pm UTC](https://meta.discourse.org/t/undefined-method-deprecated-for-nil-nilclass-on-rebuild/251711 "2023-01-13T21:09:12Z")
**Posts on this page:** 1
**Showing post:** 20

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [January 18, 2023, 4:38pm UTC](https://meta.discourse.org/t/undefined-method-deprecated-for-nil-nilclass-on-rebuild/251711/20 "2023-01-18T16:38:21Z")

</div>

I’d echo @JammyDodger on using [Move your Discourse Instance to a Different Server](https://meta.discourse.org/t/move-your-discourse-instance-to-a-different-server/15721) to update to a recent Debian / Ubuntu droplet.

Otherwise you need to run the super-long `do-release-upgrade` 5 times just to get to latest. Not worth it.

---

_[View the full topic](https://meta.discourse.org/t/undefined-method-deprecated-for-nil-nilclass-on-rebuild/251711)._
