title: PGAdmin 4 not working anymore after postgresql Upgrade from v12 to v13
body: <p>I just upgrade my ubuntu distribution from 20.10 to 21.04.
  On this process, my local postgres server were upgraded, from 12.x to 13.4</p>
  <p>My local app is still working, but PGAdmin won't start anymore. Here's the log:</p>
  <pre><code>pgAdmin Runtime Environment
  --------------------------------------------------------
  Python Path: &quot;/usr/pgadmin4/venv/bin/python3&quot;
  Runtime Config File: &quot;/home/julien/.config/pgadmin/runtime_config.json&quot;
  pgAdmin Config File: &quot;/usr/pgadmin4/web/config.py&quot;
  Webapp Path: &quot;/usr/pgadmin4/web/pgAdmin4.py&quot;
  pgAdmin Command: &quot;/usr/pgadmin4/venv/bin/python3 -s /usr/pgadmin4/web/pgAdmin4.py&quot;
  Environment: 
    - GJS_DEBUG_TOPICS: JS ERROR;JS LOG
    - LC_TIME: fr_FR.UTF-8
    - USER: julien
    - XDG_SESSION_TYPE: wayland
    - SHLVL: 0
    - HOME: /home/julien
    - OLDPWD: /home/julien
    - DESKTOP_SESSION: ubuntu
    - GIO_LAUNCHED_DESKTOP_FILE: /usr/share/applications/pgadmin4.desktop
    - GTK_MODULES: gail:atk-bridge
    - GNOME_SHELL_SESSION_MODE: ubuntu
    - LC_MONETARY: fr_FR.UTF-8
    - MANAGERPID: 2723
    - DBUS_SESSION_BUS_ADDRESS: unix:path=/run/user/1000/bus
    - GIO_LAUNCHED_DESKTOP_FILE_PID: 409396
    - WAYLAND_DISPLAY: wayland-0
    - LOGNAME: julien
    - _: /usr/bin/gnome-session
    - rvm_bin_path: /usr/share/rvm/bin
    - JOURNAL_STREAM: 8:37688
    - XDG_SESSION_CLASS: user
    - USERNAME: julien
    - GNOME_DESKTOP_SESSION_ID: this-is-deprecated
    - PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin:/usr/share/rvm/bin
    - SESSION_MANAGER: local/sunchain:@/tmp/.ICE-unix/2935,unix/sunchain:/tmp/.ICE-unix/2935
    - INVOCATION_ID: b0a4bd7f387b4b94b2d1ad6290b4faa6
    - LC_ADDRESS: fr_FR.UTF-8
    - XDG_RUNTIME_DIR: /run/user/1000
    - XDG_MENU_PREFIX: gnome-
    - GNOME_SETUP_DISPLAY: :1
    - DISPLAY: :0
    - LANG: en_US.UTF-8
    - LC_TELEPHONE: fr_FR.UTF-8
    - XDG_CURRENT_DESKTOP: ubuntu:GNOME
    - XDG_SESSION_DESKTOP: ubuntu
    - XMODIFIERS: @im=ibus
    - XAUTHORITY: /run/user/1000/.mutter-Xwaylandauth.OGNI80
    - SSH_AGENT_LAUNCHER: gnome-keyring
    - SSH_AUTH_SOCK: /run/user/1000/keyring/ssh
    - LC_NAME: fr_FR.UTF-8
    - SHELL: /usr/bin/zsh
    - QT_ACCESSIBILITY: 1
    - GDMSESSION: ubuntu
    - rvm_prefix: /usr/share
    - LC_MEASUREMENT: fr_FR.UTF-8
    - LC_IDENTIFICATION: fr_FR.UTF-8
    - rvm_version: 1.29.12 (manual)
    - GJS_DEBUG_OUTPUT: stderr
    - QT_IM_MODULE: ibus
    - PWD: /home/julien
    - XDG_DATA_DIRS: /usr/local/share/:/usr/share/:/var/lib/snapd/desktop
    - LC_NUMERIC: fr_FR.UTF-8
    - LC_PAPER: fr_FR.UTF-8
    - rvm_path: /usr/share/rvm
    - GDK_BACKEND: x11
    - NO_AT_BRIDGE: 1
    - PGADMIN_INT_PORT: 34035
    - PGADMIN_INT_KEY: dbb4e565-1e23-474d-bd74-c3d8606022cc
    - PGADMIN_SERVER_MODE: OFF
  --------------------------------------------------------
  
  Failed to launch pgAdmin4. Error:
  Error: spawn /usr/pgadmin4/venv/bin/python3 ENOENT
  </code></pre>
  <p>What should I do to fix it ?</p>