# How can i rebuild discourse without changing version?

**URL:** https://meta.discourse.org/t/how-can-i-rebuild-discourse-without-changing-version/142233
**Category:** Self-hosting
**Created:** [February 21, 2020, 9:02am UTC](https://meta.discourse.org/t/how-can-i-rebuild-discourse-without-changing-version/142233 "2020-02-21T09:02:34Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![Pekkanen](https://avatars.discourse-cdn.com/v4/letter/p/96bed5/32.png) [@Pekkanen](https://meta.discourse.org/u/Pekkanen)
#### Post date: [February 22, 2020, 11:03am UTC](https://meta.discourse.org/t/how-can-i-rebuild-discourse-without-changing-version/142233/7 "2020-02-22T11:03:45Z")

</div>

Yes, I can see that the information i gave in the post was not detailed enough. I do not think it is a formatting error, since the yml works fine without the version tag.

I tested some more, and it seems like whatever bug I encountered does not trigger in version 10 and 11, but does trigger in version 4 to 9.

I can only find two errors in the print, and i think they are expected:

```plaintext
2020-02-22 10:42:33.410 UTC [62] postgres@postgres ERROR: database "discourse" already exists

2020-02-22 10:42:33.533 UTC [73] postgres@discourse ERROR: role "discourse" already exists

```

I looked at the release notes for version 10, and did not find a reference to a fix related to this.

> [@Discourse 2.4.0.beta10 Release Notes](https://meta.discourse.org/t/discourse-2-4-0-beta10-release-notes/139327):
>
> New features in 2.4.0.beta10 Bigger emoji When 1-3 emoji exists on their own line, they’re now automatically made larger! Now you can communicate in emoji without needing to squint as much. tadafireworksboomAward a badge to a set of users Badges now support “bulk award”, allowing admins to upload a list of user emails which will all be granted a badge. For full details, see MaxMind DB downloads now require a license key Discourse uses the free MaxMind GeoLite2 IP database to provide l…

Its good that it is fixed, and with your work around for the smpt settings (will test it on monday, dont want to mess with the production server during the weekend) there is no urgent need from me, but it would be good to know if there is an unknown error that the tests will not catch, and that may return, if it was ‘fixed’ by accident and not by a targeted change. I guess i want to know how stable the version function can be expected to be in the future.

This is a dump of the output from a run with v2.4.0.beta9 as target version.  
[dump\_disco\_version\_error.txt](https://meta.discourse.org/uploads/short-url/lmtpCk8qdDBKKICba4nC9IgibGq.txt) (127.5 KB)

---

_[View the full topic](https://meta.discourse.org/t/how-can-i-rebuild-discourse-without-changing-version/142233)._
