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. Mattermost
  3. Migration To PostgreSQL Failed

Migration To PostgreSQL Failed

Scheduled Pinned Locked Moved Mattermost
3 Posts 2 Posters 477 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 Offline
      J Offline
      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 Offline
        J Offline
        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
        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