title: How to install Kong (https://konghq.com/) on Ubuntu 20.04?
body: <p>I tried to install using the instructions available on <a href="https://docs.konghq.com/install/ubuntu/" rel="nofollow noreferrer">https://docs.konghq.com/install/ubuntu/</a> and also using snap store but I get the same error. I don't know if it's relevant or not but I am using postgres-12.2 which comes pre-installed with Ubuntu-20.04. The directory structure in postgres-12.2 is different from the earlier ones.</p>
  
  <pre><code>error: cannot perform the following tasks:
  - Run install hook of "kong" snap if present (run hook "install": 
  -----
  The files belonging to this database system will be owned by user "snap_daemon".
  This user must also own the server process.
  
  The database cluster will be initialized with locale "C.UTF-8".
  The default database encoding has accordingly been set to "UTF8".
  The default text search configuration will be set to "english".
  
  Data page checksums are disabled.
  
  creating directory /var/snap/kong/172/postgresql/10/main ... ok
  creating subdirectories ... ok
  selecting default max_connections ... 100
  selecting default shared_buffers ... 128MB
  selecting default timezone ... Asia/Kolkata
  selecting dynamic shared memory implementation ... posix
  creating configuration files ... ok
  running bootstrap script ... ok
  performing post-bootstrap initialization ... ok
  syncing data to disk ... ok
  
  WARNING: enabling "trust" authentication for local connections
  You can change this by editing pg_hba.conf or using the option -A, or
  --auth-local and --auth-host, the next time you run initdb.
  
  Success. You can now start the database server using:
  
      /snap/kong/172/usr/lib/postgresql/10/bin/pg_ctl -D /var/snap/kong/172/postgresql/10/main -l logfile start
  
  createuser: could not connect to database postgres: could not connect to server: No such file or directory
      Is the server running locally and accepting
      connections on Unix domain socket "/var/snap/kong/common/sockets/.s.PGSQL.5432"?
  -----)```
    [1]: https://i.stack.imgur.com/2pzKn.png
  </code></pre>