Odd issue content is not shown in the category
-
@fr3em1nd No problem, that's for upgrading, what did you use to initially install NodeBB? Was it this?
git clone https://github.com/NodeBB/NodeBB.git nodebb
Unfortunately, I can't recommend updating to master, as their will be issues, but you're welcome to give it a go, as I suspect that you initially installed master, then downgraded back to 0.5.x. So there's not a whole lot you can do except re-upgrade.
As you have made changes to your themes, you may need to back up your theme, then add it back in afterwards.
git checkout master
git pull
./nodebb upgrade
You will need to update all your plugins to the
@latest
version for them to work in master, and some may not have been updated yet. So your mileage will vary. -
@a_5mith said:
hey mate i've done everythingroot@xx:/home/xx# git clone https://github.com/NodeBB/NodeBB.git nodebb
fatal: destination path 'xx' already exists and is not an empty directory.
root@xx:/home/xx# git clone https://github.com/NodeBB/NodeBB.git
Cloning into 'NodeBB'...
remote: Counting objects: 58675, done.
remote: Compressing objects: 100% (51/51), done.
remote: Total 58675 (delta 22), reused 0 (delta 0)
Receiving objects: 100% (58675/58675), 19.26 MiB | 38.21 MiB/s, done.
Resolving deltas: 100% (41277/41277), done.
Checking connectivity... done
root@xx:/home/xx# sudo git checkout master
error: Your local changes to the following files would be overwritten by checkout:
bcrypt.js
Please, commit your changes or stash them before you can switch branches.
Aborting
root@xx:/home/xx# sudo
usage: sudo [-D level] -h | -K | -k | -V
usage: sudo -v [-AknS] [-D level] [-g groupname|#gid] [-p prompt] [-u user name|#uid]
usage: sudo -l[l] [-AknS] [-D level] [-g groupname|#gid] [-p prompt] [-U user name] [-u user name|#uid] [-g groupname|#gid] [command]
usage: sudo [-AbEHknPS] [-r role] [-t type] [-C fd] [-D level] [-g groupname|#gid] [-p prompt] [-u user name|#uid] [-g
groupname|#gid] [VAR=value] [-i|-s] [<command>]
usage: sudo -e [-AknS] [-r role] [-t type] [-C fd] [-D level] [-g groupname|#gid] [-p prompt] [-u user name|#uid] file ...
root@txtmyt:/home/anirole# sudo git checkout master -f
Switched to branch 'master'
root@txtmyt:/home/anirole# git pull
remote: Counting objects: 51, done.
remote: Compressing objects: 100% (51/51), done.
remote: Total 51 (delta 22), reused 0 (delta 0)
Unpacking objects: 100% (51/51), done.
From git://github.com/NodeBB/NodeBB
d5453ef..fdf06c0 master -> origin/master
Updating d5453ef..fdf06c0
Fast-forward
src/middleware/index.js | 29 ++++++++++-------------------
src/middleware/middleware.js | 49 ++++++++++++++++++++++++++-----------------------
src/middleware/ratelimit.js | 35 +++++++++++++++++++++++++++++++++++
src/posts.js | 2 +-
src/routes/authentication.js | 2 --
src/routes/index.js | 2 +-
src/socket.io/index.js | 88 +++++++++++++++++++++-------------------------------------------------------------------
src/socket.io/meta.js | 15 ++++++---------
src/socket.io/posts.js | 10 ++--------
src/socket.io/topics.js | 4 +---
src/socket.io/user.js | 8 --------
src/threadTools.js | 2 --
src/upgrade.js | 44 +++++++++++++++++++++++++++-----------------
src/user.js | 6 ------
src/views/admin/header.tpl | 22 ++++++++++------------
15 files changed, 140 insertions(+), 178 deletions(-)
create mode 100644 src/middleware/ratelimit.js
root@xx:/home/xx# ./nodebb upgrade
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No repository field. -
@a_5mith said:
ls
i see that's interesting, i havnt thought of that here:
app.js
bcrypt.zip
CONTRIBUTING.md
LICENSE
logs
nodebb
node_modules
pidfile
README.md
tests
bcrypt.js
config.json
install
loader.js
minifier.js
NodeBB
package.json
public
src