Picture of Marc Laskowski
Adapt Learning: error during installation process
by Marc Laskowski - Monday, 5 October 2020, 2:09 PM
 

Hello there, 

we currently want to install Adapt Learning on a Ubuntu server, but when running the 'node install' -command, I get two error messages. 

 

Here are some system details:

  • Ubuntu 20.04.1 LTS (GNU/Linux 5.4.0-42-generic x86_64)

  • node version v14.12.0

  • Mongodb version v4.4.1

 

Here the error message (I just pressed enter to use the default values):

We need to configure the tool before install.
Tip: just press ENTER to accept the default value in brackets.
? Server port 5000
? Server name localhost
? Data directory path data
? Git repository URL to be used for the authoring tool source code https://github.com/adaptlearning/adapt_authoring.git
? Git repository URL to be used for the framework source code https://github.com/adaptlearning/adapt_framework.git
? Specific git revision to be used for the framework. Accepts any valid revision type (e.g. branch/tag/commit) tags/v5.7.0
? Master database name adapt-tenant-master
? Will you be using a full database connection URI? (all connection options in the URI) No
? Database host localhost
? Database server port 27017
? Database server user (only specify if using database authentication)
? Database server password (only specify if using database authentication)
? Database server authentication database (only specify if using database authentication)
? Will you be using an SMTP server? (used for sending emails) No
Now we need to configure the master tenant.
Tip: just press ENTER to accept the default value in brackets.


error [05 Oct 20 13:48:08 +00:00] connect ECONNREFUSED 127.0.0.1:27017
error [05 Oct 20 13:48:08 +00:00] failed to set app.db

 

Also, I have another question as I am not familiar with Linux servers: How can I make the tool available for the employees without accessing this server?
For testing purposes, around 4 colleagues needs access to this tool. 

Thank you very much for your help and support. 

Regards,
Marc

Picture of Matt Leathes
Re: Adapt Learning: error during installation process
by Matt Leathes - Monday, 5 October 2020, 2:55 PM
 

Hi Marc

First thing to do would be to try again using the LTS version of Node.js (currently v12.18.4) as that's the one we support.

Picture of Marc Laskowski
Re: Adapt Learning: error during installation process
by Marc Laskowski - Tuesday, 6 October 2020, 9:54 AM
 

Hi Matt, 

I installed the LTE version 12.18.4.

Now when running 'npm install --production' I get an warn message saying 'npm WARN mocha-multi@1.1.3 requires a peer of mocha@>=2.2.0 <7.0.0 but none is installed. You must install peer dependencies yourself'.

Also when running 'node install' I get the same errors as before:

error [06 Oct 20 09:49:48 +00:00] connect ECONNREFUSED 127.0.0.1:27017
error [06 Oct 20 09:49:48 +00:00] failed to set app.db

 

Regards,
Marc