"Route requested but not found" error after upgrade to v0.6



  • Guys, can you help please? I have tried to upgrade my forum from v0.5.7 to v.0.6.x by follow the upgrade instruction:
    $git fetch
    $git checkout v0.6.x
    $git merge origin/v0.6.x
    $ ./nodebb upgrade

    I got error on loading similar like this:
    https://community.nodebb.org/topic/3235/using-git-pull-to-upgrade-nodebb-after-this-nodebb-can-t-start-normally

    I did try again as follow:
    ./nodebb stop
    npm i nodebb-plugin-dbsearch@latest
    ./nodebb upgrade
    ./nodebb reset plugins
    ./nodebb start

    Now I can start my forum however it seems that the routes are went wrong. Whenever I clicked to any links, nodebb could not find the routes. The following is the my forum url: www.nguoivietuc.com.au

    Can you please provide the steps to correct? Thanks.



  • Hi, the following is the dev output when I run ./nodebb dev. Can you please help to take a look? Thanks.

    Launching NodeBB in "development" mode.
    To run the production build of NodeBB, please use "forever".
    More Information: https://docs.nodebb.org/en/latest/running/index.html

    NodeBB v0.6.0 Copyright (C) 2013-2014 NodeBB Inc.
    This program comes with ABSOLUTELY NO WARRANTY.
    This is free software, and you are welcome to redistribute it under certain conditions.
    For the full license, please visit: http://www.gnu.org/copyleft/gpl.html

    Clustering enabled: Spinning up 1 process(es).

    31/12 07:55 [6066] - info: Time: Wed Dec 31 2014 07:55:16 GMT+1100 (EST)
    31/12 07:55 [6066] - info: Initializing NodeBB v0.6.0
    31/12 07:55 [6066] - verbose: * using configuration stored in: /opt/nvu/config.json
    31/12 07:55 [6066] - verbose: * using mongo store at 127.0.0.1:27017
    31/12 07:55 [6066] - verbose: * using themes stored in: /opt/nvu/node_modules
    31/12 07:55 [6066] - verbose: [plugins] Initializing plugins system
    31/12 07:55 [6066] - info: Enabling 'trust proxy'
    31/12 07:55 [6066] - warn: [socket.io] Clustering detected, you are advised to configure Redis as a websocket store.
    31/12 07:55 [6066] - verbose: [notifications.init] Registering jobs.
    31/12 07:55 [6066] - info: [themes] Using theme nodebb-theme-lavender
    31/12 07:55 [6066] - verbose: [plugins] Found 3 js file(s) for plugin nodebb-theme-lavender
    31/12 07:55 [6066] - verbose: [plugins] Loaded plugin: nodebb-theme-lavender
    31/12 07:55 [6066] - verbose: [hotswap] Router with id plugins replaced successfully
    31/12 07:55 [6066] - verbose: [plugins] All plugins reloaded and rerouted
    31/12 07:55 [6066] - info: [plugins] Plugins OK
    31/12 07:55 [6066] - verbose: [meta/css] Minifying LESS/CSS
    31/12 07:55 [6066] - verbose: [hotswap] Router with id auth replaced successfully
    31/12 07:55 [6066] - verbose: [sounds] Sounds OK
    31/12 07:55 [6066] - verbose: [meta/js] Minification complete
    31/12 07:55 [6066] - verbose: [meta/js] Client-side minfile committed to disk.
    31/12 07:55 [6066] - verbose: [meta/css] admin.css committed to disk.
    31/12 07:55 [6066] - verbose: [meta/css] stylesheet.css committed to disk.
    31/12 07:55 [6066] - verbose: [meta/templates] Compiling templates
    31/12 07:55 [6066] - verbose: [meta/templates] Successfully compiled templates.
    31/12 07:55 [6066] - info: NodeBB Ready
    31/12 07:55 [6066] - info: NodeBB is now listening on: 0.0.0.0:4567
    31/12 07:55 [6066] - verbose: [cluster] Client-side javascript and mapping propagated to worker 6066
    31/12 07:55 [6066] - verbose: [cluster] Stylesheets propagated to worker 6066
    31/12 07:55 [6066] - warn: Route requested but not found: /
    31/12 07:55 [6066] - warn: Route requested but not found: /nguoivietuc.com.au/stylesheet.css?c0e1801b
    31/12 07:55 [6066] - warn: Route requested but not found: /nguoivietuc.com.au/nodebb.min.js?1419972917055
    31/12 07:55 [6066] - warn: Route requested but not found: /nguoivietuc.com.au/login
    31/12 07:55 [6066] - warn: Route requested but not found: /nguoivietuc.com.au/nguoivietuc.com.au/stylesheet.css?c0e1801b
    31/12 07:55 [6066] - warn: Route requested but not found: /nguoivietuc.com.au/nguoivietuc.com.au/nodebb.min.js?1419972917055


  • Admin

    Post your config.json after removing the passwords/secrets.



  • Thanks baris, here is my config.json
    {
    "secret": "XXX",
    "database": "mongo",
    "mongo": {
    "host": "127.0.0.1",
    "port": "27017",
    "username": "user",
    "password": "password",
    "database": "database"
    },
    "url": "nguoivietuc.com.au"
    }



  • Could the "clustering detected" be a part of the issue?


  • Admin

    @thangnt75 change the url to http://nguoivietuc.com.au or https://nguoivietuc.com.au if you use ssl.



  • @scottalanmiller I am not sure what is "Clustering detected"
    @baris I am not using ssl
    I forgot to capture the upgrade output screen however I remember that there are some warning on plugins



  • @thangnt75 said:

    @scottalanmiller I am not sure what is "Clustering detected"

    You and I are both getting errors and both of us have that coming up in our logs.


  • Admin

    @thangnt75 As @baris says, you're missing the http://in the url



  • thanks guys, appreciated your helps


Log in to reply
 


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