Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Postgres issue v7.7.0

Postgres issue v7.7.0

Scheduled Pinned Locked Moved Solved Support
3 Posts 2 Posters 421 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    contactlight11
    wrote on last edited by girish
    #1

    A completely fresh install of Cloudron v7.7.0 and Immich v1.55.0-1 moments ago resulted in the following error preventing Immich from starting up:

    2024-03-12 04:51:08.767 UTC [104] usere...@dbe... ERROR:  permission denied to create extension "earthdistance"
    2024-03-12 04:51:08.767 UTC [104] usere...@dbe... HINT:  Must be superuser to create this extension.
    2024-03-12 04:51:08.767 UTC [104] usere...@dbe... STATEMENT:  CREATE EXTENSION IF NOT EXISTS earthdistance
    

    To resolve, I used the info for Postgres recovery from the other recent Immich update issue thread to drop in to the service's container in recovery mode, and ./start.sh &

    Per the discussion on Immich Github, I temporarily elevated the username from the logs above (obfuscated) with alter user usere... with superuser;, started Immich, and then alter user usere... with nosuperuser;.

    Cleaned up by exiting the Postgres shell, disabling recovery mode for the service, and systemctl restart box.

    Install appears fine now!

    girishG 1 Reply Last reply
    2
    • C contactlight11

      A completely fresh install of Cloudron v7.7.0 and Immich v1.55.0-1 moments ago resulted in the following error preventing Immich from starting up:

      2024-03-12 04:51:08.767 UTC [104] usere...@dbe... ERROR:  permission denied to create extension "earthdistance"
      2024-03-12 04:51:08.767 UTC [104] usere...@dbe... HINT:  Must be superuser to create this extension.
      2024-03-12 04:51:08.767 UTC [104] usere...@dbe... STATEMENT:  CREATE EXTENSION IF NOT EXISTS earthdistance
      

      To resolve, I used the info for Postgres recovery from the other recent Immich update issue thread to drop in to the service's container in recovery mode, and ./start.sh &

      Per the discussion on Immich Github, I temporarily elevated the username from the logs above (obfuscated) with alter user usere... with superuser;, started Immich, and then alter user usere... with nosuperuser;.

      Cleaned up by exiting the Postgres shell, disabling recovery mode for the service, and systemctl restart box.

      Install appears fine now!

      girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      @contactlight11 thanks for reporting. that seems like a bug, investigating.

      1 Reply Last reply
      1
      • nebulonN nebulon marked this topic as a question on
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #3

        @contactlight11 this is fixed now. 7.7.1 coming.

        1 Reply Last reply
        1
        • girishG girish has marked this topic as solved on
        • girishG girish moved this topic from Immich on
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Bookmarks
        • Search