The new community.nodebb.org theme!

  • NodeBB

    That is a recent addition to utils.js are you sure you are on the latest NodeBB code?


  • Oh I guess not. I'll walk through the upgrade instructions I saw on github. Thanks!

  • NodeBB

    Make sure to make a backup of your database in case something goes wrong.


  • Thanks. I've got a crontab task backing up everything to an ebs volume every hour.

    OK, so I have my remote repository associated with git in my instance directory. When I do "git pull," it pulls from my bitbucket repository. How do I make it pull/integrate the latest nodebb version?

    Thanks for the help!

  • NodeBB

    I will let @julian answer that as he is our 'gitmeister' but I think it will be something like git remote set-url origin <nodebb-git-url>

  • GNU/Linux Admin

    git remote add upstream git@github.com:designcreateplay/NodeBB.git

    Then to get the latest changes from NodeBB: git fetch upstream

    ... and put them into your local master branch: git merge upstream/master master

  • NodeBB

    @julian said:

    git remote add upstream git@github.com:designcreateplay/NodeBB.git

    Then to get the latest changes from NodeBB: git fetch upstream

    ... and put them into your local master branch: git merge upstream/master master

    In other words black magic.


  • Haha thanks 🙂

    I just did that and got this error:

    $ git remote add upstream git@github.com:designcreateplay/NodeBB.git
    Aarons-MacBook-Air-2:old-forum aaronclaytondunn$ git fetch upstream
    Permission denied (publickey).
    fatal: Could not read from remote repository.

    Please make sure you have the correct access rights
    and the repository exists.


  • Hi again,

    I'm pretty sure I'm all upgraded now and I still get the same error. My browser console gives me this error:

    Uncaught SyntaxError: Unexpected token <

    And the page loads but without any styling. Even reverting the theme in admin > themes doesn't work anymore. Any idea what the issue is? By the way, here are my server logs while it is running:

    info: NodeBB Ready
    warn: [socket.io] Unrecognized message: event:enter_room
    warn: [socket.io] Unrecognized message: reconnected
    warn: [socket.io] Unrecognized message: api:updateHeader
    warn: [socket.io] Unrecognized message: api:updateHeader
    warn: [socket.io] Unrecognized message: event:enter_room
    warn: [socket.io] Unrecognized message: api:updateHeader
    warn: [socket.io] Unrecognized message: api:notifications.getCount
    warn: [socket.io] Unrecognized message: api:unread.count
    warn: [socket.io] Unrecognized message: api:updateHeader
    warn: [socket.io] Unrecognized message: api:updateHeader
    warn: [socket.io] Unrecognized message: api:user.get_online_users
    warn: [socket.io] Unrecognized message: api:meta.buildTitle
    warn: [socket.io] Unrecognized message: post.stats
    warn: [socket.io] Unrecognized message: api:user.active.get

    Please get back to me as soon as you get a chance! Thanks!

  • Plugin & Theme Dev

    what's the output of

    git describe --tags


  • $ git describe --tags
    fatal: No names found, cannot describe anything.

    Also, just realized that the error only shows up on Google Chrome (the browser I first opened it on). No problem with Safari or Chrome Canary). What?!

  • Plugin & Theme Dev

    caching is not working for you - something is up with your git repo. My gut says incorrect user permission.


  • Yup, just cleared the cache and it works fine. Thanks all.

  • Plugin & Theme Dev

    but that wont fix it for your users, you need to investigate why ur local git repo is doing that

  • GNU/Linux Admin

    Agreed, could be permissions...

    ls -l .git, @aaron ?


  • Thanks in advance for the help! Here's the readout--

    $ ls -l .git
    total 688
    drwxrwxr-x 2 ubuntu ubuntu   4096 Jan 22 22:48 branches
    -rw-rw-r-- 1 ubuntu ubuntu    284 Jan 23 19:17 config
    -rw-rw-r-- 1 ubuntu ubuntu     73 Jan 22 22:48 description
    -rw-rw-r-- 1 ubuntu ubuntu    104 Jan 23 19:17 FETCH_HEAD
    -rw-rw-r-- 1 ubuntu ubuntu     23 Jan 22 22:48 HEAD
    drwxrwxr-x 2 ubuntu ubuntu   4096 Jan 22 22:48 hooks
    -rw-rw-r-- 1 ubuntu ubuntu 657968 Jan 23 19:17 index
    drwxrwxr-x 2 ubuntu ubuntu   4096 Jan 22 22:48 info
    drwxrwxr-x 3 ubuntu ubuntu   4096 Jan 23 18:40 logs
    drwxrwxr-x 4 ubuntu ubuntu   4096 Jan 22 22:48 objects
    -rw-rw-r-- 1 ubuntu ubuntu     41 Jan 23 19:17 ORIG_HEAD
    drwxrwxr-x 5 ubuntu ubuntu   4096 Jan 23 18:30 refs
    
  • GNU/Linux Admin

    fatal: No names found, cannot describe anything.

    ... and I'm assuming you're logged in as ubuntu?


  • Yeah, logged in as ubuntu.

  • GNU/Linux Admin

    @bentael -- may need a fallback in case git describe --tags fails, as in @aaron's case, and yours.


  • Haha yeah I just deleted the cache again and it started working. Is this problem going to resurface? Does it look like I have permissions set incorrectly?

    Thanks!

Suggested Topics

| |