Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

General discussion
  1. OpenProject
  2. Forums
  3. General discussion
  4. Using Postgres in different VM on port 5439 causing continual log entries

Using Postgres in different VM on port 5439 causing continual log entries

Added by Keith Brautigam about 1 month ago

I have OpenProject Community Edition 15.5.0 in one Ubuntu virtual machine and Postgres in a different Ubuntu VM. The Postgres VM is running Postgres 13 on port 5432 and Postgres 15 on port 5439. It's Postgres 15 that is being used for the OpenProject database.

OpenProject is working fine. The problem (really just an annoyance) is that every 15 seconds or so it looks for its database in the wrong Postgres cluster. So I see lines in the log file for Postgres 13 (the one that isn't hosting the OP database) like this:

2025-04-23 11:22:37.333 EDT [1415657] openproject@openproject FATAL:  database "openproject" does not exist
2025-04-23 11:22:52.069 EDT [1415706] openproject@openproject FATAL:  database "openproject" does not exist
2025-04-23 11:23:07.011 EDT [1416026] openproject@openproject FATAL:  database "openproject" does not exist
2025-04-23 11:23:21.897 EDT [1416086] openproject@openproject FATAL:  database "openproject" does not exist
2025-04-23 11:23:36.863 EDT [1416145] openproject@openproject FATAL:  database "openproject" does not exist

It apparently finds Postgres 15 just fine, because everything works. It just keeps wanting to talk to the Postgres on the default port (Postgres 13 in my case).

I'm looking for any suggestions about how this behavior could be stopped. Thank you!


Loading...