Commit e21fae19 authored by Dmitry Lukhtionov's avatar Dmitry Lukhtionov
Browse files

Fix running on python3

parent dc1bc8c9
Pipeline #24692 passed with stages
in 3 minutes and 9 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
......
......@@ -296,8 +296,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()
......
Supports Markdown
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