Commit 1154cf9c authored by EKbfh's avatar EKbfh 🐼

Merge branch 'python3_2' into 'master'

Fix running on python3

See merge request !62
parents 6118c687 e21fae19
Pipeline #28766 canceled with stages
in 3 minutes and 40 seconds
......@@ -49,7 +49,7 @@ If you want to restrict address that tower listen to, run `./bin/tower-web --lis
## Prepare nodes
If you had installed PostgreSQL and MongoDB previously, you have to deinstall them and clean their db paths (`/var/db/mongodb` and `/usr/local/pgsql`). On each FreeBSD node do the following:
If you had installed PostgreSQL and MongoDB previously, you have to deinstall them and clean their db paths (`/var/db/mongodb` and `/var/db/postgres`). On each FreeBSD node do the following:
* Enable SSH:
```shell
......
......@@ -294,8 +294,8 @@ class Environment(Model):
for n in need_cert:
conf = json.loads(n.config)
conf["cert"] = str(certificate[s]["cert"])
conf["cert_key"] = str(certificate[s]["key"])
conf["cert"] = str(certificate[s]["cert"].decode())
conf["cert_key"] = str(certificate[s]["key"].decode())
n.config = json.dumps(conf, sort_keys=True)
n.save()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment