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. Backups failure, using tarball to external cloud wasabi.

Backups failure, using tarball to external cloud wasabi.

Scheduled Pinned Locked Moved Unsolved Support
backupsfailure
9 Posts 4 Posters 1.5k Views 4 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.
    • P Offline
      P Offline
      privsec
      wrote on last edited by
      #1

      Backups failure, using tarball to external cloud wasabi. It looks like the app in question specifically where it fails is my only office app.

      When my backup job runs it keeps failing at backing up my onlyoffice app. I get the following

      Unable to backup BoxError: Unexpected response code when piping https://path.to.file: 500 message: Internal Server Error filename: /home/yellowtent/appsdata/`app path`/postgresqldump
      at /home/yellowtent/box/src/backups.js:1072:36
      at wrapper (/home/yellowtent/box/node_modules/async/dist/async.js:268:20)
      at iterateeCallback (/home/yellowtent/box/node_modules/async/dist/async.js:413:21)
      at /home/yellowtent/box/node_modules/async/dist/async.js:321:20
      at /home/yellowtent/box/src/services.js:1301:9
      at f (/home/yellowtent/box/node_modules/once/once.js:25:25)
      at Request.<anonymous> (/home/yellowtent/box/src/services.js:1312:53)
      at Request.emit (events.js:315:20)
      at Request.EventEmitter.emit (domain.js:467:12)
      at Request.onRequestResponse (/home/yellowtent/box/node_modules/request/request.js:1059:10) {
      reason: 'External Error',
      details: {}
      

      My backups have not been working now for 4 days. Can I please get some assistance with this?

      Below is my backup settings
      3004f7c4-9d06-426e-9019-1bcc29f365da-image.png

      d19dotcaD 1 Reply Last reply
      0
      • robiR Offline
        robiR Offline
        robi
        wrote on last edited by
        #2

        check to see if all your services are green.

        Conscious tech

        P 1 Reply Last reply
        1
        • P privsec

          Backups failure, using tarball to external cloud wasabi. It looks like the app in question specifically where it fails is my only office app.

          When my backup job runs it keeps failing at backing up my onlyoffice app. I get the following

          Unable to backup BoxError: Unexpected response code when piping https://path.to.file: 500 message: Internal Server Error filename: /home/yellowtent/appsdata/`app path`/postgresqldump
          at /home/yellowtent/box/src/backups.js:1072:36
          at wrapper (/home/yellowtent/box/node_modules/async/dist/async.js:268:20)
          at iterateeCallback (/home/yellowtent/box/node_modules/async/dist/async.js:413:21)
          at /home/yellowtent/box/node_modules/async/dist/async.js:321:20
          at /home/yellowtent/box/src/services.js:1301:9
          at f (/home/yellowtent/box/node_modules/once/once.js:25:25)
          at Request.<anonymous> (/home/yellowtent/box/src/services.js:1312:53)
          at Request.emit (events.js:315:20)
          at Request.EventEmitter.emit (domain.js:467:12)
          at Request.onRequestResponse (/home/yellowtent/box/node_modules/request/request.js:1059:10) {
          reason: 'External Error',
          details: {}
          

          My backups have not been working now for 4 days. Can I please get some assistance with this?

          Below is my backup settings
          3004f7c4-9d06-426e-9019-1bcc29f365da-image.png

          d19dotcaD Offline
          d19dotcaD Offline
          d19dotca
          wrote on last edited by
          #3

          @privsec What @robi said. It looks like from the error this is possibly related to the PostgreSQL process not working correctly rather than the backup process itself.

          --
          Dustin Dauncey
          www.d19.ca

          1 Reply Last reply
          0
          • girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #4

            There is a postgresql issue where it starts to reject connections because it hits a connection limit. The workaround for now is to simply restart it. I have made a fix already in the next release where we limit the connection per database. This way it's easy to isolate which app is causing this connection limit issue. My guess is currently it's either nextcloud or grafana.

            1 Reply Last reply
            0
            • robiR robi

              check to see if all your services are green.

              P Offline
              P Offline
              privsec
              wrote on last edited by
              #5

              @robi
              They are all green
              75fdf4e3-ea00-4b7f-acc3-ad756756b2c9-image.png

              The arrow denotes the service that the backup is failing for.

              @girish said in Backups failure, using tarball to external cloud wasabi.:

              There is a postgresql issue where it starts to reject connections because it hits a connection limit. The workaround for now is to simply restart it. I have made a fix already in the next release where we limit the connection per database. This way it's easy to isolate which app is causing this connection limit issue. My guess is currently it's either nextcloud or grafana.

              It's likely nextcloud since nextcloud is using the only office instance

              So how do I restart this?

              girishG 1 Reply Last reply
              0
              • P privsec

                @robi
                They are all green
                75fdf4e3-ea00-4b7f-acc3-ad756756b2c9-image.png

                The arrow denotes the service that the backup is failing for.

                @girish said in Backups failure, using tarball to external cloud wasabi.:

                There is a postgresql issue where it starts to reject connections because it hits a connection limit. The workaround for now is to simply restart it. I have made a fix already in the next release where we limit the connection per database. This way it's easy to isolate which app is causing this connection limit issue. My guess is currently it's either nextcloud or grafana.

                It's likely nextcloud since nextcloud is using the only office instance

                So how do I restart this?

                girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by
                #6

                @privsec there is a button to the right of the postgresql item to restart the service.

                P 1 Reply Last reply
                0
                • girishG girish

                  @privsec there is a button to the right of the postgresql item to restart the service.

                  P Offline
                  P Offline
                  privsec
                  wrote on last edited by
                  #7

                  @girish With them all being green though, do I need to?

                  girishG d19dotcaD 2 Replies Last reply
                  0
                  • P privsec

                    @girish With them all being green though, do I need to?

                    girishG Offline
                    girishG Offline
                    girish
                    Staff
                    wrote on last edited by
                    #8

                    @privsec yes. The green signal is unfortunately not accurate for postgres. The healthcheck route doesn't take into account that no more connections can be made (the database is itself up but not accepting new connections).

                    1 Reply Last reply
                    1
                    • P privsec

                      @girish With them all being green though, do I need to?

                      d19dotcaD Offline
                      d19dotcaD Offline
                      d19dotca
                      wrote on last edited by
                      #9

                      @privsec Note, just because it's "running" doesn't mean it's running well. 😉

                      --
                      Dustin Dauncey
                      www.d19.ca

                      1 Reply Last reply
                      1
                      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