ODK Central backup to Google Drive failed

#1

Hi @clint,
I'm failed to backup ODK Central to Google Drive. Pls help.


Below is result when I run odk=# select details from audits where action='backup'; as your guide last time.

 {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n    at create (/usr/odk/node_modules/googleapis/bu
ild/src/apis/drive/v3.js:472:31)\n    at create (internal/util.js:230:26)\n    at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n    at <anonymous>\n    at process._tickCall
back (internal/process/next_tick.js:188:7)"}
 {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n    at create (/usr/odk/node_modules/googleapis/bu
ild/src/apis/drive/v3.js:472:31)\n    at create (internal/util.js:230:26)\n    at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n    at <anonymous>\n    at process._tickCall
back (internal/process/next_tick.js:188:7)"}
 {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n    at create (/usr/odk/node_modules/googleapis/bu
ild/src/apis/drive/v3.js:472:31)\n    at create (internal/util.js:230:26)\n    at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n    at <anonymous>\n    at process._tickCall
back (internal/process/next_tick.js:188:7)"}
 {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n    at create (/usr/odk/node_modules/googleapis/bu
ild/src/apis/drive/v3.js:472:31)\n    at create (internal/util.js:230:26)\n    at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n    at <anonymous>\n    at process._tickCall
back (internal/process/next_tick.js:188:7)"}
 {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n    at create (/usr/odk/node_modules/googleapis/bu
ild/src/apis/drive/v3.js:472:31)\n    at create (internal/util.js:230:26)\n    at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n    at <anonymous>\n    at process._tickCall
back (internal/process/next_tick.js:188:7)"}
 {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n    at create (/usr/odk/node_modules/googleapis/bu
ild/src/apis/drive/v3.js:472:31)\n    at create (internal/util.js:230:26)\n    at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n    at <anonymous>\n    at process._tickCall
back (internal/process/next_tick.js:188:7)"}
 {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n    at create (/usr/odk/node_modules/googleapis/bu
ild/src/apis/drive/v3.js:472:31)\n    at create (internal/util.js:230:26)\n    at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n    at <anonymous>\n    at process._tickCall
back (internal/process/next_tick.js:188:7)"}
 {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n    at create (/usr/odk/node_modules/googleapis/bu
ild/src/apis/drive/v3.js:472:31)\n    at create (internal/util.js:230:26)\n    at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n    at <anonymous>\n    at process._tickCall
back (internal/process/next_tick.js:188:7)"}
 {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n    at create (/usr/odk/node_modules/googleapis/bu
ild/src/apis/drive/v3.js:472:31)\n    at create (internal/util.js:230:26)\n    at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n    at <anonymous>\n    at process._tickCall
back (internal/process/next_tick.js:188:7)"}
 {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n    at create (/usr/odk/node_modules/googleapis/bu
ild/src/apis/drive/v3.js:472:31)\n    at create (internal/util.js:230:26)\n    at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n    at <anonymous>\n    at process._tickCall
back (internal/process/next_tick.js:188:7)"}
 {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n    at create (/usr/odk/node_modules/googleapis/bu
ild/src/apis/drive/v3.js:472:31)\n    at create (internal/util.js:230:26)\n    at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n    at <anonymous>\n    at process._tickCall
back (internal/process/next_tick.js:188:7)"}
 {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n    at create (/usr/odk/node_modules/googleapis/bu
ild/src/apis/drive/v3.js:472:31)\n    at create (internal/util.js:230:26)\n    at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n    at <anonymous>\n    at process._tickCall
back (internal/process/next_tick.js:188:7)"}
 {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n    at create (/usr/odk/node_modules/googleapis/bu
ild/src/apis/drive/v3.js:472:31)\n    at create (internal/util.js:230:26)\n    at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n    at <anonymous>\n    at process._tickCall
back (internal/process/next_tick.js:188:7)"}
 {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n    at create (/usr/odk/node_modules/googleapis/bu
ild/src/apis/drive/v3.js:472:31)\n    at create (internal/util.js:230:26)\n    at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n    at <anonymous>\n    at process._tickCall
back (internal/process/next_tick.js:188:7)"}
 {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n    at create (/usr/odk/node_modules/googleapis/bu
ild/src/apis/drive/v3.js:472:31)\n    at create (internal/util.js:230:26)\n    at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n    at <anonymous>\n    at process._tickCall
back (internal/process/next_tick.js:188:7)"}
 {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n    at create (/usr/odk/node_modules/googleapis/bu
ild/src/apis/drive/v3.js:472:31)\n    at create (internal/util.js:230:26)\n    at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n    at <anonymous>\n    at process._tickCall
back (internal/process/next_tick.js:188:7)"}
 {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n    at create (/usr/odk/node_modules/googleapis/bu
ild/src/apis/drive/v3.js:472:31)\n    at create (internal/util.js:230:26)\n    at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n    at <anonymous>\n    at process._tickCall
back (internal/process/next_tick.js:188:7)"}
 {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n    at create (/usr/odk/node_modules/googleapis/bu
ild/src/apis/drive/v3.js:472:31)\n    at create (internal/util.js:230:26)\n    at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n    at <anonymous>\n    at process._tickCall
back (internal/process/next_tick.js:188:7)"}
 {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n    at create (/usr/odk/node_modules/googleapis/bu
ild/src/apis/drive/v3.js:472:31)\n    at create (internal/util.js:230:26)\n    at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n    at <anonymous>\n    at process._tickCall
back (internal/process/next_tick.js:188:7)"}
 {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n    at create (/usr/odk/node_modules/googleapis/bu
ild/src/apis/drive/v3.js:472:31)\n    at create (internal/util.js:230:26)\n    at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n    at <anonymous>\n    at process._tickCall
back (internal/process/next_tick.js:188:7)"}
 {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n    at create (/usr/odk/node_modules/googleapis/bu
ild/src/apis/drive/v3.js:472:31)\n    at create (internal/util.js:230:26)\n    at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n    at <anonymous>\n    at process._tickCall
back (internal/process/next_tick.js:188:7)"}
 {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n    at create (/usr/odk/node_modules/googleapis/bu
ild/src/apis/drive/v3.js:472:31)\n    at create (internal/util.js:230:26)\n    at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n    at <anonymous>\n    at process._tickCall
back (internal/process/next_tick.js:188:7)"}
 {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n    at create (/usr/odk/node_modules/googleapis/bu
ild/src/apis/drive/v3.js:472:31)\n    at create (internal/util.js:230:26)\n    at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n    at <anonymous>\n    at process._tickCall
back (internal/process/next_tick.js:188:7)"}
 {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n    at create (/usr/odk/node_modules/googleapis/bu
ild/src/apis/drive/v3.js:472:31)\n    at create (internal/util.js:230:26)\n    at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n    at <anonymous>\n    at process._tickCall
back (internal/process/next_tick.js:188:7)"}
 {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n    at create (/usr/odk/node_modules/googleapis/bu
ild/src/apis/drive/v3.js:472:31)\n    at create (internal/util.js:230:26)\n    at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n    at <anonymous>\n    at process._tickCall
back (internal/process/next_tick.js:188:7)"}
 {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n    at create (/usr/odk/node_modules/googleapis/bu
ild/src/apis/drive/v3.js:472:31)\n    at create (internal/util.js:230:26)\n    at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n    at <anonymous>\n    at process._tickCall
back (internal/process/next_tick.js:188:7)"}
 {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n    at create (/usr/odk/node_modules/googleapis/bu
ild/src/apis/drive/v3.js:472:31)\n    at create (internal/util.js:230:26)\n    at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n    at <anonymous>\n    at process._tickCall
back (internal/process/next_tick.js:188:7)"}
 {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n    at create (/usr/odk/node_modules/googleapis/bu
ild/src/apis/drive/v3.js:472:31)\n    at create (internal/util.js:230:26)\n    at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n    at <anonymous>\n    at process._tickCall
back (internal/process/next_tick.js:188:7)"}
 {"success":false,"message":"Could not find the resource you were looking for.","stack":"Error: Could not find the resource you were looking for.\n    at Object.notFound (/usr/odk/lib/util/
problem.js:39:3)\n    at Object.<anonymous> (/usr/odk/lib/util/promise.js:29:48)\n    at Module._compile (module.js:652:30)\n    at Object.Module._extensions..js (module.js:663:10)\n    at
Module.load (module.js:565:32)\n    at tryModuleLoad (module.js:505:12)\n    at Function.Module._load (module.js:497:3)\n    at Module.require (module.js:596:17)\n    at require (internal/m
odule.js:11:18)\n    at Object.<anonymous> (/usr/odk/lib/model/query/builder.js:13:21)\n    at Module._compile (module.js:652:30)\n    at Object.Module._extensions..js (module.js:663:10)\n
   at Module.load (module.js:565:32)\n    at tryModuleLoad (module.js:505:12)\n    at Function.Module._load (module.js:497:3)\n    at Module.require (module.js:596:17)","code":404.1}
 {"success":false,"message":"Could not find the resource you were looking for.","stack":"Error: Could not find the resource you were looking for.\n    at Object.notFound (/usr/odk/lib/util/
problem.js:39:3)\n    at Object.<anonymous> (/usr/odk/lib/util/promise.js:29:48)\n    at Module._compile (module.js:652:30)\n    at Object.Module._extensions..js (module.js:663:10)\n    at
Module.load (module.js:565:32)\n    at tryModuleLoad (module.js:505:12)\n    at Function.Module._load (module.js:497:3)\n    at Module.require (module.js:596:17)\n    at require (internal/m
odule.js:11:18)\n    at Object.<anonymous> (/usr/odk/lib/model/query/builder.js:13:21)\n    at Module._compile (module.js:652:30)\n    at Object.Module._extensions..js (module.js:663:10)\n
   at Module.load (module.js:565:32)\n    at tryModuleLoad (module.js:505:12)\n    at Function.Module._load (module.js:497:3)\n    at Module.require (module.js:596:17)","code":404.1}
 {"success":false,"message":"Could not find the resource you were looking for.","stack":"Error: Could not find the resource you were looking for.\n    at Object.notFound (/usr/odk/lib/util/
problem.js:39:3)\n    at Object.<anonymous> (/usr/odk/lib/util/promise.js:29:48)\n    at Module._compile (module.js:652:30)\n    at Object.Module._extensions..js (module.js:663:10)\n    at
Module.load (module.js:565:32)\n    at tryModuleLoad (module.js:505:12)\n    at Function.Module._load (module.js:497:3)\n    at Module.require (module.js:596:17)\n    at require (internal/m
odule.js:11:18)\n    at Object.<anonymous> (/usr/odk/lib/model/query/builder.js:13:21)\n    at Module._compile (module.js:652:30)\n    at Object.Module._extensions..js (module.js:663:10)\n
   at Module.load (module.js:565:32)\n    at tryModuleLoad (module.js:505:12)\n    at Function.Module._load (module.js:497:3)\n    at Module.require (module.js:596:17)","code":404.1}
 {"success":false,"message":"Could not find the resource you were looking for.","stack":"Error: Could not find the resource you were looking for.\n    at Object.notFound (/usr/odk/lib/util/
problem.js:39:3)\n    at Object.<anonymous> (/usr/odk/lib/util/promise.js:29:48)\n    at Module._compile (module.js:652:30)\n    at Object.Module._extensions..js (module.js:663:10)\n    at
Module.load (module.js:565:32)\n    at tryModuleLoad (module.js:505:12)\n    at Function.Module._load (module.js:497:3)\n    at Module.require (module.js:596:17)\n    at require (internal/m
odule.js:11:18)\n    at Object.<anonymous> (/usr/odk/lib/model/query/builder.js:13:21)\n    at Module._compile (module.js:652:30)\n    at Object.Module._extensions..js (module.js:663:10)\n
   at Module.load (module.js:565:32)\n    at tryModuleLoad (module.js:505:12)\n    at Function.Module._load (module.js:497:3)\n    at Module.require (module.js:596:17)","code":404.1}
 {"success":false,"message":"Could not find the resource you were looking for.","stack":"Error: Could not find the resource you were looking for.\n    at Object.notFound (/usr/odk/lib/util/
problem.js:39:3)\n    at Object.<anonymous> (/usr/odk/lib/util/promise.js:29:48)\n    at Module._compile (module.js:652:30)\n    at Object.Module._extensions..js (module.js:663:10)\n    at
Module.load (module.js:565:32)\n    at tryModuleLoad (module.js:505:12)\n    at Function.Module._load (module.js:497:3)\n    at Module.require (module.js:596:17)\n    at require (internal/m
odule.js:11:18)\n    at Object.<anonymous> (/usr/odk/lib/model/query/builder.js:13:21)\n    at Module._compile (module.js:652:30)\n    at Object.Module._extensions..js (module.js:663:10)\n
   at Module.load (module.js:565:32)\n    at tryModuleLoad (module.js:505:12)\n    at Function.Module._load (module.js:497:3)\n    at Module.require (module.js:596:17)","code":404.1}
 {"success":false,"message":"Could not find the resource you were looking for.","stack":"Error: Could not find the resource you were looking for.\n    at Object.notFound (/usr/odk/lib/util/
problem.js:39:3)\n    at Object.<anonymous> (/usr/odk/lib/util/promise.js:29:48)\n    at Module._compile (module.js:652:30)\n    at Object.Module._extensions..js (module.js:663:10)\n    at
Module.load (module.js:565:32)\n    at tryModuleLoad (module.js:505:12)\n    at Function.Module._load (module.js:497:3)\n    at Module.require (module.js:596:17)\n    at require (internal/m
odule.js:11:18)\n    at Object.<anonymous> (/usr/odk/lib/model/query/builder.js:13:21)\n    at Module._compile (module.js:652:30)\n    at Object.Module._extensions..js (module.js:663:10)\n
   at Module.load (module.js:565:32)\n    at tryModuleLoad (module.js:505:12)\n    at Function.Module._load (module.js:497:3)\n    at Module.require (module.js:596:17)","code":404.1}
 {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n    at create (/usr/odk/node_modules/googleapis/bu
ild/src/apis/drive/v3.js:472:31)\n    at create (internal/util.js:230:26)\n    at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n    at <anonymous>\n    at process._tickCall
back (internal/process/next_tick.js:188:7)"}
 {"success":false,"message":"Could not find the resource you were looking for.","stack":"Error: Could not find the resource you were looking for.\n    at Object.notFound (/usr/odk/lib/util/
problem.js:39:3)\n    at Object.<anonymous> (/usr/odk/lib/util/promise.js:29:48)\n    at Module._compile (module.js:652:30)\n    at Object.Module._extensions..js (module.js:663:10)\n    at
Module.load (module.js:565:32)\n    at tryModuleLoad (module.js:505:12)\n    at Function.Module._load (module.js:497:3)\n    at Module.require (module.js:596:17)\n    at require (internal/m
odule.js:11:18)\n    at Object.<anonymous> (/usr/odk/lib/model/query/builder.js:13:21)\n    at Module._compile (module.js:652:30)\n    at Object.Module._extensions..js (module.js:663:10)\n
   at Module.load (module.js:565:32)\n    at tryModuleLoad (module.js:505:12)\n    at Function.Module._load (module.js:497:3)\n    at Module.require (module.js:596:17)","code":404.1}
 {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n    at create (/usr/odk/node_modules/googleapis/bu
ild/src/apis/drive/v3.js:472:31)\n    at create (internal/util.js:230:26)\n    at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n    at <anonymous>\n    at process._tickCall
back (internal/process/next_tick.js:188:7)"}
 {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n    at create (/usr/odk/node_modules/googleapis/bu
ild/src/apis/drive/v3.js:472:31)\n    at create (internal/util.js:230:26)\n    at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n    at <anonymous>\n    at process._tickCall
back (internal/process/next_tick.js:188:7)"}
(38 rows)
0 Likes

#2

hey: my apologies about this late reply.

could you please do two things for me?

  1. in your web browser, go to your Central web address, but with /version.txt at the end of the URL; so for my server https://odk.antinod.es/ that's https://odk.antinod.es/version.txt. then, paste the text contents here.
  2. run the same query you did for me above, but this time with a small adjustment: select "loggedAt", details from audits where action='backup';

thanks!

0 Likes

#3

Hi @Clint,
The return is as below:
1/
versions:
ea2950984ebe04f9145f6623ba578b86cfba1cd1
9a3f4ac33693dafb5de7893e8a299d55f18e1a8f client (v0.4.0-beta.0)
6442a063e2d50a15afc23b35a05afb2698860156 server (v0.4.0-beta.0)
2/
2019-03-01 02:00:03.947+00 | {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n at create (/usr/o
dk/node_modules/googleapis/build/src/apis/drive/v3.js:472:31)\n at create (internal/util.js:230:26)\n at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n at \n at process._tickCallback (internal/process/next_tick.js:188:7)"}
2019-03-02 02:00:04.186+00 | {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n at create (/usr/o
dk/node_modules/googleapis/build/src/apis/drive/v3.js:472:31)\n at create (internal/util.js:230:26)\n at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n at \n at process._tickCallback (internal/process/next_tick.js:188:7)"}
2019-03-03 02:00:03.399+00 | {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n at create (/usr/o
dk/node_modules/googleapis/build/src/apis/drive/v3.js:472:31)\n at create (internal/util.js:230:26)\n at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n at \n at process._tickCallback (internal/process/next_tick.js:188:7)"}
2019-03-04 02:00:03.659+00 | {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n at create (/usr/o
dk/node_modules/googleapis/build/src/apis/drive/v3.js:472:31)\n at create (internal/util.js:230:26)\n at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n at \n at process._tickCallback (internal/process/next_tick.js:188:7)"}
2019-03-05 02:00:03.416+00 | {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n at create (/usr/o
dk/node_modules/googleapis/build/src/apis/drive/v3.js:472:31)\n at create (internal/util.js:230:26)\n at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n at \n at process._tickCallback (internal/process/next_tick.js:188:7)"}
2019-03-06 02:00:11.762+00 | {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n at create (/usr/o
dk/node_modules/googleapis/build/src/apis/drive/v3.js:472:31)\n at create (internal/util.js:230:26)\n at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n at \n at process._tickCallback (internal/process/next_tick.js:188:7)"}
2019-03-07 02:00:13.627+00 | {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n at create (/usr/o
dk/node_modules/googleapis/build/src/apis/drive/v3.js:472:31)\n at create (internal/util.js:230:26)\n at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n at \n at process._tickCallback (internal/process/next_tick.js:188:7)"}
2019-03-08 02:00:12.872+00 | {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n at create (/usr/o
dk/node_modules/googleapis/build/src/apis/drive/v3.js:472:31)\n at create (internal/util.js:230:26)\n at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n at \n at process._tickCallback (internal/process/next_tick.js:188:7)"}
2019-03-09 02:00:14.253+00 | {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n at create (/usr/o
dk/node_modules/googleapis/build/src/apis/drive/v3.js:472:31)\n at create (internal/util.js:230:26)\n at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n at \n at process._tickCallback (internal/process/next_tick.js:188:7)"}
2019-03-10 02:00:12.542+00 | {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n at create (/usr/o
dk/node_modules/googleapis/build/src/apis/drive/v3.js:472:31)\n at create (internal/util.js:230:26)\n at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n at \n at process._tickCallback (internal/process/next_tick.js:188:7)"}
2019-03-11 02:00:12.71+00 | {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n at create (/usr/o
dk/node_modules/googleapis/build/src/apis/drive/v3.js:472:31)\n at create (internal/util.js:230:26)\n at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n at \n at process._tickCallback (internal/process/next_tick.js:188:7)"}
2019-03-12 02:00:11.82+00 | {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n at create (/usr/o
dk/node_modules/googleapis/build/src/apis/drive/v3.js:472:31)\n at create (internal/util.js:230:26)\n at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n at \n at process._tickCallback (internal/process/next_tick.js:188:7)"}
2019-03-13 02:00:12.798+00 | {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n at create (/usr/o
dk/node_modules/googleapis/build/src/apis/drive/v3.js:472:31)\n at create (internal/util.js:230:26)\n at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n at \n at process._tickCallback (internal/process/next_tick.js:188:7)"}
2019-03-14 02:00:12.894+00 | {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n at create (/usr/o
dk/node_modules/googleapis/build/src/apis/drive/v3.js:472:31)\n at create (internal/util.js:230:26)\n at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n at \n at process._tickCallback (internal/process/next_tick.js:188:7)"}
2019-03-15 02:00:11.84+00 | {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n at create (/usr/o
dk/node_modules/googleapis/build/src/apis/drive/v3.js:472:31)\n at create (internal/util.js:230:26)\n at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n at \n at process._tickCallback (internal/process/next_tick.js:188:7)"}
2019-03-16 02:00:13.258+00 | {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n at create (/usr/o
dk/node_modules/googleapis/build/src/apis/drive/v3.js:472:31)\n at create (internal/util.js:230:26)\n at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n at \n at process._tickCallback (internal/process/next_tick.js:188:7)"}
2019-03-17 02:00:12.327+00 | {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n at create (/usr/o
dk/node_modules/googleapis/build/src/apis/drive/v3.js:472:31)\n at create (internal/util.js:230:26)\n at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n at \n at process._tickCallback (internal/process/next_tick.js:188:7)"}
2019-03-18 02:00:12.29+00 | {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n at create (/usr/o
dk/node_modules/googleapis/build/src/apis/drive/v3.js:472:31)\n at create (internal/util.js:230:26)\n at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n at \n at process._tickCallback (internal/process/next_tick.js:188:7)"}
2019-03-19 02:00:13.245+00 | {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n at create (/usr/o
dk/node_modules/googleapis/build/src/apis/drive/v3.js:472:31)\n at create (internal/util.js:230:26)\n at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n at \n at process._tickCallback (internal/process/next_tick.js:188:7)"}
2019-03-20 02:00:12.554+00 | {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n at create (/usr/o
dk/node_modules/googleapis/build/src/apis/drive/v3.js:472:31)\n at create (internal/util.js:230:26)\n at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n at \n at process._tickCallback (internal/process/next_tick.js:188:7)"}
2019-03-21 02:00:11.422+00 | {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n at create (/usr/o
dk/node_modules/googleapis/build/src/apis/drive/v3.js:472:31)\n at create (internal/util.js:230:26)\n at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n at \n at process._tickCallback (internal/process/next_tick.js:188:7)"}
2019-03-22 02:00:10.84+00 | {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n at create (/usr/o
dk/node_modules/googleapis/build/src/apis/drive/v3.js:472:31)\n at create (internal/util.js:230:26)\n at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n at \n at process._tickCallback (internal/process/next_tick.js:188:7)"}
2019-03-23 02:00:12.738+00 | {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n at create (/usr/o
dk/node_modules/googleapis/build/src/apis/drive/v3.js:472:31)\n at create (internal/util.js:230:26)\n at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n at \n at process._tickCallback (internal/process/next_tick.js:188:7)"}
2019-03-24 02:00:13.818+00 | {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n at create (/usr/o
dk/node_modules/googleapis/build/src/apis/drive/v3.js:472:31)\n at create (internal/util.js:230:26)\n at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n at \n at process._tickCallback (internal/process/next_tick.js:188:7)"}
2019-03-25 02:00:12.579+00 | {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n at create (/usr/o
dk/node_modules/googleapis/build/src/apis/drive/v3.js:472:31)\n at create (internal/util.js:230:26)\n at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n at \n at process._tickCallback (internal/process/next_tick.js:188:7)"}
2019-03-26 02:00:12.437+00 | {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n at create (/usr/o
dk/node_modules/googleapis/build/src/apis/drive/v3.js:472:31)\n at create (internal/util.js:230:26)\n at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n at \n at process._tickCallback (internal/process/next_tick.js:188:7)"}
2019-03-27 02:00:11.979+00 | {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n at create (/usr/o
dk/node_modules/googleapis/build/src/apis/drive/v3.js:472:31)\n at create (internal/util.js:230:26)\n at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n at \n at process._tickCallback (internal/process/next_tick.js:188:7)"}
2019-03-28 02:00:12.651+00 | {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n at create (/usr/o
dk/node_modules/googleapis/build/src/apis/drive/v3.js:472:31)\n at create (internal/util.js:230:26)\n at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n at \n at process._tickCallback (internal/process/next_tick.js:188:7)"}
2019-03-29 02:00:02.568+00 | {"success":false,"message":"Could not find the resource you were looking for.","stack":"Error: Could not find the resource you were looking for.\n at Object
.notFound (/usr/odk/lib/util/problem.js:39:3)\n at Object. (/usr/odk/lib/util/promise.js:29:48)\n at Module._compile (module.js:652:30)\n at Object.Module._extensions..j
s (module.js:663:10)\n at Module.load (module.js:565:32)\n at tryModuleLoad (module.js:505:12)\n at Function.Module._load (module.js:497:3)\n at Module.require (module.js:596:17
)\n at require (internal/module.js:11:18)\n at Object. (/usr/odk/lib/model/query/builder.js:13:21)\n at Module._compile (module.js:652:30)\n at Object.Module._extensi
ons..js (module.js:663:10)\n at Module.load (module.js:565:32)\n at tryModuleLoad (module.js:505:12)\n at Function.Module._load (module.js:497:3)\n at Module.require (module.js:
596:17)","code":404.1}
2019-03-30 02:00:02.637+00 | {"success":false,"message":"Could not find the resource you were looking for.","stack":"Error: Could not find the resource you were looking for.\n at Object
.notFound (/usr/odk/lib/util/problem.js:39:3)\n at Object. (/usr/odk/lib/util/promise.js:29:48)\n at Module._compile (module.js:652:30)\n at Object.Module._extensions..j
s (module.js:663:10)\n at Module.load (module.js:565:32)\n at tryModuleLoad (module.js:505:12)\n at Function.Module._load (module.js:497:3)\n at Module.require (module.js:596:17
)\n at require (internal/module.js:11:18)\n at Object. (/usr/odk/lib/model/query/builder.js:13:21)\n at Module._compile (module.js:652:30)\n at Object.Module._extensi
ons..js (module.js:663:10)\n at Module.load (module.js:565:32)\n at tryModuleLoad (module.js:505:12)\n at Function.Module._load (module.js:497:3)\n at Module.require (module.js:
596:17)","code":404.1}
2019-03-31 02:00:03.338+00 | {"success":false,"message":"Could not find the resource you were looking for.","stack":"Error: Could not find the resource you were looking for.\n at Object
.notFound (/usr/odk/lib/util/problem.js:39:3)\n at Object. (/usr/odk/lib/util/promise.js:29:48)\n at Module._compile (module.js:652:30)\n at Object.Module._extensions..j
s (module.js:663:10)\n at Module.load (module.js:565:32)\n at tryModuleLoad (module.js:505:12)\n at Function.Module._load (module.js:497:3)\n at Module.require (module.js:596:17
)\n at require (internal/module.js:11:18)\n at Object. (/usr/odk/lib/model/query/builder.js:13:21)\n at Module._compile (module.js:652:30)\n at Object.Module._extensi
ons..js (module.js:663:10)\n at Module.load (module.js:565:32)\n at tryModuleLoad (module.js:505:12)\n at Function.Module._load (module.js:497:3)\n at Module.require (module.js:
596:17)","code":404.1}
2019-04-01 02:00:02.861+00 | {"success":false,"message":"Could not find the resource you were looking for.","stack":"Error: Could not find the resource you were looking for.\n at Object
.notFound (/usr/odk/lib/util/problem.js:39:3)\n at Object. (/usr/odk/lib/util/promise.js:29:48)\n at Module._compile (module.js:652:30)\n at Object.Module._extensions..j
s (module.js:663:10)\n at Module.load (module.js:565:32)\n at tryModuleLoad (module.js:505:12)\n at Function.Module._load (module.js:497:3)\n at Module.require (module.js:596:17
)\n at require (internal/module.js:11:18)\n at Object. (/usr/odk/lib/model/query/builder.js:13:21)\n at Module._compile (module.js:652:30)\n at Object.Module._extensi
ons..js (module.js:663:10)\n at Module.load (module.js:565:32)\n at tryModuleLoad (module.js:505:12)\n at Function.Module._load (module.js:497:3)\n at Module.require (module.js:
596:17)","code":404.1}
2019-04-02 02:00:03.346+00 | {"success":false,"message":"Could not find the resource you were looking for.","stack":"Error: Could not find the resource you were looking for.\n at Object
.notFound (/usr/odk/lib/util/problem.js:39:3)\n at Object. (/usr/odk/lib/util/promise.js:29:48)\n at Module._compile (module.js:652:30)\n at Object.Module._extensions..j
s (module.js:663:10)\n at Module.load (module.js:565:32)\n at tryModuleLoad (module.js:505:12)\n at Function.Module._load (module.js:497:3)\n at Module.require (module.js:596:17
)\n at require (internal/module.js:11:18)\n at Object. (/usr/odk/lib/model/query/builder.js:13:21)\n at Module._compile (module.js:652:30)\n at Object.Module._extensi
ons..js (module.js:663:10)\n at Module.load (module.js:565:32)\n at tryModuleLoad (module.js:505:12)\n at Function.Module._load (module.js:497:3)\n at Module.require (module.js:
596:17)","code":404.1}
2019-04-03 02:00:03.267+00 | {"success":false,"message":"Could not find the resource you were looking for.","stack":"Error: Could not find the resource you were looking for.\n at Object
.notFound (/usr/odk/lib/util/problem.js:39:3)\n at Object. (/usr/odk/lib/util/promise.js:29:48)\n at Module._compile (module.js:652:30)\n at Object.Module._extensions..j
s (module.js:663:10)\n at Module.load (module.js:565:32)\n at tryModuleLoad (module.js:505:12)\n at Function.Module._load (module.js:497:3)\n at Module.require (module.js:596:17
)\n at require (internal/module.js:11:18)\n at Object. (/usr/odk/lib/model/query/builder.js:13:21)\n at Module._compile (module.js:652:30)\n at Object.Module._extensi
ons..js (module.js:663:10)\n at Module.load (module.js:565:32)\n at tryModuleLoad (module.js:505:12)\n at Function.Module._load (module.js:497:3)\n at Module.require (module.js:
596:17)","code":404.1}
2019-04-04 02:00:12.609+00 | {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n at create (/usr/o
dk/node_modules/googleapis/build/src/apis/drive/v3.js:472:31)\n at create (internal/util.js:230:26)\n at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n at \n at process._tickCallback (internal/process/next_tick.js:188:7)"}
2019-04-05 02:00:03.555+00 | {"success":false,"message":"Could not find the resource you were looking for.","stack":"Error: Could not find the resource you were looking for.\n at Object
.notFound (/usr/odk/lib/util/problem.js:39:3)\n at Object. (/usr/odk/lib/util/promise.js:29:48)\n at Module._compile (module.js:652:30)\n at Object.Module._extensions..j
s (module.js:663:10)\n at Module.load (module.js:565:32)\n at tryModuleLoad (module.js:505:12)\n at Function.Module._load (module.js:497:3)\n at Module.require (module.js:596:17
)\n at require (internal/module.js:11:18)\n at Object. (/usr/odk/lib/model/query/builder.js:13:21)\n at Module._compile (module.js:652:30)\n at Object.Module._extensi
ons..js (module.js:663:10)\n at Module.load (module.js:565:32)\n at tryModuleLoad (module.js:505:12)\n at Function.Module._load (module.js:497:3)\n at Module.require (module.js:
596:17)","code":404.1}
2019-04-06 02:00:10.556+00 | {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n at create (/usr/o
dk/node_modules/googleapis/build/src/apis/drive/v3.js:472:31)\n at create (internal/util.js:230:26)\n at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n at \n at process._tickCallback (internal/process/next_tick.js:188:7)"}
2019-04-07 02:00:10.855+00 | {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n at create (/usr/o
dk/node_modules/googleapis/build/src/apis/drive/v3.js:472:31)\n at create (internal/util.js:230:26)\n at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n at \n at process._tickCallback (internal/process/next_tick.js:188:7)"}
2019-04-08 02:00:10.694+00 | {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n at create (/usr/o
dk/node_modules/googleapis/build/src/apis/drive/v3.js:472:31)\n at create (internal/util.js:230:26)\n at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n at \n at process._tickCallback (internal/process/next_tick.js:188:7)"}
2019-04-09 02:00:10.885+00 | {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n at create (/usr/o
dk/node_modules/googleapis/build/src/apis/drive/v3.js:472:31)\n at create (internal/util.js:230:26)\n at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n at \n at process._tickCallback (internal/process/next_tick.js:188:7)"}
2019-04-10 02:00:12+00 | {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n at create (/usr/o
dk/node_modules/googleapis/build/src/apis/drive/v3.js:472:31)\n at create (internal/util.js:230:26)\n at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n at \n at process._tickCallback (internal/process/next_tick.js:188:7)"}
2019-04-11 02:00:11.358+00 | {"success":false,"message":"Cannot read property 'getRoot' of undefined","stack":"TypeError: Cannot read property 'getRoot' of undefined\n at create (/usr/o
dk/node_modules/googleapis/build/src/apis/drive/v3.js:472:31)\n at create (internal/util.js:230:26)\n at drive.api.files.list.then (/usr/odk/lib/task/google.js:47:45)\n at \n at process._tickCallback (internal/process/next_tick.js:188:7)"}
(42 rows)

0 Likes

#4

okay. i found the problem. thank you so much for your patience.

i have created a patch for you to try. to install it, please do the following:

cd central
cd server
git fetch
git checkout origin/cxlt/fix-fresh-backups
cd ..
docker-compose build service
systemctl restart docker-compose@central

important: if you run the usual "update" steps (git submodule update -i etc) this will uninstall the patch! you can either run the update steps and rerun these ones afterwards, or you can avoid running another update until we actually announce that this backups patch has been formally released.

please give that a try and let me know how it works. thank you again for all the patience.

0 Likes

#5

Thank you @clint very much. It's working well now.

2 Likes

#6

glad to hear it! thanks for reporting the issue.

1 Like

#7

Hi @clint
How can I the back up timing run?

0 Likes

#8

you can't, currently. it runs at 2h server local time. i guess if you change the server's own timezone you could affect what the hour is but i don't think that's a good idea.

what time would you like it to run at?

0 Likes

#9

HI @clint
Currently, it runs at 9:00 AM. I'd like it run at mid night, 1:00 AM. Is there another way to change the back up running time?
image

0 Likes

#10

the only solution i can think of that would work for you this moment is to adjust the timezone of your server.

i don't recommend that you do this.

but if you really have to, you can modify your service.dockerfile as suggested here.

1 Like