Перезапустите Postgres Ubuntu
sudo service postgresql restart
Upset Unicorn
sudo service postgresql restart
sudo service postgresql restart
# To restart the postgresql service
sudo /etc/init.d/postgresql restart
sudo service postgresql restart
sudo systemctl restart postgresql-13.service