Xen Orchestra - Permissions Issue - File level restore
-
All backups are still listed as being created on January 17th 1970....
-
Post the output from the following command --
cd /opt/xo-server && git rev-parse --abbrev-ref HEAD
-
@Danp 8827f8e940e0f0bc73230e772855640e6cbd8d27
-
@DustinB3403 Was expecting
stable
ornext-release
. How did you perform the update? -
One sec, realized I was only on NR for xo-server and not xo-web, just did a checkout for web, and running the update.
-
There we go, now it's
cd /opt/xo-server && git rev-parse --abbrev-ref HEAD next-release
-
Should have used the update script.
-
Building mine now on next-release to test
-
I do use the update script to perform the update, but you added flags didnt you... dang it I keep forgetting about those lol...
Anyways the file level backups still list 1970 as the creation date.
-
@DustinB3403 My dates are correct after rebuilding on next-release.
-
@Danp Hrm...
Mine are still clustered. . . .
-
Try with a force rebuild --
sudo curl https://raw.githubusercontent.com/Jarli01/xenorchestra_updater/master/xo-update.sh | bash -s -- -f
-
@Danp Trying now
-
Now I've got actual dates. Progress!
-
Ok so (office party atm) but did you get your fuse issue corrected?
-
@DustinB3403 I haven't experienced the fuser error
Edit: Fixed missing negative
-
@Danp said in Xen Orchestra - Permissions Issue - File level restore:
@DustinB3403 I have experienced the fuser error
Totally off topic: How can you not love Linux/UNIX, especially when we have errors telling us fuser.
-
@Danp said in Xen Orchestra - Permissions Issue - File level restore:
@DustinB3403 I haven't experienced the fuser error
Edit: Fixed missing negative
So are you able to restore files?
-
@DustinB3403 said in Xen Orchestra - Permissions Issue - File level restore:
So are you able to restore files?
Nope. Either getting errors in the log like this --
Dec 21 11:27:23 xo-5 xo-server[26997]: { Error: Command failed: mount --options=loop,ro,offset=1048576,noload --source=/tmp/tmp-269977KZDUzPQPshd/vhdi1 --target=/tmp/tmp-26997NWHkKW0eSCVg Dec 21 11:27:23 xo-5 xo-server[26997]: mount: wrong fs type, bad option, bad superblock on /dev/loop0, Dec 21 11:27:23 xo-5 xo-server[26997]: missing codepage or helper program, or other error Dec 21 11:27:23 xo-5 xo-server[26997]: In some cases useful info is found in syslog - try Dec 21 11:27:23 xo-5 xo-server[26997]: dmesg | tail or so. Dec 21 11:27:23 xo-5 xo-server[26997]: at Promise.all.then.arr (/opt/xo-server/node_modules/execa/index.js:170:11) Dec 21 11:27:23 xo-5 xo-server[26997]: at tryCatcher (/opt/xo-server/node_modules/bluebird/js/release/util.js:16:23) Dec 21 11:27:23 xo-5 xo-server[26997]: at Promise._settlePromiseFromHandler (/opt/xo-server/node_modules/bluebird/js/release/promise.js:510:31) Dec 21 11:27:23 xo-5 xo-server[26997]: at Promise._settlePromise (/opt/xo-server/node_modules/bluebird/js/release/promise.js:567:18) Dec 21 11:27:23 xo-5 xo-server[26997]: at Promise._settlePromise0 (/opt/xo-server/node_modules/bluebird/js/release/promise.js:612:10) Dec 21 11:27:23 xo-5 xo-server[26997]: at Promise._settlePromises (/opt/xo-server/node_modules/bluebird/js/release/promise.js:691:18) Dec 21 11:27:23 xo-5 xo-server[26997]: at Promise._fulfill (/opt/xo-server/node_modules/bluebird/js/release/promise.js:636:18) Dec 21 11:27:23 xo-5 xo-server[26997]: at PromiseArray._resolve (/opt/xo-server/node_modules/bluebird/js/release/promise_array.js:125:19) Dec 21 11:27:23 xo-5 xo-server[26997]: at PromiseArray._promiseFulfilled (/opt/xo-server/node_modules/bluebird/js/release/promise_array.js:143:14) Dec 21 11:27:23 xo-5 xo-server[26997]: at Promise._settlePromise (/opt/xo-server/node_modules/bluebird/js/release/promise.js:572:26) Dec 21 11:27:23 xo-5 xo-server[26997]: at Promise._settlePromise0 (/opt/xo-server/node_modules/bluebird/js/release/promise.js:612:10) Dec 21 11:27:23 xo-5 xo-server[26997]: at Promise._settlePromises (/opt/xo-server/node_modules/bluebird/js/release/promise.js:691:18) Dec 21 11:27:23 xo-5 xo-server[26997]: at Async._drainQueue (/opt/xo-server/node_modules/bluebird/js/release/async.js:138:16) Dec 21 11:27:23 xo-5 xo-server[26997]: at Async._drainQueues (/opt/xo-server/node_modules/bluebird/js/release/async.js:148:10) Dec 21 11:27:23 xo-5 xo-server[26997]: at Immediate.Async.drainQueues (/opt/xo-server/node_modules/bluebird/js/release/async.js:17:14) Dec 21 11:27:23 xo-5 xo-server[26997]: code: 32, Dec 21 11:27:23 xo-5 xo-server[26997]: killed: false, Dec 21 11:27:23 xo-5 xo-server[26997]: stdout: '', Dec 21 11:27:23 xo-5 xo-server[26997]: stderr: 'mount: wrong fs type, bad option, bad superblock on /dev/loop0,\n missing codepage or helper program, or other error\n\n In some cases useful info is found in syslog - try\n dmesg | tail or so.\n', Dec 21 11:27:23 xo-5 xo-server[26997]: failed: true, Dec 21 11:27:23 xo-5 xo-server[26997]: signal: null, Dec 21 11:27:23 xo-5 xo-server[26997]: cmd: 'mount --options=loop,ro,offset=1048576,noload --source=/tmp/tmp-269977KZDUzPQPshd/vhdi1 --target=/tmp/tmp-26997NWHkKW0eSCVg' } Dec 21 11:27:23 xo-5 xo-server[26997]: Wed, 21 Dec 2016 17:27:23 GMT xo:api [email protected] | backup.scanFiles(...) [233ms] =!> Error: Command failed: mount --options=loop,ro,offset=1048576,noload --source=/tmp/tmp-269977KZDUzPQPshd/vhdi1 --target=/tmp/tmp-26997NWHkKW0eSCVg Dec 21 11:27:23 xo-5 xo-server[26997]: mount: wrong fs type, bad option, bad superblock on /dev/loop0, Dec 21 11:27:23 xo-5 xo-server[26997]: missing codepage or helper program, or other error Dec 21 11:27:23 xo-5 xo-server[26997]: In some cases useful info is found in syslog - try Dec 21 11:27:23 xo-5 xo-server[26997]: dmesg | tail or so.
or else this
Dec 21 11:51:40 xo-5 xo-server[26997]: Wed, 21 Dec 2016 17:51:40 GMT xo:api [email protected] | backup.scanDisk(...) [17ms] =!> Error: EROFS: read-only file system, mkdir '/tmp/tmp-26997k3oduVxLfSa8'
-
Probably should restart the VM to see if that changes anything with the read-only issue.