New Smart Backup failure
-
After an update last night, I'm suddenly receiving an error on Smart Backup jobs:
BACKUP.SMART_BACKUP is not defined in the AUTHORIZATIONS objectI've tried deleting and re-creating the job, but I get this every time I try to run it within just a few seconds of starting. I can't find anything in the XO documentation or XCP-ng documentation about the "AUTHORIZATIONS object"
-
Probably related to this PR -- https://github.com/vatesfr/xen-orchestra/pull/6107
-
-
@olivierlambert @florent @julien-f The latest master (Mar-11) is broken because of the new AUTHORIZATIONS stuff. Continuous replication and S3 backup stopped working. I backed off to the last working version (Mar-9) until more updates are committed.
-
I've got the same error for a delta job since the 11th of March. cheers Ringo
-
Okay we found the issue, @florent will prepare you a branch ASAP so you can test and report If it's OK, we'll merge in
master
! -
And it's merged! Please try again on latest
master
's commit! -
great job guys on a saturday! I am just updating my xo but your response times are great, keep up the good work!
-
WOW - I'm amazed and impressed at how quickly this was addressed, simply from a community forum post! Thank you to all! Everything is working, once again.
-
@olivierlambert Thanks! Master commit 5f2b1 looks good now. Continuous Replication works. Delta backup works. S3 backup works. Have a good weekend.
-
@Andrew yes , thank you
@JVComputers thank you for helping us fix it -
I had the same error and updated to the latest commit on the master branch which fixed the error. But I am now getting the following error and wondering if anyone else is seeing it as well? Can't even do meta or config backups at this point.
BACKUP.SMART_BACKUP is not defined in the AUTHORIZATIONS object
More details:
metadataBackup.runJob { "id": "473fb5d5-1a8e-4e1e-888a-55078f4a7638", "schedule": "e8611046-3f4c-4f51-9cf2-671915c2abe7" } { "message": "app.createUserConnection is not a function", "name": "TypeError", "stack": "TypeError: app.createUserConnection is not a function at Jobs.apply (file:///opt/xo/xo-builds/xen-orchestra-202203161420/packages/xo-server/src/xo-mixins/jobs/index.mjs:283:30) at Jobs._runJob (/opt/xo/xo-builds/xen-orchestra-202203161420/node_modules/golike-defer/src/index.js:85:19) at Jobs.runJobSequence (file:///opt/xo/xo-builds/xen-orchestra-202203161420/packages/xo-server/src/xo-mixins/jobs/index.mjs:333:18) at Api.callApiMethod (file:///opt/xo/xo-builds/xen-orchestra-202203161420/packages/xo-server/src/xo-mixins/api.mjs:314:20)" }
-
Are you sure you did a rebuild after getting the latest commit?
-
I did for sure. But I noticed that a new commit(886ff2cd7) was made literally in about the last hour and after updating again to that version all is good!