# Release v1.2: duplicate location "/backups/"

**URL:** https://meta.discourse.org/t/release-v1-2-duplicate-location-backups/25432
**Category:** Bug
**Created:** [February 20, 2015, 12:04am UTC](https://meta.discourse.org/t/release-v1-2-duplicate-location-backups/25432 "2015-02-20T00:04:41Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![cfstras](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cfstras/32/103104_2.png) [@cfstras](https://meta.discourse.org/u/cfstras)
#### Post date: [February 20, 2015, 12:04am UTC](https://meta.discourse.org/t/release-v1-2-duplicate-location-backups/25432/1 "2015-02-20T00:04:41Z")

</div>

Continuing the discussion from [Discourse 1.2 released](https://meta.discourse.org/t/discourse-1-2-released/25429):

After updating (which also told me to update my docker container, since I was on 1.0 until now), my instance won’t come back up.  
`./launcher logs` tells me:  
`nginx: [emerg] duplicate location "/backups/" in /etc/nginx/conf.d/discourse.conf:79 <message repeats ad infinitum>`

Unfortunately, a commit seems to have sneaked in twice while merging:

> <https://github.com/discourse/discourse/blob/v1.2.0/config/nginx.sample.conf#L80>

nginx doesn’t like that. Is there any way to get that fixed on the stable branch?  
Thanks in advance!

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [February 20, 2015, 12:06am UTC](https://meta.discourse.org/t/release-v1-2-duplicate-location-backups/25432/2 "2015-02-20T00:06:06Z")

</div>

Hmm @sam can you take a peek at this?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [February 20, 2015, 12:11am UTC](https://meta.discourse.org/t/release-v1-2-duplicate-location-backups/25432/3 "2015-02-20T00:11:10Z")

</div>

Looks like when we merged stuff into stable stuff got a bit weird, going to clean it up now

---

<div class="post-metadata">

### Author: ![cfstras](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cfstras/32/103104_2.png) [@cfstras](https://meta.discourse.org/u/cfstras)
#### Post date: [February 20, 2015, 12:15am UTC](https://meta.discourse.org/t/release-v1-2-duplicate-location-backups/25432/4 "2015-02-20T00:15:45Z")

</div>

As a temporary fix, i switched to “latest-release”, but now I’m getting

```plaintext
undefined method `override_default_style' for #<SiteCustomization:0x007f428a47f788>`

```

when hitting `/login`. Is that part of the same problem or a different one?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [February 20, 2015, 12:17am UTC](https://meta.discourse.org/t/release-v1-2-duplicate-location-backups/25432/5 "2015-02-20T00:17:29Z")

</div>

I updated stable with a fix just now.

re site customization stuff sounds like a migration has not run yet.

---

<div class="post-metadata">

### Author: ![cfstras](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cfstras/32/103104_2.png) [@cfstras](https://meta.discourse.org/u/cfstras)
#### Post date: [February 20, 2015, 12:34am UTC](https://meta.discourse.org/t/release-v1-2-duplicate-location-backups/25432/6 "2015-02-20T00:34:45Z")

</div>

I fixed it, thanks.

For anyone having similar problems and really want to use my solution:

```bash
./launcher ssh nt
cd /var/www/discourse
rake db:migrate
# check website and panic because it's still 500ing
^D
mv shared/standalone shared/standalone_old
mkdir shared/standalone
./launcher rebuild standalone
# wait...
# check and see: it's working again, but with an empty db, as expected
./launcher stop standalone
mv shared/standalone_old shared/standalone
./launcher start standalone
# heyaa, it's back!

```

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [February 20, 2015, 12:43am UTC](https://meta.discourse.org/t/release-v1-2-duplicate-location-backups/25432/7 "2015-02-20T00:43:02Z")

</div>

This sounds really odd to me, a `./launcher rebuild app` should have done the trick.

---

<div class="post-metadata">

### Author: ![cfstras](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cfstras/32/103104_2.png) [@cfstras](https://meta.discourse.org/u/cfstras)
#### Post date: [February 20, 2015, 9:53am UTC](https://meta.discourse.org/t/release-v1-2-duplicate-location-backups/25432/8 "2015-02-20T09:53:00Z")

</div>

Next time, i’ll know 🙂

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [February 20, 2015, 11:56pm UTC](https://meta.discourse.org/t/release-v1-2-duplicate-location-backups/25432/9 "2015-02-20T23:56:35Z")

</div>


