Upgrade to v0.6.0 failed after v0.5 stopped running



  • Was running v0.5 without any problems for months and when I went to check today, everything stopped working so I thought I needed to upgrade to v0.6

    Here is what I did:
    $ git fetch
    $ git checkout v0.6.x
    $ git merge origin/v0.6.x
    $ git pull
    $ ./nodebb upgrade
    $ ./nodebb dev

    Getting the error:
    url.js:107 throw new TypeError("Parameter 'url' must be a string, not " + typeof url)

    This would be the first real disappointment of nodebb for me since everything was running smoothly and it simply stopped.

    What is the error referring to and how can I fix this?


  • GNU/Linux

    When I had some sort of that error, I just relaunched ./nodebb setup and it fixed problem.



  • @Reik

    Thanks for the tip. It seems to have converted the config to a different format (ie: instead of base_url it now uses url) and it's working. Seems odd that everything would fail all of a sudden without any changes.

    @psychobunny @julian

    Is there some kind of automatic update in v0.5 that is outside of normal nodebb operation?


Log in to reply
 


Looks like your connection to NodeBB was lost, please wait while we try to reconnect.