Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- username@localhost:~/nodebb$ git fetch
- remote: Counting objects: 13566, done.
- remote: Compressing objects: 100% (22/22), done.
- remote: Total 13566 (delta 3262), reused 3256 (delta 3255), pack-reused 10289
- Receiving objects: 100% (13566/13566), 3.64 MiB | 156.00 KiB/s, done.
- Resolving deltas: 100% (10481/10481), completed with 683 local objects.
- From https://github.com/NodeBB/NodeBB
- + accee7d...a1f49f6 v0.6.x -> origin/v0.6.x (forced update)
- * [new branch] ajaxify-cache -> origin/ajaxify-cache
- * [new branch] ajaxify-render -> origin/ajaxify-render
- 02e0d46..9dece4a categories_revamp -> origin/categories_revamp
- * [new branch] composer-mobile -> origin/composer-mobile
- * [new branch] composer-redesign -> origin/composer-redesign
- a8acb52..40c9274 disney -> origin/disney
- * [new branch] group-manage-revamp -> origin/group-manage-revamp
- * [new branch] grunt-dev -> origin/grunt-dev
- 21522e5..29c9b2e master -> origin/master
- * [new branch] omgbower -> origin/omgbower
- * [new branch] persona -> origin/persona
- * [new branch] rewards -> origin/rewards
- * [new branch] sortable-menu -> origin/sortable-menu
- * [new branch] topic-priv-refactor -> origin/topic-priv-refactor
- * [new branch] upstart-compat -> origin/upstart-compat
- * [new branch] v0.7.x -> origin/v0.7.x
- + d056523...a9015ce web-install -> origin/web-install (forced update)
- * [new branch] webworkers -> origin/webworkers
- * [new tag] v0.7.0 -> v0.7.0
- * [new tag] v0.6.1 -> v0.6.1
- username@localhost:~/nodebb$ git checkout v0.7.x
- M public/favicon.ico
- Branch v0.7.x set up to track remote branch v0.7.x from origin.
- Switched to a new branch 'v0.7.x'
- username@localhost:~/nodebb$ git merge origin/v0.7.x
- Already up-to-date.
- username@localhost:~/nodebb$ git pull
- Already up-to-date.
- username@localhost:~/nodebb$ ./nodebb start
- Starting NodeBB
- "./nodebb stop" to stop the NodeBB server
- "./nodebb log" to view server output
- username@localhost:~/nodebb$ ./nodebb log
- This program comes with ABSOLUTELY NO WARRANTY.
- This is free software, and you are welcome to redistribute it under certain conditions.
- For the full license, please visit: http://www.gnu.org/copyleft/gpl.html
- Clustering enabled: Spinning up 1 process(es).
- 15/6 10:33 [12272] - info: Time: Mon Jun 15 2015 10:33:20 GMT+0500 (TJT)
- 15/6 10:33 [12272] - info: Initializing NodeBB v0.7.0
- 15/6 10:33 [12272] - error: Unable to initialize Redis! Is Redis installed? Error :Cannot find module 'redisearch'
- [cluster] Child Process (12272) has exited (code: 0, signal: null)
- username@localhost:~/nodebb$ npm i redisearch
- npm WARN package.json nodebb-plugin-dbsearch@0.1.0 No repository field.
- npm WARN package.json reds@0.2.4 No repository field.
- npm http GET https://registry.npmjs.org/redisearch/-/redisearch-0.0.4.tgz
- npm http 200 https://registry.npmjs.org/redisearch/-/redisearch-0.0.4.tgz
- npm http GET https://registry.npmjs.org/redis
- npm http GET https://registry.npmjs.org/natural
- npm http 200 https://registry.npmjs.org/redis
- npm http GET https://registry.npmjs.org/redis/-/redis-0.12.1.tgz
- npm http 200 https://registry.npmjs.org/natural
- npm http GET https://registry.npmjs.org/natural/-/natural-0.2.1.tgz
- npm http 200 https://registry.npmjs.org/redis/-/redis-0.12.1.tgz
- npm http 200 https://registry.npmjs.org/natural/-/natural-0.2.1.tgz
- npm http GET https://registry.npmjs.org/sylvester
- npm http GET https://registry.npmjs.org/apparatus
- npm http 200 https://registry.npmjs.org/sylvester
- npm http GET https://registry.npmjs.org/sylvester/-/sylvester-0.0.21.tgz
- npm http 200 https://registry.npmjs.org/apparatus
- npm http GET https://registry.npmjs.org/apparatus/-/apparatus-0.0.9.tgz
- npm http 200 https://registry.npmjs.org/sylvester/-/sylvester-0.0.21.tgz
- npm http 200 https://registry.npmjs.org/apparatus/-/apparatus-0.0.9.tgz
- redisearch@0.0.4 node_modules/redisearch
- ├── redis@0.12.1
- └── natural@0.2.1 (apparatus@0.0.9, sylvester@0.0.21)
- username@localhost:~/nodebb$ ./nodebb start
- Starting NodeBB
- "./nodebb stop" to stop the NodeBB server
- "./nodebb log" to view server output
- username@localhost:~/nodebb$ ./nodebb log
- This is free software, and you are welcome to redistribute it under certain conditions.
- For the full license, please visit: http://www.gnu.org/copyleft/gpl.html
- Clustering enabled: Spinning up 1 process(es).
- 15/6 10:35 [12403] - info: Time: Mon Jun 15 2015 10:35:36 GMT+0500 (TJT)
- 15/6 10:35 [12403] - info: Initializing NodeBB v0.7.0
- Warning: Redis server does not require a password, but a password was supplied.
- 15/6 10:35 [12403] - error: Your Redis version is not new enough to support NodeBB, please upgrade Redis to v2.8.9 or higher.
- [cluster] Child Process (12403) has exited (code: 0, signal: null)
- username@localhost:~/nodebb$ dpkg -l | grep redis
- ii redis-server 2:2.8.4-2 amd64 Persistent key-value database with network interface
- ii redis-tools 2:2.8.4-2 amd64 Persistent key-value database with network interface (client)
- username@localhost:~/nodebb$ sudo add-apt-repository ppa:chris-lea/redis-server
- Redis is an open source, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.
- More info: https://launchpad.net/~chris-lea/+archive/ubuntu/redis-server
- Press [ENTER] to continue or ctrl-c to cancel adding it
- gpg: keyring `/tmp/tmplds8s3zh/secring.gpg' created
- gpg: keyring `/tmp/tmplds8s3zh/pubring.gpg' created
- gpg: requesting key C7917B12 from hkp server keyserver.ubuntu.com
- gpg: /tmp/tmplds8s3zh/trustdb.gpg: trustdb created
- gpg: key C7917B12: public key "Launchpad chrislea" imported
- gpg: Total number processed: 1
- gpg: imported: 1 (RSA: 1)
- OK
- username@localhost:~/nodebb$ sudo apt-get update
- Ign http://ppa.launchpad.net trusty InRelease
- Ign http://security.ubuntu.com trusty-security InRelease
- ...
- ...
- Fetched 2,100 kB in 57s (36.7 kB/s)
- Reading package lists... Done
- username@localhost:~/nodebb$ sudo apt-get upgrade
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- Calculating upgrade... Done
- The following packages have been kept back:
- linux-generic linux-headers-generic linux-image-generic
- The following packages will be upgraded:
- libjemalloc1 redis-server redis-tools
- 3 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
- Need to get 485 kB of archives.
- After this operation, 155 kB of additional disk space will be used.
- Do you want to continue? [Y/n] Y
- Get:1 http://ppa.launchpad.net/chris-lea/redis-server/ubuntu/ trusty/main libjemalloc1 amd64 3.6.0-1chl1~trusty1 [77.2 kB]
- Get:2 http://ppa.launchpad.net/chris-lea/redis-server/ubuntu/ trusty/main redis-server amd64 3:3.0.2-1chl1~trusty1 [329 kB]
- Get:3 http://ppa.launchpad.net/chris-lea/redis-server/ubuntu/ trusty/main redis-tools amd64 3:3.0.2-1chl1~trusty1 [79.7 kB]
- Fetched 485 kB in 2s (167 kB/s)
- (Reading database ... 66275 files and directories currently installed.)
- Preparing to unpack .../libjemalloc1_3.6.0-1chl1~trusty1_amd64.deb ...
- Unpacking libjemalloc1 (3.6.0-1chl1~trusty1) over (3.5.1-2) ...
- Preparing to unpack .../redis-server_3%3a3.0.2-1chl1~trusty1_amd64.deb ...
- Stopping redis-server: redis-server.
- Unpacking redis-server (3:3.0.2-1chl1~trusty1) over (2:2.8.4-2) ...
- Preparing to unpack .../redis-tools_3%3a3.0.2-1chl1~trusty1_amd64.deb ...
- Unpacking redis-tools (3:3.0.2-1chl1~trusty1) over (2:2.8.4-2) ...
- Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
- Processing triggers for ureadahead (0.100.0-16) ...
- Setting up libjemalloc1 (3.6.0-1chl1~trusty1) ...
- Setting up redis-tools (3:3.0.2-1chl1~trusty1) ...
- Setting up redis-server (3:3.0.2-1chl1~trusty1) ...
- Installing new version of config file /etc/redis/redis.conf ...
- Starting redis-server: redis-server.
- Processing triggers for libc-bin (2.19-0ubuntu6.6) ...
- username@localhost:~/nodebb$ ./nodebb start
- Starting NodeBB
- "./nodebb stop" to stop the NodeBB server
- "./nodebb log" to view server output
- username@localhost:~/nodebb$ ./nodebb log
- at Function.Module._load (module.js:280:25)
- at Module.require (module.js:364:17)
- at require (module.js:380:17)
- at Object.<anonymous> (/home/username/nodebb/src/file.js:7:12)
- at Module._compile (module.js:456:26)
- at Object.Module._extensions..js (module.js:474:10)
- at Module.load (module.js:356:32)
- at Function.Module._load (module.js:312:12)
- at Module.require (module.js:364:17)
- 3 restarts in 10 seconds, most likely an error on startup. Halting.
- username@localhost:~/nodebb$ sudo apt-get install nodejs
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- nodejs is already the newest version.
- 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
- username@localhost:~/nodebb$ npm install
- [ some NPM installation lines here ]
- username@localhost:~/nodebb$ ./nodebb start
- Starting NodeBB
- "./nodebb stop" to stop the NodeBB server
- "./nodebb log" to view server output
- username@localhost:~/nodebb$ ./nodebb log
- NodeBB v0.7.0 Copyright (C) 2013-2014 NodeBB Inc.
- This program comes with ABSOLUTELY NO WARRANTY.
- This is free software, and you are welcome to redistribute it under certain conditions.
- For the full license, please visit: http://www.gnu.org/copyleft/gpl.html
- Clustering enabled: Spinning up 1 process(es).
- 15/6 10:46 [14140] - info: Time: Mon Jun 15 2015 10:46:38 GMT+0500 (TJT)
- 15/6 10:46 [14140] - info: Initializing NodeBB v0.7.0
- Warning: Redis server does not require a password, but a password was supplied.
- Warning: Redis server does not require a password, but a password was supplied.
- Warning: Redis server does not require a password, but a password was supplied.
- 15/6 10:46 [14140] - warn: Your NodeBB schema is out-of-date. Please run the following command to bring your dataset up to spec:
- 15/6 10:46 [14140] - warn: ./nodebb upgrade
- [cluster] Child Process (14140) has exited (code: 0, signal: null)
- username@localhost:~/nodebb$ ./nodebb upgrade
- [ Bunch of NPM installation stuff ]
- 15/6 10:48 [14173] - info: NodeBB v0.7.0 Copyright (C) 2013-2014 NodeBB Inc.
- 15/6 10:48 [14173] - info: This program comes with ABSOLUTELY NO WARRANTY.
- 15/6 10:48 [14173] - info: This is free software, and you are welcome to redistribute it under certain conditions.
- 15/6 10:48 [14173] - info:
- Warning: Redis server does not require a password, but a password was supplied.
- Warning: Redis server does not require a password, but a password was supplied.
- Warning: Redis server does not require a password, but a password was supplied.
- 15/6 10:48 [14173] - info: Beginning database schema update
- 15/6 10:48 [14173] - error: [upgrade] NodeBB upgrade could not complete, as your database schema is too far out of date.
- 15/6 10:48 [14173] - error: [upgrade] Please ensure that you did not skip any minor version upgrades.
- 15/6 10:48 [14173] - error: [upgrade] (e.g. v0.1.x directly to v0.3.x)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement