# 20.08 Upgrade Gone Wrong

**URL:** <https://wazo-platform.discourse.group/t/20-08-upgrade-gone-wrong/428>\
**Category:** English\
**Created:** [June 9, 2020, 11:03pm UTC](https://wazo-platform.discourse.group/t/20-08-upgrade-gone-wrong/428 "2020-06-09T23:03:21Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![heatmap](https://avatars.discourse-cdn.com/v4/letter/h/ed655f/32.png) [@heatmap](https://wazo-platform.discourse.group/u/heatmap)\
**Post date:** [June 9, 2020, 11:03pm UTC](https://wazo-platform.discourse.group/t/20-08-upgrade-gone-wrong/428/1 "2020-06-09T23:03:21Z")

</div>

Just did a wazo-upgrade today to 20.08 and all our lines are down now at the office.  
The Asterisk cli shows  
`WARNING[5500]: config.c:1832 process_text_line: Inheritance requested, but category 'wazo-general-endpoint' does not exist, line 4 of /etc/asterisk/pjsip.d/02-autoprov.conf`  
Any idea what the issue could be?

---

<div class="post-metadata">

**Author:** ![heatmap](https://avatars.discourse-cdn.com/v4/letter/h/ed655f/32.png) [@heatmap](https://wazo-platform.discourse.group/u/heatmap)\
**Post date:** [June 10, 2020, 4:42pm UTC](https://wazo-platform.discourse.group/t/20-08-upgrade-gone-wrong/428/2 "2020-06-10T16:42:33Z")

</div>

Would anybody have an idea about this? Please?

---

<div class="post-metadata">

**Author:** ![heatmap](https://avatars.discourse-cdn.com/v4/letter/h/ed655f/32.png) [@heatmap](https://wazo-platform.discourse.group/u/heatmap)\
**Post date:** [June 10, 2020, 10:19pm UTC](https://wazo-platform.discourse.group/t/20-08-upgrade-gone-wrong/428/3 "2020-06-10T22:19:08Z")

</div>

Also getting messages like these in wazo-phoned.log

```auto
2020-06-10 14:01:50,431 [1672] (INFO) (cherrypy.error): [10/Jun/2020:14:01:50] ENGINE Bus EXITING
2020-06-10 14:01:50,431 [1672] (INFO) (cherrypy.error): [10/Jun/2020:14:01:50] ENGINE Bus EXITED
2020-06-10 14:01:50,435 [1672] (INFO) (wazo_phoned.controller): wazo-phoned stopping...
2020-06-10 14:01:50,435 [1672] (INFO) (cherrypy.error): [10/Jun/2020:14:01:50] ENGINE Waiting for child threads to terminate...
2020-06-10 14:01:50,435 [1672] (INFO) (cherrypy.error): [10/Jun/2020:14:01:50] ENGINE Waiting for thread bus_consumer_thread.
2020-06-10 14:11:27,132 [26606] (INFO) (wazo_phoned.bus): Running AMQP consumer
2020-06-10 14:11:27,167 [26606] (INFO) (kombu.mixins): Connected to amqp://guest:**@127.0.0.1:5672//
2020-06-10 14:11:28,610 [26606] (INFO) (cherrypy.error): [10/Jun/2020:14:11:28] ENGINE Bus STARTING
2020-06-10 14:11:28,711 [26606] (INFO) (cherrypy.error): [10/Jun/2020:14:11:28] ENGINE Serving on unknown interface (dynamic?)
2020-06-10 14:11:28,812 [26606] (INFO) (cherrypy.error): [10/Jun/2020:14:11:28] ENGINE Serving on unknown interface (dynamic?)
2020-06-10 14:11:28,812 [26606] (INFO) (cherrypy.error): [10/Jun/2020:14:11:28] ENGINE Bus STARTED
2020-06-10 14:59:57,426 [26606] (WARNING) (wazo_phoned.controller): Stopping wazo-phoned: SIGTERM
2020-06-10 14:59:57,426 [26606] (INFO) (cherrypy.error): [10/Jun/2020:14:59:57] ENGINE Bus STOPPING
2020-06-10 14:59:57,428 [26606] (INFO) (cherrypy.error): [10/Jun/2020:14:59:57] ENGINE HTTP Server cheroot.wsgi.Server(('0.0.0.0', 9498)) shut down
2020-06-10 14:59:57,429 [26606] (INFO) (cherrypy.error): [10/Jun/2020:14:59:57] ENGINE HTTP Server cheroot.wsgi.Server(('0.0.0.0', 9499)) shut down
2020-06-10 14:59:57,429 [26606] (INFO) (cherrypy.error): [10/Jun/2020:14:59:57] ENGINE Bus STOPPED
2020-06-10 14:59:57,429 [26606] (INFO) (cherrypy.error): [10/Jun/2020:14:59:57] ENGINE Bus EXITING
2020-06-10 14:59:57,429 [26606] (INFO) (cherrypy.error): [10/Jun/2020:14:59:57] ENGINE Bus EXITED
2020-06-10 14:59:57,521 [26606] (INFO) (wazo_phoned.controller): wazo-phoned stopping...
2020-06-10 14:59:57,522 [26606] (INFO) (cherrypy.error): [10/Jun/2020:14:59:57] ENGINE Waiting for child threads to terminate...
2020-06-10 14:59:57,522 [26606] (INFO) (cherrypy.error): [10/Jun/2020:14:59:57] ENGINE Waiting for thread bus_consumer_thread.
2020-06-10 15:09:14,883 [5819] (INFO) (wazo_phoned.bus): Running AMQP consumer
2020-06-10 15:09:14,908 [5819] (INFO) (kombu.mixins): Connected to amqp://guest:**@127.0.0.1:5672//
2020-06-10 15:09:16,583 [5819] (INFO) (cherrypy.error): [10/Jun/2020:15:09:16] ENGINE Bus STARTING
2020-06-10 15:09:16,684 [5819] (INFO) (cherrypy.error): [10/Jun/2020:15:09:16] ENGINE Serving on unknown interface (dynamic?)
2020-06-10 15:09:16,785 [5819] (INFO) (cherrypy.error): [10/Jun/2020:15:09:16] ENGINE Serving on unknown interface (dynamic?)
2020-06-10 15:09:16,785 [5819] (INFO) (cherrypy.error): [10/Jun/2020:15:09:16] ENGINE Bus STARTED

```

---

<div class="post-metadata">

**Author:** ![heatmap](https://avatars.discourse-cdn.com/v4/letter/h/ed655f/32.png) [@heatmap](https://wazo-platform.discourse.group/u/heatmap)\
**Post date:** [June 10, 2020, 10:30pm UTC](https://wazo-platform.discourse.group/t/20-08-upgrade-gone-wrong/428/4 "2020-06-10T22:30:31Z")

</div>

Lots of errors popping up under /nginx/waz-error.log  
`directory index of "/var/www/html/" is forbidden, client: 127.0.0.1, server: $domain, request: "GET / HTTP/1.1", host: "localhost"`

---

<div class="post-metadata">

**Author:** ![quintana](https://yyz2.discourse-cdn.com/free1/user_avatar/wazo-platform.discourse.group/quintana/32/916_2.png) [@quintana](https://wazo-platform.discourse.group/u/quintana)\
**Post date:** [June 11, 2020, 4:41pm UTC](https://wazo-platform.discourse.group/t/20-08-upgrade-gone-wrong/428/5 "2020-06-11T16:41:11Z")

</div>

Hello,

Looks like you have an issue with the configuration. @pcm is it related with the migration of pjsip? It seems it missed a section…

---

<div class="post-metadata">

**Author:** ![pcm](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@pcm](https://wazo-platform.discourse.group/u/pcm)\
**Post date:** [June 11, 2020, 5:04pm UTC](https://wazo-platform.discourse.group/t/20-08-upgrade-gone-wrong/428/6 "2020-06-11T17:04:54Z")

</div>

Can you attach the log of you wazo-upgrade? `/var/log/wazo-upgrade.log`

---

<div class="post-metadata">

**Author:** ![heatmap](https://avatars.discourse-cdn.com/v4/letter/h/ed655f/32.png) [@heatmap](https://wazo-platform.discourse.group/u/heatmap)\
**Post date:** [June 12, 2020, 3:54am UTC](https://wazo-platform.discourse.group/t/20-08-upgrade-gone-wrong/428/7 "2020-06-12T03:54:26Z")

</div>

Thanks for the reply guys.I decided to do a fresh install.

I had to install wazo-ui manualy after installing wazo which is weird because I followed installation instruction and in the Ansible inventory, I did add the section saying:

```auto
[uc_ui:children]
uc_engine_host

```

I definitely also added the credentials

```auto
[uc_engine:vars]
engine_api_configure_wizard = true
engine_api_root_password = ****

```

It still didn’t install wazo-ui in the original installation and I installed by `apt-get install wazo-ui`

BUT, at this point, the password it doesn’t seem to recognize the password I created in the Ansible inventory. It is not letting me log in to the wazo-ui with any credentials however and there’s no way to set a user

Thank you so much for your help so far.

---

<div class="post-metadata">

**Author:** ![heatmap](https://avatars.discourse-cdn.com/v4/letter/h/ed655f/32.png) [@heatmap](https://wazo-platform.discourse.group/u/heatmap)\
**Post date:** [June 12, 2020, 5:01pm UTC](https://wazo-platform.discourse.group/t/20-08-upgrade-gone-wrong/428/8 "2020-06-12T17:01:53Z")

</div>

For future reference, those needing to reset the root user can do this

```auto
wazo-auth-cli user create --purpose external_api --password secret root
wazo-auth-cli user add --policy wazo_default_admin_policy root

```

You may change `secret` to a password of your choice.

---

<div class="post-metadata">

**Author:** ![heatmap](https://avatars.discourse-cdn.com/v4/letter/h/ed655f/32.png) [@heatmap](https://wazo-platform.discourse.group/u/heatmap)\
**Post date:** [June 13, 2020, 6:33pm UTC](https://wazo-platform.discourse.group/t/20-08-upgrade-gone-wrong/428/9 "2020-06-13T18:33:36Z")

</div>

Next hurdle was trying to restore  
My backup install from 20.08.  
I followed instructions to do the DB only restore and the app becomes unusable.

Is there any paid support I could purchase to get this done? I’ve been on Wazo for years and love it. I’d love to try to continue.

---

<div class="post-metadata">

**Author:** ![quintana](https://yyz2.discourse-cdn.com/free1/user_avatar/wazo-platform.discourse.group/quintana/32/916_2.png) [@quintana](https://wazo-platform.discourse.group/u/quintana)\
**Post date:** [June 14, 2020, 12:06pm UTC](https://wazo-platform.discourse.group/t/20-08-upgrade-gone-wrong/428/10 "2020-06-14T12:06:04Z")

</div>

Can you give us logs? We can’t help you without this informations.

---

<div class="post-metadata">

**Author:** ![quintana](https://yyz2.discourse-cdn.com/free1/user_avatar/wazo-platform.discourse.group/quintana/32/916_2.png) [@quintana](https://wazo-platform.discourse.group/u/quintana)\
**Post date:** [June 14, 2020, 12:08pm UTC](https://wazo-platform.discourse.group/t/20-08-upgrade-gone-wrong/428/11 "2020-06-14T12:08:27Z")

</div>

There is no paid support on the community version, but the community include us (when we have time) could help you if you give us the good informations to fix the issue.

---

<div class="post-metadata">

**Author:** ![heatmap](https://avatars.discourse-cdn.com/v4/letter/h/ed655f/32.png) [@heatmap](https://wazo-platform.discourse.group/u/heatmap)\
**Post date:** [June 14, 2020, 5:59pm UTC](https://wazo-platform.discourse.group/t/20-08-upgrade-gone-wrong/428/12 "2020-06-14T17:59:57Z")

</div>

I’m wondering if I can set up everything from scratch instead of using the backup.  
When I first installed wazo, it was about 3 years ago and it was an older version of Xivo. I remember having to create different contexts using the nerdvittles instructions. It wasn’t easy or straightforward at all.  
My question is whether a new installation has to set up different contexts again to make this work? On other platforms it’s simply a master of adding an extension and then a sip trunk and it’s done basically.

---

<div class="post-metadata">

**Author:** ![heatmap](https://avatars.discourse-cdn.com/v4/letter/h/ed655f/32.png) [@heatmap](https://wazo-platform.discourse.group/u/heatmap)\
**Post date:** [June 14, 2020, 7:22pm UTC](https://wazo-platform.discourse.group/t/20-08-upgrade-gone-wrong/428/13 "2020-06-14T19:22:33Z")

</div>

I’ve been searching for instructions and it seems that the only ones available are for setting up trunks with the api??
