Hi
Please upgrade PostgreSQL document to latest versionhttps://stream.boxwatch.ru/download/linux/ubuntu/Change apt-get install postgresql-9.6 > postgresql-10
Thanks,Indrek