perfsonar / psconfig-web

pSConfig Web Admin
Apache License 2.0
7 stars 9 forks source link

Error when using the pwa_auth command #213

Closed Brian-Tehan closed 2 years ago

Brian-Tehan commented 3 years ago

I have installed PWA via RPM and when I get to the user management part of the setup documentation I get the following error when using the pwa_auth listuser command:

[user@nn-lnk-perfsonar ~]$ pwa_auth listuser /etc/perfsonar/psconfig-web/auth/index.js:103 exports.x509 = { ^

SyntaxError: Unexpected token . at createScript (vm.js:56:10) at Object.runInThisContext (vm.js:97:10) at Module._compile (module.js:549:28) at Object.Module._extensions..js (module.js:586:10) at Module.load (module.js:494:32) at tryModuleLoad (module.js:453:12) at Function.Module._load (module.js:445:3) at Module.require (module.js:504:17) at require (internal/module.js:20:19) at Object. (/usr/lib/perfsonar/psconfig-web-admin/auth/bin/auth.js:9:14)

I'm attaching the /etc/perfsonar/psconfig-web/auth/index.js and /usr/lib/perfsonar/psconfig-web-admin/auth/bin/auth.js files as .txt files. I feel that I have misconfigured something. I've gone through the documentation a number of times and am unable to bypass this issue.
auth.txt index.txt