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