Picture of Andy Muir
Install Help - Centos 7
by Andy Muir - Monday, 5 November 2018, 4:45 PM
 

Hi All

I am trying to install for the first time on a Centos VPS. Im not very familiar working on command line OS but I followed the wiki step by step and everything seemed to install correctly. 

 

However when I try to start the server I get the following error:

node server
info: [05 Nov 2018 16:42:50 +00:00] configuration loaded from /root/adapt_authoring/conf/config.json
info: [05 Nov 2018 16:42:50 +00:00] Supporting the following authentication types:
info: [05 Nov 2018 16:42:50 +00:00] - local
error: [05 Nov 2018 16:42:50 +00:00] Check for updates failed, Error: Cannot determine framework version
Error: /root/adapt_authoring/temp/adapt_framework/package.json: ENOENT: no such file or directory, open '/root/adapt_authoring/temp/adapt_framework/package.json'
(node:1666) DeprecationWarning: current URL string parser is deprecated, and will be removed in a future version. To use the new parser, pass option { useNewUrlParser: true } to MongoClient.connect.
error: [05 Nov 2018 16:42:51 +00:00] MongoError: Authentication failed.
info: [05 Nov 2018 16:42:51 +00:00] error creating server [Authentication failed.]

 

When I ls in the adapt_authoring directory, there is no temp directory.

 

Anyone able to point me to where I might be going wrong?

Thanks

Andy

Picture of Andy Muir
Re: Install Help - Centos 7
by Andy Muir - Monday, 5 November 2018, 6:05 PM
 

OK, figured it out. When you run node install and progress through the settings, i left the database username and password blank and it worked