20.08 Upgrade Gone Wrong

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?

Would anybody have an idea about this? Please?

Also getting messages like these in wazo-phoned.log

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

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"

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…

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

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:

[uc_ui:children]
uc_engine_host

I definitely also added the credentials

[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.

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

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.

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.

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

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.

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.

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