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
  • Brite
  • 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 - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Mattermost
  3. Migration To PostgreSQL Failed

Migration To PostgreSQL Failed

Scheduled Pinned Locked Moved Mattermost
3 Posts 2 Posters 1.0k 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.
  • B Offline
    B Offline
    BetterWP
    wrote on last edited by
    #1

    Dear,
    I follow the instrucation but I got the following error I doubled check the credentiales it is correct Could you help? I am using Cloudflare if this make diffrence.

    2024-07-14T06:48:25.044002Z LOG pgloader version "3.6.7~devel"
    KABOOM!
    DB-CONNECTION-ERROR: Failed to connect to pgsql at "postgresql" (port 5432) as user "****": Database error 28000: no pg_hba.conf entry for host "172.***", user "****", database "****", no encryption
    An unhandled error condition has been signalled:
       Failed to connect to pgsql at "postgresql" (port 5432) as user "***": Database error 28000: no pg_hba.conf entry for host "172***", user "*****", database "*****", no encryption
    
    J 1 Reply Last reply
    0
    • B BetterWP

      Dear,
      I follow the instrucation but I got the following error I doubled check the credentiales it is correct Could you help? I am using Cloudflare if this make diffrence.

      2024-07-14T06:48:25.044002Z LOG pgloader version "3.6.7~devel"
      KABOOM!
      DB-CONNECTION-ERROR: Failed to connect to pgsql at "postgresql" (port 5432) as user "****": Database error 28000: no pg_hba.conf entry for host "172.***", user "****", database "****", no encryption
      An unhandled error condition has been signalled:
         Failed to connect to pgsql at "postgresql" (port 5432) as user "***": Database error 28000: no pg_hba.conf entry for host "172***", user "*****", database "*****", no encryption
      
      J Online
      J Online
      joseph
      Staff
      wrote on last edited by
      #2

      @BetterWP Can you double check the postgres credentials? Use the postgres cli to double check this.

      1 Reply Last reply
      0
      • J Online
        J Online
        joseph
        Staff
        wrote on last edited by
        #3

        Connect to postgres like this (replace the variables below with the ones you put in pgloader):

        export PGPASSWORD=${CLOUDRON_POSTGRESQL_PASSWORD}
        psql -h ${CLOUDRON_POSTGRESQL_HOST} -p ${CLOUDRON_POSTGRESQL_PORT} -U ${CLOUDRON_POSTGRESQL_USERNAME} -d ${CLOUDRON_POSTGRESQL_DATABASE}
        
        1 Reply Last reply
        0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        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