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 everything

    [email protected]:/home/xx# git clone https://github.com/NodeBB/NodeBB.git nodebb
    fatal: destination path 'xx' already exists and is not an empty directory.
    [email protected]:/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
    [email protected]:/home/xx# sudo git checkout master
    error: Your local changes to the following files would be overwritten by checkout:
    Please, commit your changes or stash them before you can switch branches.
    [email protected]:/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 ...
    [email protected]:/home/anirole# sudo git checkout master -f
    Switched to branch 'master'
    [email protected]:/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
    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
    [email protected]:/home/xx# ./nodebb upgrade
    npm WARN package.json [email protected] No repository field.
    npm WARN package.json [email protected] No repository field.

  • @fr3em1nd You didn't need to reclone nodebb. You may now have two seperate installs of NodeBB on your server, can you go back a directory cd ../ then type ls, what folders do you see?

  • @a_5mith said:


    i see that's interesting, i havnt thought of that here:


  • @fr3em1nd Ok, do cd ../ again, then ls again. I suspect you'll have two nodebb folders. One called NodeBB and another called nodebb

  • @a_5mith ah i think i know what you mean mate, i overwritten the existing folder.

    i did this:

    git clone https://github.com/NodeBB/NodeBB.git

  • Do you have two Nodebb folders in your xx directory?

  • @a_5mith no mate 👍

  • @fr3em1nd Ok, so go into your nodebb folder and try ./nodebb dev it will probably tell you your plugins are out of date. So update your plugins with npm i [email protected] for each plugin, that should then be fine.

  • @a_5mith said:

    ./nodebb dev

    yep im using >./nodebb watch

    im able to remove the plugins that are no longer working.

    also it's been an adventure, i wont be afraid since there are people like you willing to help. thanks agian!!

  • @fr3em1nd No problem, you'll need to go through and set your permissions for guests and users. But looks like you're up and running. 👍

Suggested Topics

| | | |