Odd issue content is not shown in the category


  • @a_5mith said:
    hey mate i've done everything

    root@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 nodebb-plugin-dbsearch@0.0.15 No repository field.
    npm WARN package.json reds@0.2.4 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:

    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


  • @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 nodebb-plugin-name@latest 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

| |