Advertisement
Guest User

Untitled

a guest
Jun 15th, 2015
474
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 11.26 KB | None | 0 0
  1. username@localhost:~/nodebb$ git fetch
  2. remote: Counting objects: 13566, done.
  3. remote: Compressing objects: 100% (22/22), done.
  4. remote: Total 13566 (delta 3262), reused 3256 (delta 3255), pack-reused 10289
  5. Receiving objects: 100% (13566/13566), 3.64 MiB | 156.00 KiB/s, done.
  6. Resolving deltas: 100% (10481/10481), completed with 683 local objects.
  7. From https://github.com/NodeBB/NodeBB
  8.  + accee7d...a1f49f6 v0.6.x     -> origin/v0.6.x  (forced update)
  9.  * [new branch]      ajaxify-cache -> origin/ajaxify-cache
  10.  * [new branch]      ajaxify-render -> origin/ajaxify-render
  11.    02e0d46..9dece4a  categories_revamp -> origin/categories_revamp
  12.  * [new branch]      composer-mobile -> origin/composer-mobile
  13.  * [new branch]      composer-redesign -> origin/composer-redesign
  14.    a8acb52..40c9274  disney     -> origin/disney
  15.  * [new branch]      group-manage-revamp -> origin/group-manage-revamp
  16.  * [new branch]      grunt-dev  -> origin/grunt-dev
  17.    21522e5..29c9b2e  master     -> origin/master
  18.  * [new branch]      omgbower   -> origin/omgbower
  19.  * [new branch]      persona    -> origin/persona
  20.  * [new branch]      rewards    -> origin/rewards
  21.  * [new branch]      sortable-menu -> origin/sortable-menu
  22.  * [new branch]      topic-priv-refactor -> origin/topic-priv-refactor
  23.  * [new branch]      upstart-compat -> origin/upstart-compat
  24.  * [new branch]      v0.7.x     -> origin/v0.7.x
  25.  + d056523...a9015ce web-install -> origin/web-install  (forced update)
  26.  * [new branch]      webworkers -> origin/webworkers
  27.  * [new tag]         v0.7.0     -> v0.7.0
  28.  * [new tag]         v0.6.1     -> v0.6.1
  29.  
  30.  
  31.  
  32. username@localhost:~/nodebb$ git checkout v0.7.x
  33. M   public/favicon.ico
  34. Branch v0.7.x set up to track remote branch v0.7.x from origin.
  35. Switched to a new branch 'v0.7.x'
  36.  
  37.  
  38.  
  39. username@localhost:~/nodebb$ git merge origin/v0.7.x
  40. Already up-to-date.
  41.  
  42.  
  43.  
  44. username@localhost:~/nodebb$ git pull
  45. Already up-to-date.
  46.  
  47.  
  48.  
  49. username@localhost:~/nodebb$ ./nodebb start
  50. Starting NodeBB
  51.   "./nodebb stop" to stop the NodeBB server
  52.   "./nodebb log" to view server output
  53.  
  54.  
  55.  
  56. username@localhost:~/nodebb$ ./nodebb log
  57.  
  58. This program comes with ABSOLUTELY NO WARRANTY.
  59. This is free software, and you are welcome to redistribute it under certain conditions.
  60. For the full license, please visit: http://www.gnu.org/copyleft/gpl.html
  61.  
  62. Clustering enabled: Spinning up 1 process(es).
  63.  
  64. 15/6 10:33 [12272] - info: Time: Mon Jun 15 2015 10:33:20 GMT+0500 (TJT)
  65. 15/6 10:33 [12272] - info: Initializing NodeBB v0.7.0
  66. 15/6 10:33 [12272] - error: Unable to initialize Redis! Is Redis installed? Error :Cannot find module 'redisearch'
  67. [cluster] Child Process (12272) has exited (code: 0, signal: null)
  68.  
  69.  
  70.  
  71. username@localhost:~/nodebb$ npm i redisearch
  72. npm WARN package.json nodebb-plugin-dbsearch@0.1.0 No repository field.
  73. npm WARN package.json reds@0.2.4 No repository field.
  74. npm http GET https://registry.npmjs.org/redisearch/-/redisearch-0.0.4.tgz
  75. npm http 200 https://registry.npmjs.org/redisearch/-/redisearch-0.0.4.tgz
  76. npm http GET https://registry.npmjs.org/redis
  77. npm http GET https://registry.npmjs.org/natural
  78. npm http 200 https://registry.npmjs.org/redis
  79. npm http GET https://registry.npmjs.org/redis/-/redis-0.12.1.tgz
  80. npm http 200 https://registry.npmjs.org/natural
  81. npm http GET https://registry.npmjs.org/natural/-/natural-0.2.1.tgz
  82. npm http 200 https://registry.npmjs.org/redis/-/redis-0.12.1.tgz
  83. npm http 200 https://registry.npmjs.org/natural/-/natural-0.2.1.tgz
  84. npm http GET https://registry.npmjs.org/sylvester
  85. npm http GET https://registry.npmjs.org/apparatus
  86. npm http 200 https://registry.npmjs.org/sylvester
  87. npm http GET https://registry.npmjs.org/sylvester/-/sylvester-0.0.21.tgz
  88. npm http 200 https://registry.npmjs.org/apparatus
  89. npm http GET https://registry.npmjs.org/apparatus/-/apparatus-0.0.9.tgz
  90. npm http 200 https://registry.npmjs.org/sylvester/-/sylvester-0.0.21.tgz
  91. npm http 200 https://registry.npmjs.org/apparatus/-/apparatus-0.0.9.tgz
  92. redisearch@0.0.4 node_modules/redisearch
  93. ├── redis@0.12.1
  94. └── natural@0.2.1 (apparatus@0.0.9, sylvester@0.0.21)
  95.  
  96.  
  97.  
  98. username@localhost:~/nodebb$ ./nodebb start
  99. Starting NodeBB
  100.   "./nodebb stop" to stop the NodeBB server
  101.   "./nodebb log" to view server output
  102.  
  103.  
  104.  
  105. username@localhost:~/nodebb$ ./nodebb log
  106.  
  107.  
  108. This is free software, and you are welcome to redistribute it under certain conditions.
  109. For the full license, please visit: http://www.gnu.org/copyleft/gpl.html
  110.  
  111. Clustering enabled: Spinning up 1 process(es).
  112.  
  113. 15/6 10:35 [12403] - info: Time: Mon Jun 15 2015 10:35:36 GMT+0500 (TJT)
  114. 15/6 10:35 [12403] - info: Initializing NodeBB v0.7.0
  115. Warning: Redis server does not require a password, but a password was supplied.
  116. 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.
  117. [cluster] Child Process (12403) has exited (code: 0, signal: null)
  118.  
  119.  
  120.  
  121. username@localhost:~/nodebb$ dpkg -l | grep redis
  122. ii  redis-server                        2:2.8.4-2                           amd64        Persistent key-value database with network interface
  123. ii  redis-tools                         2:2.8.4-2                           amd64        Persistent key-value database with network interface (client)
  124.  
  125.  
  126.  
  127. username@localhost:~/nodebb$ sudo add-apt-repository ppa:chris-lea/redis-server
  128.  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.
  129.  More info: https://launchpad.net/~chris-lea/+archive/ubuntu/redis-server
  130. Press [ENTER] to continue or ctrl-c to cancel adding it
  131.  
  132. gpg: keyring `/tmp/tmplds8s3zh/secring.gpg' created
  133. gpg: keyring `/tmp/tmplds8s3zh/pubring.gpg' created
  134. gpg: requesting key C7917B12 from hkp server keyserver.ubuntu.com
  135. gpg: /tmp/tmplds8s3zh/trustdb.gpg: trustdb created
  136. gpg: key C7917B12: public key "Launchpad chrislea" imported
  137. gpg: Total number processed: 1
  138. gpg:               imported: 1  (RSA: 1)
  139. OK
  140.  
  141.  
  142.  
  143. username@localhost:~/nodebb$ sudo apt-get update
  144. Ign http://ppa.launchpad.net trusty InRelease                      
  145. Ign http://security.ubuntu.com trusty-security InRelease            
  146. ...
  147. ...
  148. Fetched 2,100 kB in 57s (36.7 kB/s)                                            
  149. Reading package lists... Done
  150.  
  151.  
  152.  
  153. username@localhost:~/nodebb$ sudo apt-get upgrade
  154. Reading package lists... Done
  155. Building dependency tree      
  156. Reading state information... Done
  157. Calculating upgrade... Done
  158. The following packages have been kept back:
  159.   linux-generic linux-headers-generic linux-image-generic
  160. The following packages will be upgraded:
  161.   libjemalloc1 redis-server redis-tools
  162. 3 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
  163. Need to get 485 kB of archives.
  164. After this operation, 155 kB of additional disk space will be used.
  165. Do you want to continue? [Y/n] Y
  166. Get:1 http://ppa.launchpad.net/chris-lea/redis-server/ubuntu/ trusty/main libjemalloc1 amd64 3.6.0-1chl1~trusty1 [77.2 kB]
  167. Get:2 http://ppa.launchpad.net/chris-lea/redis-server/ubuntu/ trusty/main redis-server amd64 3:3.0.2-1chl1~trusty1 [329 kB]
  168. 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]
  169. Fetched 485 kB in 2s (167 kB/s)  
  170. (Reading database ... 66275 files and directories currently installed.)
  171. Preparing to unpack .../libjemalloc1_3.6.0-1chl1~trusty1_amd64.deb ...
  172. Unpacking libjemalloc1 (3.6.0-1chl1~trusty1) over (3.5.1-2) ...
  173. Preparing to unpack .../redis-server_3%3a3.0.2-1chl1~trusty1_amd64.deb ...
  174. Stopping redis-server: redis-server.
  175. Unpacking redis-server (3:3.0.2-1chl1~trusty1) over (2:2.8.4-2) ...
  176. Preparing to unpack .../redis-tools_3%3a3.0.2-1chl1~trusty1_amd64.deb ...
  177. Unpacking redis-tools (3:3.0.2-1chl1~trusty1) over (2:2.8.4-2) ...
  178. Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
  179. Processing triggers for ureadahead (0.100.0-16) ...
  180. Setting up libjemalloc1 (3.6.0-1chl1~trusty1) ...
  181. Setting up redis-tools (3:3.0.2-1chl1~trusty1) ...
  182. Setting up redis-server (3:3.0.2-1chl1~trusty1) ...
  183. Installing new version of config file /etc/redis/redis.conf ...
  184. Starting redis-server: redis-server.
  185. Processing triggers for libc-bin (2.19-0ubuntu6.6) ...
  186.  
  187.  
  188.  
  189. username@localhost:~/nodebb$ ./nodebb start
  190. Starting NodeBB
  191.   "./nodebb stop" to stop the NodeBB server
  192.   "./nodebb log" to view server output
  193.  
  194.  
  195.  
  196. username@localhost:~/nodebb$ ./nodebb log
  197.  
  198.     at Function.Module._load (module.js:280:25)
  199.     at Module.require (module.js:364:17)
  200.     at require (module.js:380:17)
  201.     at Object.<anonymous> (/home/username/nodebb/src/file.js:7:12)
  202.     at Module._compile (module.js:456:26)
  203.     at Object.Module._extensions..js (module.js:474:10)
  204.     at Module.load (module.js:356:32)
  205.     at Function.Module._load (module.js:312:12)
  206.     at Module.require (module.js:364:17)
  207. 3 restarts in 10 seconds, most likely an error on startup. Halting.
  208.  
  209.  
  210.  
  211. username@localhost:~/nodebb$ sudo apt-get install nodejs
  212. Reading package lists... Done
  213. Building dependency tree      
  214. Reading state information... Done
  215. nodejs is already the newest version.
  216. 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
  217.  
  218.  
  219.  
  220. username@localhost:~/nodebb$ npm install
  221.   [ some NPM installation lines here ]
  222.  
  223.  
  224.  
  225.  
  226. username@localhost:~/nodebb$ ./nodebb start
  227.  
  228. Starting NodeBB
  229.   "./nodebb stop" to stop the NodeBB server
  230.   "./nodebb log" to view server output
  231.  
  232.  
  233.  
  234. username@localhost:~/nodebb$ ./nodebb log
  235.  
  236. NodeBB v0.7.0 Copyright (C) 2013-2014 NodeBB Inc.
  237. This program comes with ABSOLUTELY NO WARRANTY.
  238. This is free software, and you are welcome to redistribute it under certain conditions.
  239. For the full license, please visit: http://www.gnu.org/copyleft/gpl.html
  240.  
  241. Clustering enabled: Spinning up 1 process(es).
  242.  
  243. 15/6 10:46 [14140] - info: Time: Mon Jun 15 2015 10:46:38 GMT+0500 (TJT)
  244. 15/6 10:46 [14140] - info: Initializing NodeBB v0.7.0
  245. Warning: Redis server does not require a password, but a password was supplied.
  246. Warning: Redis server does not require a password, but a password was supplied.
  247. Warning: Redis server does not require a password, but a password was supplied.
  248. 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:
  249. 15/6 10:46 [14140] - warn:     ./nodebb upgrade
  250. [cluster] Child Process (14140) has exited (code: 0, signal: null)
  251.  
  252.  
  253.  
  254. username@localhost:~/nodebb$ ./nodebb upgrade
  255.   [ Bunch of NPM installation stuff ]
  256.  
  257. 15/6 10:48 [14173] - info: NodeBB v0.7.0 Copyright (C) 2013-2014 NodeBB Inc.
  258. 15/6 10:48 [14173] - info: This program comes with ABSOLUTELY NO WARRANTY.
  259. 15/6 10:48 [14173] - info: This is free software, and you are welcome to redistribute it under certain conditions.
  260. 15/6 10:48 [14173] - info:
  261. Warning: Redis server does not require a password, but a password was supplied.
  262. Warning: Redis server does not require a password, but a password was supplied.
  263. Warning: Redis server does not require a password, but a password was supplied.
  264. 15/6 10:48 [14173] - info: Beginning database schema update
  265. 15/6 10:48 [14173] - error: [upgrade] NodeBB upgrade could not complete, as your database schema is too far out of date.
  266. 15/6 10:48 [14173] - error: [upgrade]   Please ensure that you did not skip any minor version upgrades.
  267. 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