UPDATING.md 1.1 KB
Newer Older
Aleksey Shirokih's avatar
Aleksey Shirokih committed
1
2
3
4
5
docker-compose installation
===========================

The best way of launching tower is to setup it via docker and docker compose.

Aleksey Shirokih's avatar
Aleksey Shirokih committed
6
Example file for launching noc-tower via docker-compose can be found in [repositary](https://code.getnoc.com/noc/tower/blob/master/docker-compose.yml)
Aleksey Shirokih's avatar
Aleksey Shirokih committed
7

Aleksey Shirokih's avatar
Aleksey Shirokih committed
8
Some examples can be found in [FAQ_rus.md](FAQ_rus.md) in russian
Aleksey Shirokih's avatar
Aleksey Shirokih committed
9
10
11
12
13
14


Traditional installation
========================
Meanwhile old method of updating noc-tower is still supported. 
To do so 
15
16
check if pip version is greater than 1.5 to do so 
```
Aleksey Shirokih's avatar
Aleksey Shirokih committed
17
# cd /opt/tower
18
19
20
21
22
# ./bin/pip --version 
# ./bin/pip install --upgrade pip
# ./bin/pip --version 
```
than 
Aleksey Shirokih's avatar
Aleksey Shirokih committed
23
```
Aleksey Shirokih's avatar
Aleksey Shirokih committed
24
# cd /opt/tower
Aleksey Shirokih's avatar
Aleksey Shirokih committed
25
26
# ./bin/tower-upgrade
```
Aleksey Shirokih's avatar
Aleksey Shirokih committed
27
After it please recheck if ansible version is good enough. Current is is 2.3
Aleksey Shirokih's avatar
Aleksey Shirokih committed
28
29
30
31
32
33
34

If you get 
```ERROR! Invalid callback for stdout specified: debug``` 
error after updating Please double check ansible version with
```
# cd /opt/tower
# ./bin/ansible --version
Aleksey Shirokih's avatar
Aleksey Shirokih committed
35
ansible 2.3.0.0
Aleksey Shirokih's avatar
Aleksey Shirokih committed
36
37
38
  config file = 
  configured module search path = Default w/o overrides

39
40
41
42
43
```

If ansible version is too old update it with 
```
# ./bin/pip install --upgrade ansible
Aleksey Shirokih's avatar
Aleksey Shirokih committed
44
```