Picture of inma cagliostro
help with adapt_authoring
by inma cagliostro - Monday, 29 June 2015, 3:10 AM
 

Greetings to forum and THX for advance :)

 

I just install adapt_framework on my Mac, all was great with permission and just seeing the final webpage welcome, all great till now.

 

The problems starting with adapt_authoring, after clone the files into a folder run “npm install” command long waiting and log and after i run “node install” the strange comes when terminal say to adapt framework was not found, and start to cloning it in auto mode, then ask me for the questions and when comes with master questions stop and no more news

 

what im wrong doing? 

 

OMG i really love to play with authoring because design a course with code only becomes hard i see

 

pls any help there?

 

many many thanks 

 

i used also the “sudo chown -R $USER /usr/local” run after install

 

i did after all a folder called ADAPT into my desktop for to get more accesible files, into the two folders adapt_framework and second adapt_authoring, maybe did wrong with this? may put all both in same folder maybe?

 

this is my last log

 

Successfully installed Adapt framework plugins.

You will now be prompted to set configuration items. Just press enter to accept the default.

> Server port (5000) 

> Server name (localhost) 

> Choose your database driver type (enter a number)

1. mongoose

 (1) 1

> Database host (localhost) 

> Master database name (adapt-tenant-master) inma

> Database server port (27017) 

> Data directory path (data) 

> Session secret (your-session-secret) 

> Choose your authentication method (enter a number)

1. local

 (1) 1441

error:   Invalid input for Choose your authentication method (enter a number)

1. local

 

> Choose your authentication method (enter a number)

1. local

 (1) 1

> Will ffmpeg be used? y/N (N) y

> Which SMTP service (if any) will be used? (see https://github.com/andris9/nodemailer-wellknown#supported-services for a list of supported services.) (none) 

> SMTP username 

> SMTP password 

> Sender email address inmacagliostro@gmail.com

> Which output plugin will be used? (adapt) 

Checking configuration, please wait a moment ... 

(node) warning: possible EventEmitter memory leak detected. 11 serverStarted listeners added. Use emitter.setMaxListeners() to increase limit.

Trace

    at Origin.addListener (events.js:179:15)

    at Origin.once (events.js:204:8)

    at initialize (/Users/23monalisas/Desktop/ADAPT/adapt_authoring/plugins/content/menu/index.js:96:7)

    at Object.<anonymous> (/Users/23monalisas/Desktop/ADAPT/adapt_authoring/plugins/content/menu/index.js:156:1)

    at Module._compile (module.js:460:26)

    at Object.Module._extensions..js (module.js:478:10)

    at Module.load (module.js:355:32)

    at Function.Module._load (module.js:310:12)

    at Module.require (module.js:365:17)

    at require (module.js:384:17)

events.js:85

      throw er; // Unhandled 'error' event

            ^

Error: listen EADDRINUSE

    at exports._errnoException (util.js:746:11)

    at Server._listen2 (net.js:1156:14)

    at listen (net.js:1182:10)

    at Server.listen (net.js:1267:5)

    at /Users/23monalisas/Desktop/ADAPT/adapt_authoring/lib/application.js:328:34

    at /Users/23monalisas/Desktop/ADAPT/adapt_authoring/lib/application.js:300:12

    at /Users/23monalisas/Desktop/ADAPT/adapt_authoring/lib/database.js:451:14

    at /Users/23monalisas/Desktop/ADAPT/adapt_authoring/lib/database.js:382:16

    at /Users/23monalisas/Desktop/ADAPT/adapt_authoring/node_modules/async/lib/async.js:131:25

    at /Users/23monalisas/Desktop/ADAPT/adapt_authoring/lib/contentmanager.js:1473:9

    at /Users/23monalisas/Desktop/ADAPT/adapt_authoring/node_modules/async/lib/async.js:131:25

    at /Users/23monalisas/Desktop/ADAPT/adapt_authoring/plugins/content/bower/index.js:123:14

    at fs.js:334:14

    at /Users/23monalisas/Desktop/ADAPT/adapt_authoring/node_modules/bower/node_modules/bower-config/node_modules/graceful-fs/graceful-fs.js:104:5

    at FSReqWrap.oncomplete (fs.js:95:15)

iMac-de-23monalisas:adapt_authoring 23monalisas$ node server

info: [29 Jun 2015 05:07:39 +02:00] configuration loaded from /Users/23monalisas/Desktop/ADAPT/adapt_authoring/conf/config.json 

(node) warning: possible EventEmitter memory leak detected. 11 serverStarted listeners added. Use emitter.setMaxListeners() to increase limit.

Trace

    at Origin.addListener (events.js:179:15)

    at initialize (/Users/23monalisas/Desktop/ADAPT/adapt_authoring/plugins/content/tag/index.js:73:7)

    at Object.<anonymous> (/Users/23monalisas/Desktop/ADAPT/adapt_authoring/plugins/content/tag/index.js:109:1)

    at Module._compile (module.js:460:26)

    at Object.Module._extensions..js (module.js:478:10)

    at Module.load (module.js:355:32)

    at Function.Module._load (module.js:310:12)

    at Module.require (module.js:365:17)

    at require (module.js:384:17)

    at /Users/23monalisas/Desktop/ADAPT/adapt_authoring/lib/contentmanager.js:513:27

error: [29 Jun 2015 05:07:39 +02:00] Error: failed to connect to [localhost:27017] 

error: [29 Jun 2015 05:07:39 +02:00] Database Connection failed, please check your database 

events.js:85

      throw er; // Unhandled 'error' event

            ^

Error: listen EADDRINUSE

    at exports._errnoException (util.js:746:11)

    at Server._listen2 (net.js:1156:14)

    at listen (net.js:1182:10)

    at Server.listen (net.js:1267:5)

    at /Users/23monalisas/Desktop/ADAPT/adapt_authoring/lib/application.js:328:34

    at /Users/23monalisas/Desktop/ADAPT/adapt_authoring/lib/application.js:300:12

    at /Users/23monalisas/Desktop/ADAPT/adapt_authoring/lib/database.js:451:14

    at /Users/23monalisas/Desktop/ADAPT/adapt_authoring/lib/database.js:382:16

    at /Users/23monalisas/Desktop/ADAPT/adapt_authoring/node_modules/async/lib/async.js:131:25

    at /Users/23monalisas/Desktop/ADAPT/adapt_authoring/lib/contentmanager.js:1473:9

    at /Users/23monalisas/Desktop/ADAPT/adapt_authoring/node_modules/async/lib/async.js:131:25

    at /Users/23monalisas/Desktop/ADAPT/adapt_authoring/plugins/content/bower/index.js:123:14

    at fs.js:334:14

    at /Users/23monalisas/Desktop/ADAPT/adapt_authoring/node_modules/bower/node_modules/bower-config/node_modules/graceful-fs/graceful-fs.js:104:5

    at FSReqWrap.oncomplete (fs.js:95:15)

iMac-de-23monalisas:adapt_authoring 23monalisas$ 

 

 

Picture of Brian Quinn
Re: help with adapt_authoring
by Brian Quinn - Monday, 6 July 2015, 2:53 PM
 

The log file indicates a couple of possible issues:

1. You have something else already running on the port you're trying to run the authoring tool on.

2. You're using a version of NodeJS which is not support (possibly 0.12).

Regards,

Brian