Hi @issa,
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)