Picture of James Brown
New Install error
by James Brown - Friday, 9 February 2024, 1:08 PM
 

I am stuck here. Everything runs smoothly until the configuration part. Installing on admin account, NodeJS 18, MongoDB 6.0, Git 2.4.2 and  running MongoDB Compass connected to localhost:27017. Installing the latest version of the authoring tool.  Am i missing anything?

 

Administrator@DESKTOP-7L76AF9 MINGW64 /c/adapt_24/adapt_authoring (master)
$ node install

This script will install the application.
Would you like to continue?
? Continue? Yes

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.35.7
? 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.

(node:40112) Warning: Accessing non-existent property 'count' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:40112) Warning: Accessing non-existent property 'findOne' of module exports inside circular dependency
(node:40112) Warning: Accessing non-existent property 'remove' of module exports inside circular dependency
(node:40112) Warning: Accessing non-existent property 'updateOne' of module exports inside circular dependency
error [09 Feb 24 15:02:43 +02:00] Server selection timed out after 30000 ms
error [09 Feb 24 15:02:43 +02:00] failed to set app.db

Administrator@DESKTOP-7L76AF9 MINGW64 /c/adapt_24/adapt_authoring (master)

Picture of Oliver Foster
Re: New Install error
by Oliver Foster - Friday, 9 February 2024, 2:40 PM
 

Did you do `npm install` or `npm install --production`?

There are some submodules which must be fixed at their package-lock version I believe.

Picture of James Brown
Re: New Install error - solved
by James Brown - Friday, 9 February 2024, 4:43 PM
 

I deleted everything and started again. Ran perfect and I have a fully working installation. 

I have put together an installation guide for dummies - happy to share.

 

Picture of Oliver Foster
Re: New Install error - solved
by Oliver Foster - Friday, 9 February 2024, 6:10 PM
 

Excellent. 

 

Go ahead and post the directions below.

Picture of Stephen Harlow
Re: New Install error - solved
by Stephen Harlow - Saturday, 23 March 2024, 9:56 AM
 

Please do share James.