Issue with starting zato server(s)


#1

On a fresh install of zato 3.0 zato info /sr/zato/server1

Gives me the following information

+--------------------------------+--------------------------------------------------------------------------------------------+
|              Key               |                                           Value                                            |
+================================+============================================================================================+
| component_details              | {"created_user_host": "zato@ubuntu-xenial", "version": "Zato 3.0.0+rev.f5dbf26b",          |
|                                | "component": "SERVER", "created_ts": "2019-02-17T21:23:15.695506"}                         |
+--------------------------------+--------------------------------------------------------------------------------------------+
| component_full_path            | /srv/zato/server1                                                                          |
+--------------------------------+--------------------------------------------------------------------------------------------+
| component_host                 | ubuntu-xenial/ubuntu-xenial                                                                |
+--------------------------------+--------------------------------------------------------------------------------------------+
| component_running              | False                                                                                      |
+--------------------------------+--------------------------------------------------------------------------------------------+
| current_time                   | 2019-02-17T21:26:52.386816                                                                 |
+--------------------------------+--------------------------------------------------------------------------------------------+
| current_time_utc               | 2019-02-17T21:26:52.386831                                                                 |
+--------------------------------+--------------------------------------------------------------------------------------------+
| master_proc_connections        | None                                                                                       |
+--------------------------------+--------------------------------------------------------------------------------------------+
| master_proc_create_time        | None                                                                                       |
+--------------------------------+--------------------------------------------------------------------------------------------+
| master_proc_create_time_utc    | None                                                                                       |
+--------------------------------+--------------------------------------------------------------------------------------------+
| master_proc_name               | None                                                                                       |
+--------------------------------+--------------------------------------------------------------------------------------------+
| master_proc_pid                | None                                                                                       |
+--------------------------------+--------------------------------------------------------------------------------------------+
| master_proc_username           | None                                                                                       |
+--------------------------------+--------------------------------------------------------------------------------------------+
| master_proc_workers_no         | None                                                                                       |
+--------------------------------+--------------------------------------------------------------------------------------------+
| master_proc_workers_pids       | None                                                                                       |
+--------------------------------+--------------------------------------------------------------------------------------------+

when I try to run zato start /srv/zato/server1

I get error InvalidToken: () (Hint: re-run with --verbose for full traceback)

Maybe I am missing a step in my installation?


#2

Aha! I am missing the following step!

ubuntu$ sudo su - zato
ubuntu$ cd /opt/zato/current
ubuntu$ git pull
ubuntu$ ./update.sh

#3

yes that resolved it