# Problem after update to 1.8.0.beta10 (today)

**URL:** https://meta.discourse.org/t/problem-after-update-to-1-8-0-beta10-today/60776
**Category:** Self-hosting
**Created:** [4월 11, 2017, 1:27오후 UTC](https://meta.discourse.org/t/problem-after-update-to-1-8-0-beta10-today/60776 "2017-04-11T13:27:33Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![JagWaugh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagwaugh/32/69335_2.png) [@JagWaugh](https://meta.discourse.org/u/JagWaugh)
#### Post date: [4월 11, 2017, 1:27오후 UTC](https://meta.discourse.org/t/problem-after-update-to-1-8-0-beta10-today/60776/1 "2017-04-11T13:27:33Z")

</div>

This on my sandbox (plain install per 30 minute on an AWS Ubuntu 16.04 isntance), previous update was 4 days ago, after which it ran fine.

All I did was:

```
cd /var/discourse
git pull
./launcher rebuild app

```

No errors during the update, but since it finished the site gives 502 bad gateway nginx errors, and docker logs 4b7 shows:

```
ok: run: redis: (pid 47) 390s
ok: run: postgres: (pid 44) 390s
supervisor pid: 2066 unicorn pid: 2071
config/unicorn_launcher: line 44: kill: (2071) - No such process
config/unicorn_launcher: line 10: kill: (2071) - No such process
exiting
ok: run: redis: (pid 47) 396s
ok: run: postgres: (pid 44) 396s
supervisor pid: 2104 unicorn pid: 2109
config/unicorn_launcher: line 44: kill: (2109) - No such process
config/unicorn_launcher: line 10: kill: (2109) - No such process

```

I’ve done a shutdown -r, and apt-get update, apt-get upgrade didn’t show any out of date packages.

---

<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: [4월 11, 2017, 1:48오후 UTC](https://meta.discourse.org/t/problem-after-update-to-1-8-0-beta10-today/60776/4 "2017-04-11T13:48:14Z")

</div>

what is memory doing on the box?

---

<div class="post-metadata">

### Author: ![JagWaugh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagwaugh/32/69335_2.png) [@JagWaugh](https://meta.discourse.org/u/JagWaugh)
#### Post date: [4월 11, 2017, 1:50오후 UTC](https://meta.discourse.org/t/problem-after-update-to-1-8-0-beta10-today/60776/5 "2017-04-11T13:50:32Z")

</div>

> [@sam](#):
>
> what is memory doing on the box?

```
free -h
              total used free shared buff/cache available
Mem: 2.0G 195M 1.3G 28M 475M 1.7G
Swap: 2.0G 56K 2.0G

```

---

<div class="post-metadata">

### Author: ![kraml](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kraml/32/68627_2.png) [@kraml](https://meta.discourse.org/u/kraml)
#### Post date: [4월 11, 2017, 2:14오후 UTC](https://meta.discourse.org/t/problem-after-update-to-1-8-0-beta10-today/60776/7 "2017-04-11T14:14:42Z")

</div>

Only 195M memory used, that means your Discourse application, probably even the docker container, is not up at all.

How about `docker ps -a` output and `ps axf` output?

---

<div class="post-metadata">

### Author: ![mitchellk](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mitchellk/32/120419_2.png) [@mitchellk](https://meta.discourse.org/u/mitchellk)
#### Post date: [4월 11, 2017, 2:19오후 UTC](https://meta.discourse.org/t/problem-after-update-to-1-8-0-beta10-today/60776/8 "2017-04-11T14:19:13Z")

</div>

I just upgraded now and no problems.

I only ever do `./launcher rebuild app` which does any git pulls during it’s rebuild.

Maybe reboot your server seems like your docker container did not restart for some reason.

![](https://global.discourse-cdn.com/meta/original/3X/2/3/23f04ef8c72fbf5279a24a96bbd9db3c49ba0add.png)

---

<div class="post-metadata">

### Author: ![JagWaugh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagwaugh/32/69335_2.png) [@JagWaugh](https://meta.discourse.org/u/JagWaugh)
#### Post date: [4월 11, 2017, 2:27오후 UTC](https://meta.discourse.org/t/problem-after-update-to-1-8-0-beta10-today/60776/9 "2017-04-11T14:27:54Z")

</div>

The docker container is up.

My best guess is that the unicorn process is the issue:

Here is the bottom of docker logs, followed immediately by a ps -ef|grep unicorn

```
ok: run: redis: (pid 47) 688s
ok: run: postgres: (pid 44) 688s
supervisor pid: 3743 unicorn pid: 3748
config/unicorn_launcher: line 44: kill: (3748) - No such process
config/unicorn_launcher: line 10: kill: (3748) - No such process
exiting
ok: run: redis: (pid 47) 695s
ok: run: postgres: (pid 44) 695s
supervisor pid: 3782 unicorn pid: 3787
config/unicorn_launcher: line 44: kill: (3787) - No such process
config/unicorn_launcher: line 10: kill: (3787) - No such process
exiting
ok: run: redis: (pid 47) 702s
ok: run: postgres: (pid 44) 702s
supervisor pid: 3822 unicorn pid: 3827
root@ip-172-31-29-7:/var/discourse/shared/standalone# ps -ef|grep unicorn
root 402 400 0 13:41 ? 00:00:00 runsv unicorn
ubuntu 4837 402 6 13:53 ? 00:00:00 /bin/bash config/unicorn_launcher -E production -c config/unicorn.conf.rb
ubuntu 4842 4837 67 13:53 ? 00:00:01 ruby /var/www/discourse/vendor/bundle/ruby/2.3.0/bin/unicorn -E production -c config/unicorn.conf.rb

```

I’ve done a(nother) ./launcher rebuild app, as well as a reboot in the meantime.

Could it be that the unicorn is falling over on it’s own before the start tries to kill it off and restart it, and the pids are getting out of sync?

---

<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: [4월 11, 2017, 2:31오후 UTC](https://meta.discourse.org/t/problem-after-update-to-1-8-0-beta10-today/60776/10 "2017-04-11T14:31:52Z")

</div>

> [@JagWaugh](#):
>
> Could it be that the unicorn is falling over on it’s own before the start tries to kill it off and restart it, and the pids are getting out of sync?

Maybe it is failing to boot, what plugins do you have, try removing all third party ones and isolating which is at fault.

---

<div class="post-metadata">

### Author: ![kraml](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kraml/32/68627_2.png) [@kraml](https://meta.discourse.org/u/kraml)
#### Post date: [4월 11, 2017, 2:33오후 UTC](https://meta.discourse.org/t/problem-after-update-to-1-8-0-beta10-today/60776/11 "2017-04-11T14:33:09Z")

</div>

I have a feeling that your rebuild didn’t finish successfully. Can you upload the full rebuild log?

---

<div class="post-metadata">

### Author: ![JagWaugh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagwaugh/32/69335_2.png) [@JagWaugh](https://meta.discourse.org/u/JagWaugh)
#### Post date: [4월 11, 2017, 2:35오후 UTC](https://meta.discourse.org/t/problem-after-update-to-1-8-0-beta10-today/60776/12 "2017-04-11T14:35:12Z")

</div>

Just doing that now. brb

> [@sam](#):
>
> try removing all third party

---

<div class="post-metadata">

### Author: ![JagWaugh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagwaugh/32/69335_2.png) [@JagWaugh](https://meta.discourse.org/u/JagWaugh)
#### Post date: [4월 11, 2017, 3:06오후 UTC](https://meta.discourse.org/t/problem-after-update-to-1-8-0-beta10-today/60776/13 "2017-04-11T15:06:07Z")

</div>

It was indeed a beta plugin.

My apologies, I should have checked that before posting here.

---

<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: [4월 11, 2017, 3:29오후 UTC](https://meta.discourse.org/t/problem-after-update-to-1-8-0-beta10-today/60776/14 "2017-04-11T15:29:52Z")

</div>


