NodeBB on Cloud9
-
Ok, since I'm apparently the only one having issues... tried following this:
http://nodebb-francais.readthedocs.org/projects/nodebb/en/latest/installing/cloud/cloud9.html
On a fresh Cloud9 workspace (I picked the NodeJS template though).
First of all, Cloud9 has no idea what
nada-nix
is, but apparently redis is already installed anyway.I pulled NodeBB 1.0.1 just fine, as expected.
echo $IP
always return0.0.0.0
so... ummm?I kept going anyway, it apparently installed, but trying to run it:
onyx47:~/workspace/nodebb ((v1.0.1)) $ node app 21/3 21:55 [2815] - info: NodeBB v1.0.1 Copyright (C) 2013-2014 NodeBB Inc. 21/3 21:55 [2815] - info: This program comes with ABSOLUTELY NO WARRANTY. 21/3 21:55 [2815] - info: This is free software, and you are welcome to redistribute it under certain conditions. 21/3 21:55 [2815] - info: 21/3 21:55 [2815] - info: Time: Mon Mar 21 2016 21:55:03 GMT+0000 (UTC) 21/3 21:55 [2815] - info: Initializing NodeBB v1.0.1 21/3 21:55 [2815] - error: Your Redis version is not new enough to support NodeBB, please upgrade Redis to v2.8.9 or higher. onyx47:~/workspace/nodebb ((v1.0.1)) $ sudo apt-cache show redis-server Package: redis-server Priority: optional Section: universe/misc Installed-Size: 744 Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> Original-Maintainer: Chris Lamb <lamby@debian.org> Architecture: amd64 Source: redis Version: 2:2.8.4-2 Depends: libc6 (>= 2.14), libjemalloc1 (>= 2.1.1), redis-tools (= 2:2.8.4-2), adduser Filename: pool/universe/r/redis/redis-server_2.8.4-2_amd64.deb Size: 267446 MD5sum: 066f3ce93331b876b691df69d11b7e36 SHA1: f7ffbf228cc10aa6ff23ecc16f8c744928d7782e SHA256: 2d273574f134dc0d8d10d41b5eab54114dfcf8b716bad4e6d04ad8452fe1627d Description: Persistent key-value database with network interface Description-md5: 9160ed1405585ab844f8750a9305d33f Homepage: http://redis.io/ Bugs: https://bugs.launchpad.net/ubuntu/+filebug Origin: Ubuntu onyx47:~/workspace/nodebb ((v1.0.1)) $ sudo apt-get upgrade redis-server WARNING: Running upgrade on your Cloud 9 instance will use your disk quota for package upgrades. Each time a new workspace is created it is using very recent packages already, try just installing the packages you require first. Press Y to continue anyway Y Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done redis-server is already the newest version.
So... yeah...
-
@Onyx Whoa, that must be some old OS.
For what it's worth, redis is pretty trivial to build from sources. The only gotcha is then setting it up to start up and stay alive, because AFAIR it doesn't come with any flavor of init script out of the box.
-
@cartman82 said:
@Onyx Whoa, that must be some old OS.
For what it's worth, redis is pretty trivial to build from sources. The only gotcha is then setting it up to start up and stay alive, because AFAIR it doesn't come with any flavor of init script out of the box.
Yeah, I think the repo is too old...
-
@Onyx Also, version 2.8.9 sounds familiar. Too lazy to look into it, but I THINK it was the version when they introduced keyspace notifications.
If that's the case, if you hack at nodebb, you can probably get it working, except you won't get live updates, as crappy as they are.
-
@cartman82 Yeah, I think I'll just get a proper hosted VM sorted tomorrow and just skip the C9 bullshit.
Also, this is helpful:
onyx47:~/workspace/nodebb ((v1.0.1)) $ uname -a Linux onyx47-nodebb-onyx-2784673 4.2.0-c9 #1 SMP Wed Sep 30 16:14:37 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Gee, thanks, I guess telling me it's based on Ubuntu 14.04 or some other number we stupid humans like too use would be too easy.
-
@Onyx To be fair, it does say on their website:
-
@RaceProUK Dapper Drake? Trusty Thar? Unicycle Unicorn? Ravaging Racoon? Ubuntu is not a rolling distro, version number would be nice.
Silly cloud providers with their builds... grumble, lawn, mumble...
-
@Onyx said:
grumble, lawn, mumble...
Speaking of your lawn... you might want to check it, I think I saw a kid on it...
-
@Onyx said:
Gee, thanks, I guess telling me it's based on Ubuntu 14.04 or some other number we stupid humans like too use would be too easy.
uname
doesn't know anything about distributions. What you're looking for islsb_release -a
.
-
@Onyx
’cat /etc/issue’ ?
-
@Onyx said:
@RaceProUK Dapper Drake? Trusty Thar? Unicycle Unicorn? Ravaging Racoon? Ubuntu is not a rolling distro, version number would be nice.
Silly cloud providers with their builds... grumble, lawn, mumble...
what.thedailywtf.com is on Trusty Tahr. discourse.local.lubar.me is on Xenial Xerus.
-
@CatPlusPlus Keep forgetting about that one...
In any case, it's 14.04 it seems... why the repos are behind is anyone's guess...