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. Backup failed: Error getting IP of postgresql service

Backup failed: Error getting IP of postgresql service

Scheduled Pinned Locked Moved Support
2 Posts 2 Posters 142 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.
  • joetysonJ Offline
    joetysonJ Offline
    joetyson
    wrote on last edited by
    #1

    Hello,

    I'm receiving this error on my instance. It's been persisting for a few weeks now.

    From the logs:

    Nov 19 23:00:06 box:services backupAddons
    Nov 19 23:00:06 box:services backupAddons: backing up ["localstorage","postgresql"]
    Nov 19 23:00:06 box:services Backing up postgresql
    Nov 19 23:00:06 box:taskworker Task took 5.918 seconds
    Nov 19 23:00:06 box:tasks setCompleted - 947: {"result":null,"error":{"stack":"BoxError: Error getting IP of postgresql service\n at getContainerDetails (/home/yellowtent/box/src/services.js:307:20)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Object.backupPostgreSql [as backup] (/home/yellowtent/box/src/services.js:1485:20)\n at async Object.backupAddons (/home/yellowtent/box/src/services.js:652:9)\n at async snapshotApp (/home/yellowtent/box/src/backuptask.js:332:5)\n at async uploadAppSnapshot (/home/yellowtent/box/src/backuptask.js:342:5)\n at async backupAppWithTag (/home/yellowtent/box/src/backuptask.js:383:5)\n at async fullBackup (/home/yellowtent/box/src/backuptask.js:504:29)","name":"BoxError","reason":"Inactive","details":{},"message":"Error getting IP of postgresql service"}}
    Nov 19 23:00:06 box:tasks update 947: {"percent":100,"result":null,"error":{"stack":"BoxError: Error getting IP of postgresql service\n at getContainerDetails (/home/yellowtent/box/src/services.js:307:20)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Object.backupPostgreSql [as backup] (/home/yellowtent/box/src/services.js:1485:20)\n at async Object.backupAddons (/home/yellowtent/box/src/services.js:652:9)\n at async snapshotApp (/home/yellowtent/box/src/backuptask.js:332:5)\n at async uploadAppSnapshot (/home/yellowtent/box/src/backuptask.js:342:5)\n at async backupAppWithTag (/home/yellowtent/box/src/backuptask.js:383:5)\n at async fullBackup (/home/yellowtent/box/src/backuptask.js:504:29)","name":"BoxError","reason":"Inactive","details":{},"message":"Error getting IP of postgresql service"}}
    [no timestamp]  Error getting IP of postgresql service
    [no timestamp]  at getContainerDetails (/home/yellowtent/box/src/services.js:307:20)
    [no timestamp]  /process/task_queues:95:5)
    [no timestamp]  at async Object.backupPostgreSql [as backup] (/home/yellowtent/box/src/services.js:1485:20)
    [no timestamp]  at async Object.backupAddons (/home/yellowtent/box/src/services.js:652:9)
    [no timestamp]  at async snapshotApp (/home/yellowtent/box/src/backuptask.js:332:5)
    [no timestamp]  at async uploadAppSnapshot (/home/yellowtent/box/src/backuptask.js:342:5)
    [no timestamp]  at async backupAppWithTag (/home/yellowtent/box/src/backuptask.js:383:5)
    [no timestamp]  at async fullBackup (/home/yellowtent/box/src/backuptask.js:504:29)
    

    I assume it's related, but I also need to drop the cloudronpgvectorupdate database from the postgresql instance from time to time because it fails to start. I believe postgresql was running when the backup failed, however.

    1 Reply Last reply
    0
    • nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #2

      This error at least stems from the postgres service not running. Which version of Cloudron is this and if you ensure (maybe restart) the postgres service then trigger the backup, is that always reproducible?

      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