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. Error Copying Backup: InvalidObjectName: null

Error Copying Backup: InvalidObjectName: null

Scheduled Pinned Locked Moved Solved Support
backupsencryption
11 Posts 3 Posters 1.9k Views 3 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.
  • J Offline
    J Offline
    JLX89
    wrote on last edited by girish
    #1

    Hello,
    I seem to be having an issue where Nextcloud backups aren't working properly. As of the past few days everything seems to have been working fine, but since yesterday I started getting the following error:

    box:backups [Nextcloud Domain] Unable to backup { BoxError: Error copying [DO Spaces Backup Name]: 
    InvalidObjectName InvalidObjectName: null
    at Response.done (/home/yellowtent/box/src/storage/s3.js:247:52)
    at Request.<anonymous> (/home/yellowtent/box/node_modules/aws-sdk/lib/request.js:369:18)
    at Request.callListeners (/home/yellowtent/box/node_modules/aws-sdk/lib/sequential_executor.js:106:20)
    at Request.emit (/home/yellowtent/box/node_modules/aws-sdk/lib/sequential_executor.js:78:10)
    at Request.emit (/home/yellowtent/box/node_modules/aws-sdk/lib/request.js:688:14)
    at Request.transition (/home/yellowtent/box/node_modules/aws-sdk/lib/request.js:22:10)
    at AcceptorStateMachine.runTo (/home/yellowtent/box/node_modules/aws-sdk/lib/state_machine.js:14:12)
    at /home/yellowtent/box/node_modules/aws-sdk/lib/state_machine.js:26:10
    at Request.<anonymous> (/home/yellowtent/box/node_modules/aws-sdk/lib/request.js:38:9)
    at Request.<anonymous> (/home/yellowtent/box/node_modules/aws-sdk/lib/request.js:690:12)
    name: 'BoxError',
    reason: 'External Error',
    details: {},
    message: InvalidObjectName InvalidObjectName: null'
    

    Any help with this would be greatly appreciated!

    Thank you!

    robiR 1 Reply Last reply
    0
    • J JLX89

      Hello,
      I seem to be having an issue where Nextcloud backups aren't working properly. As of the past few days everything seems to have been working fine, but since yesterday I started getting the following error:

      box:backups [Nextcloud Domain] Unable to backup { BoxError: Error copying [DO Spaces Backup Name]: 
      InvalidObjectName InvalidObjectName: null
      at Response.done (/home/yellowtent/box/src/storage/s3.js:247:52)
      at Request.<anonymous> (/home/yellowtent/box/node_modules/aws-sdk/lib/request.js:369:18)
      at Request.callListeners (/home/yellowtent/box/node_modules/aws-sdk/lib/sequential_executor.js:106:20)
      at Request.emit (/home/yellowtent/box/node_modules/aws-sdk/lib/sequential_executor.js:78:10)
      at Request.emit (/home/yellowtent/box/node_modules/aws-sdk/lib/request.js:688:14)
      at Request.transition (/home/yellowtent/box/node_modules/aws-sdk/lib/request.js:22:10)
      at AcceptorStateMachine.runTo (/home/yellowtent/box/node_modules/aws-sdk/lib/state_machine.js:14:12)
      at /home/yellowtent/box/node_modules/aws-sdk/lib/state_machine.js:26:10
      at Request.<anonymous> (/home/yellowtent/box/node_modules/aws-sdk/lib/request.js:38:9)
      at Request.<anonymous> (/home/yellowtent/box/node_modules/aws-sdk/lib/request.js:690:12)
      name: 'BoxError',
      reason: 'External Error',
      details: {},
      message: InvalidObjectName InvalidObjectName: null'
      

      Any help with this would be greatly appreciated!

      Thank you!

      robiR Offline
      robiR Offline
      robi
      wrote on last edited by
      #2

      @jlx89 what is your backup configuration like?

      Conscious tech

      J 1 Reply Last reply
      0
      • robiR robi

        @jlx89 what is your backup configuration like?

        J Offline
        J Offline
        JLX89
        wrote on last edited by
        #3

        @robi I'm hosting with OVH (US) and backing up to DigitalOcean Spaces (NY3).

        robiR 1 Reply Last reply
        0
        • J JLX89

          @robi I'm hosting with OVH (US) and backing up to DigitalOcean Spaces (NY3).

          robiR Offline
          robiR Offline
          robi
          wrote on last edited by
          #4

          @jlx89 that doesn't answer my question.

          Go to your backup settings and tell us what they are set to.

          Conscious tech

          J 1 Reply Last reply
          0
          • robiR robi

            @jlx89 that doesn't answer my question.

            Go to your backup settings and tell us what they are set to.

            J Offline
            J Offline
            JLX89
            wrote on last edited by
            #5

            @robi I'm using that setup, backups are setup to use rsync, schedule is set to everyday at 11pm, retention is setup for 1 week. Backups seem to be working for all apps, except Nextcloud.

            robiR 1 Reply Last reply
            0
            • J JLX89

              @robi I'm using that setup, backups are setup to use rsync, schedule is set to everyday at 11pm, retention is setup for 1 week. Backups seem to be working for all apps, except Nextcloud.

              robiR Offline
              robiR Offline
              robi
              wrote on last edited by
              #6

              @jlx89 are they encrypted?

              Conscious tech

              J 1 Reply Last reply
              0
              • robiR robi

                @jlx89 are they encrypted?

                J Offline
                J Offline
                JLX89
                wrote on last edited by
                #7

                @robi Yes, they are.

                robiR 1 Reply Last reply
                0
                • J JLX89

                  @robi Yes, they are.

                  robiR Offline
                  robiR Offline
                  robi
                  wrote on last edited by
                  #8

                  @jlx89 take a look at these:
                  https://forum.cloudron.io/search?term=nextcloud backup encryption&in=titlesposts

                  try a manual backup
                  try turning off encryption

                  Conscious tech

                  J 1 Reply Last reply
                  0
                  • robiR robi

                    @jlx89 take a look at these:
                    https://forum.cloudron.io/search?term=nextcloud backup encryption&in=titlesposts

                    try a manual backup
                    try turning off encryption

                    J Offline
                    J Offline
                    JLX89
                    wrote on last edited by
                    #9

                    @robi Yes, that seems to have been the problem -- I turned off encryption and it seems to have worked out. Even manual backups were failing, just changed it back and it failed again. This seems to have happened right around the upgrade to 6.1.1. I'll have to dig into the issue more. I really appreciate your help!

                    girishG 1 Reply Last reply
                    0
                    • J JLX89

                      @robi Yes, that seems to have been the problem -- I turned off encryption and it seems to have worked out. Even manual backups were failing, just changed it back and it failed again. This seems to have happened right around the upgrade to 6.1.1. I'll have to dig into the issue more. I really appreciate your help!

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

                      @jlx89 In rsync mode + encryption, there are filename length limitations - https://docs.cloudron.io/backups/#encryption . You can run the command below to see if you have large filenames (you have to run this in Nextcloud's web terminal):

                      cd /app/data
                      find . -type f -printf "%f\n" | awk '{ print length(), $0 | "sort -rn" }' | less
                      
                      J 1 Reply Last reply
                      1
                      • girishG girish

                        @jlx89 In rsync mode + encryption, there are filename length limitations - https://docs.cloudron.io/backups/#encryption . You can run the command below to see if you have large filenames (you have to run this in Nextcloud's web terminal):

                        cd /app/data
                        find . -type f -printf "%f\n" | awk '{ print length(), $0 | "sort -rn" }' | less
                        
                        J Offline
                        J Offline
                        JLX89
                        wrote on last edited by
                        #11

                        @girish Thanks! This ended up being a combination of issues I believe. So throttling on the backups due to using rsync, encryption, and file names ended up being too long (only a few) So I've changed some settings around and it seems to have been resolved. I appreciate the help from both @robi and yourself.

                        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