-
Notifications
You must be signed in to change notification settings - Fork 597
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trouble with install on vanilla Ubuntu 16.04 #23
Comments
Hmm, did it just quit directly on [ ------- Starting on local machine, not Docker ------- ]
> [email protected] development /Users/theredrose/Documents/aiva
> mkdir -p ./logs; NODE_ENV=development ./node_modules/forever/bin/forever --minUptime=1000 --spinSleepTime=1000 --killSignal=SIGTERM --uid aiva-development -m 10 -a index.js | tee ./logs/aiva-development.log
[Thu Nov 03 2016 03:10:06 GMT+0000 (UTC)] INFO Authenticated database successfully
[Thu Nov 03 2016 03:10:08 GMT+0000 (UTC)] DEBUG
Sequelize [Node: 6.7.0, CLI: 2.4.0, ORM: 3.24.3]
Loaded configuration file "config/db.json".
Using environment "development".
No migrations were executed, database schema was already up to date.
[Thu Nov 03 2016 03:10:08 GMT+0000 (UTC)] INFO Starting aiva process
[Thu Nov 03 2016 03:10:08 GMT+0000 (UTC)] DEBUG globalConfig {
"BOTNAME": "aivadev",
"PORTS": {
"NGROK": "4040-4041",
"NEO4J": 7476,
"SOCKETIO": 6466,
"SLACK": 8345,
"TELEGRAM": 8443,
"FB": 8545
},
... If so it should still show the database connection failing. Also quite useful reference is the Ubuntu build on CircleCI itself, step by step: |
I have postgres installed and a password configured and added to the db.json Here is the output from npm setup: prisoner@ubuntu:~/aiva$ npm run setup
Nodejs is already installed Sequelize [Node: 6.9.1, CLI: 2.4.0, ORM: 3.24.6] Loaded configuration file "config/db.json". Sequelize [Node: 6.9.1, CLI: 2.4.0, ORM: 3.24.6] Loaded configuration file "config/db.json". Sequelize [Node: 6.9.1, CLI: 2.4.0, ORM: 3.24.6] Loaded configuration file "config/db.json". |
Yep, that output from |
Yeah, I am just copying from the terminal window. prisoner@ubuntu:~/aiva$ npm start --debug
[ ------- Starting on local machine, not Docker ------- ]
[Wed Nov 02 2016 20:28:45 GMT-0700 (PDT)] ERROR |
Got your |
With the Slack token yes. ngrok is not a requirement correct? |
Can u try running |
prisoner@ubuntu:~/aiva$ node index.js |
Lol that got even weirder. Do a |
prisoner@ubuntu:~/aiva$ node -v (I've been banging my head against this for a while...) |
Yep I'm starting to too.
Basically trying to see if it's the db. If it logs something then yep |
Change: prisoner@ubuntu:~/aiva$ npm start --debug
[ ------- Starting on local machine, not Docker ------- ]
[Wed Nov 02 2016 20:55:10 GMT-0700 (PDT)] ERROR |
OMG that's just ridiculous. What bout this:
|
After the change - prisoner@ubuntu:~/aiva$ npm start --debug
[ ------- Starting on local machine, not Docker ------- ]
[Wed Nov 02 2016 21:15:28 GMT-0700 (PDT)] ERROR |
goddammit found the issue. When doing npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) So that causes a module import of Just pushed the fix to the |
Going to bed, if it still blows up lemme know, will look tmr :) |
Very cool. I will do that. Thanks for the help. I have it up and running with the timeout from #21 |
Fresh install on Ubuntu 16.04 keeps failing. Logs are empty.
Any suggestion would be greatly appreciated. I'm at a loss for what my error could be.
[email protected] setup /home/prisoner/aiva
Nodejs is already installed
Python3 is already installed
Reading package lists... Done
Building dependency tree
Reading state information... Done
postgresql is already the newest version (9.5+173).
postgresql-contrib is already the newest version (9.5+173).
The following packages were automatically installed and are no longer required:
libio-string-perl libtimedate-perl
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Postgresql is already started
Pip modules already installed
Npm modules already installed
[Wed Nov 02 2016 09:43:14 GMT-0700 (PDT)] INFO Authenticated database successfully
Sequelize [Node: 6.9.1, CLI: 2.4.0, ORM: 3.24.6]
Loaded configuration file "config/db.json".
Using environment "development".
No migrations were executed, database schema was already up to date.
Sequelize [Node: 6.9.1, CLI: 2.4.0, ORM: 3.24.6]
Loaded configuration file "config/db.json".
Using environment "test".
No migrations were executed, database schema was already up to date.
Sequelize [Node: 6.9.1, CLI: 2.4.0, ORM: 3.24.6]
Loaded configuration file "config/db.json".
Using environment "production".
No migrations were executed, database schema was already up to date.
prisoner@ubuntu:~/aiva$ npm start --debug
[ ------- Starting on local machine, not Docker ------- ]
[Wed Nov 02 2016 09:45:16 GMT-0700 (PDT)] ERROR
error: Forever detected script exited with code: 0
error: Script restart attempt #1
[Wed Nov 02 2016 09:45:17 GMT-0700 (PDT)] ERROR
error: Forever detected script exited with code: 0
error: Script restart attempt #2
[Wed Nov 02 2016 09:45:19 GMT-0700 (PDT)] ERROR
error: Forever detected script exited with code: 0
error: Script restart attempt #3
[Wed Nov 02 2016 09:45:20 GMT-0700 (PDT)] ERROR
error: Forever detected script exited with code: 0
error: Script restart attempt #4
[Wed Nov 02 2016 09:45:21 GMT-0700 (PDT)] ERROR
error: Forever detected script exited with code: 0
error: Script restart attempt #5
[Wed Nov 02 2016 09:45:22 GMT-0700 (PDT)] ERROR
error: Forever detected script exited with code: 0
error: Script restart attempt #6
[Wed Nov 02 2016 09:45:23 GMT-0700 (PDT)] ERROR
error: Forever detected script exited with code: 0
error: Script restart attempt #7
[Wed Nov 02 2016 09:45:24 GMT-0700 (PDT)] ERROR
error: Forever detected script exited with code: 0
error: Script restart attempt #8
[Wed Nov 02 2016 09:45:26 GMT-0700 (PDT)] ERROR
error: Forever detected script exited with code: 0
error: Script restart attempt #9
[Wed Nov 02 2016 09:45:27 GMT-0700 (PDT)] ERROR
error: Forever detected script exited with code: 0
The text was updated successfully, but these errors were encountered: