Forum down after restart
-
@pitaj Here you go.
sudonix@vps:~/nodebb$ ./nodebb dev NodeBB v1.18.2 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). 2021-09-22T21:06:50.206Z [4567/19957] - verbose: * using configuration stored in: /home/sudonix/nodebb/config.json 2021-09-22T21:06:50.210Z [4567/19957] - info: Initializing NodeBB v1.18.2 https://sudonix.com 2021-09-22T21:06:50.211Z [4567/19957] - verbose: * using mongo store at 127.0.0.1:27017 2021-09-22T21:06:50.211Z [4567/19957] - verbose: * using themes stored in: /home/sudonix/nodebb/node_modules 2021-09-22T21:06:51.682Z [4567/19957] - verbose: [minifier] utilizing a maximum of 3 additional threads 2021-09-22T21:06:51.895Z [4567/19957] - verbose: Checking dependencies for outdated modules 2021-09-22T21:06:52.647Z [4567/19957] - verbose: [notifications.init] Registering jobs. 2021-09-22T21:06:52.650Z [4567/19957] - verbose: [user/jobs] (Re-)starting jobs... 2021-09-22T21:06:52.652Z [4567/19957] - verbose: [user/jobs] Starting job (digest.daily) 2021-09-22T21:06:52.655Z [4567/19957] - verbose: [user/jobs] Starting job (digest.weekly) 2021-09-22T21:06:52.657Z [4567/19957] - verbose: [user/jobs] Starting job (digest.monthly) 2021-09-22T21:06:52.658Z [4567/19957] - verbose: [user/jobs] Starting job (reset.clean) 2021-09-22T21:06:52.658Z [4567/19957] - verbose: [user/jobs] 4 jobs started 2021-09-22T21:06:52.659Z [4567/19957] - verbose: [scheduled topics] Starting jobs. 2021-09-22T21:06:52.665Z [4567/19957] - verbose: [emailer] Setting up fallback transport 2021-09-22T21:06:52.741Z [4567/19957] - info: [themes] Using theme nodebb-theme-persona 2021-09-22T21:06:52.742Z [4567/19957] - verbose: [plugins] Initializing plugins system 2021-09-22T21:06:52.763Z [4567/19957] - verbose: [emailer] Built custom email templates 2021-09-22T21:06:52.770Z [4567/19957] - verbose: [plugins] Found 1 less file(s) for plugin nodebb-plugin-cards 2021-09-22T21:06:52.772Z [4567/19957] - verbose: [plugins] found 1 static directories for nodebb-plugin-cards 2021-09-22T21:06:52.773Z [4567/19957] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-cards 2021-09-22T21:06:52.773Z [4567/19957] - verbose: [plugins] Loaded plugin: nodebb-plugin-cards 2021-09-22T21:06:52.777Z [4567/19957] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-theme-persona 2021-09-22T21:06:52.778Z [4567/19957] - verbose: [plugins] Found 3 js file(s) for plugin nodebb-theme-persona 2021-09-22T21:06:52.779Z [4567/19957] - verbose: [plugins] Found 1 AMD-style module(s) for plugin nodebb-theme-persona 2021-09-22T21:06:52.781Z [4567/19957] - verbose: [plugins] Loaded plugin: nodebb-theme-persona 2021-09-22T21:06:52.783Z [4567/19957] - verbose: [plugins/fireHook] filter:sanitize.config 2021-09-22T21:06:52.784Z [4567/19957] - info: [plugins] Plugins OK 2021-09-22T21:06:52.784Z [4567/19957] - verbose: [plugins/fireHook] static:assets.prepare 2021-09-22T21:06:52.784Z [4567/19957] - verbose: [plugins/fireHook] static:app.preload 2021-09-22T21:06:52.785Z [4567/19957] - verbose: [plugins/fireHook] filter:router.add 2021-09-22T21:06:52.786Z [4567/19957] - verbose: [plugins/fireHook] static:app.load 2021-09-22T21:06:52.787Z [4567/19957] - verbose: [plugins] All plugins reloaded and rerouted 2021-09-22T21:06:52.787Z [4567/19957] - verbose: [plugins/fireHook] filter:auth.init 2021-09-22T21:06:52.818Z [4567/19957] - verbose: [plugins/fireHook] filter:settings.get 2021-09-22T21:06:52.849Z [4567/19957] - verbose: [plugins/fireHook] static:api.routes 2021-09-22T21:06:52.850Z [4567/19957] - info: [api] Adding 0 route(s) to `api/v3/plugins` 2021-09-22T21:06:52.876Z [4567/19957] - info: [router] Routes added 2021-09-22T21:06:52.879Z [4567/19957] - verbose: [meta/blacklist] Loading 0 blacklist rule(s) 2021-09-22T21:06:52.880Z [4567/19957] - verbose: [plugins/fireHook] filter:flags.getFilters 2021-09-22T21:06:52.881Z [4567/19957] - verbose: [plugins/fireHook] filter:topicEvents.init 2021-09-22T21:06:52.881Z [4567/19957] - info: NodeBB Ready 2021-09-22T21:06:52.882Z [4567/19957] - verbose: [plugins/fireHook] action:nodebb.ready 2021-09-22T21:06:52.882Z [4567/19957] - info: Enabling 'trust proxy' 2021-09-22T21:06:52.884Z [4567/19957] - info: NodeBB is now listening on: 0.0.0.0:4567 2021-09-22T21:06:58.750Z [4567/19957] - verbose: [plugins/fireHook] filter:middleware.autoLocale 2021-09-22T21:06:58.756Z [4567/19957] - verbose: [plugins/fireHook] filter:user.getSettings 2021-09-22T21:06:58.756Z [4567/19957] - verbose: [plugins/fireHook] filter:user.notificationTypes 2021-09-22T21:06:58.764Z [4567/19957] - verbose: [plugins/fireHook] response:router.page 2021-09-22T21:06:58.774Z [4567/19957] - verbose: [plugins/fireHook] filter:topics.unreadCutoff 2021-09-22T21:06:58.774Z [4567/19957] - verbose: [plugins/fireHook] action:user.online 2021-09-22T21:06:58.780Z [4567/19957] - verbose: [plugins/fireHook] action:user.set 2021-09-22T21:06:58.781Z [4567/19957] - verbose: [plugins/fireHook] filter:user.iconBackgrounds 2021-09-22T21:06:58.782Z [4567/19957] - verbose: [plugins/fireHook] filter:user.whitelistFields 2021-09-22T21:06:58.782Z [4567/19957] - verbose: [plugins/fireHook] filter:middleware.buildHeader 2021-09-22T21:06:58.785Z [4567/19957] - verbose: [plugins/fireHook] filter:user.getSettings 2021-09-22T21:06:58.785Z [4567/19957] - verbose: [plugins/fireHook] filter:user.notificationTypes 2021-09-22T21:06:58.796Z [4567/19957] - verbose: [plugins/fireHook] filter:user.getSettings 2021-09-22T21:06:58.796Z [4567/19957] - verbose: [plugins/fireHook] filter:user.notificationTypes 2021-09-22T21:06:58.813Z [4567/19957] - verbose: [plugins/fireHook] filter:user.getFields 2021-09-22T21:06:58.818Z [4567/19957] - verbose: [plugins/fireHook] filter:config.get 2021-09-22T21:06:58.821Z [4567/19957] - verbose: [plugins/fireHook] filter:user.getWatchedCategories 2021-09-22T21:06:58.823Z [4567/19957] - verbose: [plugins/fireHook] action:middleware.pageView 2021-09-22T21:06:58.824Z [4567/19957] - verbose: [plugins/fireHook] filter:users.get 2021-09-22T21:06:58.830Z [4567/19957] - verbose: [plugins/fireHook] filter:settings.get 2021-09-22T21:06:58.835Z [4567/19957] - verbose: [plugins/fireHook] filter:user.getSettings 2021-09-22T21:06:58.837Z [4567/19957] - verbose: [plugins/fireHook] filter:user.notificationTypes 2021-09-22T21:06:58.844Z [4567/19957] - verbose: [plugins/fireHook] filter:category.getFields 2021-09-22T21:06:58.846Z [4567/19957] - verbose: [plugins/fireHook] filter:privileges:isAllowedTo 2021-09-22T21:06:58.846Z [4567/19957] - verbose: [plugins/fireHook] filter:user.isModerator 2021-09-22T21:06:58.848Z [4567/19957] - verbose: [plugins/fireHook] filter:topic.getFields 2021-09-22T21:06:58.850Z [4567/19957] - verbose: [plugins/fireHook] filter:category.getFields 2021-09-22T21:06:58.858Z [4567/19957] - verbose: [plugins/fireHook] filter:privileges:isAllowedTo 2021-09-22T21:06:58.859Z [4567/19957] - verbose: [plugins/fireHook] filter:privileges:isAllowedTo 2021-09-22T21:06:58.861Z [4567/19957] - verbose: [plugins/fireHook] filter:privileges:isAllowedTo 2021-09-22T21:06:58.862Z [4567/19957] - verbose: [plugins/fireHook] filter:privileges:isAllowedTo 2021-09-22T21:06:58.863Z [4567/19957] - verbose: [plugins/fireHook] filter:privileges.topics.filter 2021-09-22T21:06:58.863Z [4567/19957] - verbose: [plugins/fireHook] filter:topic.getFields 2021-09-22T21:06:58.863Z [4567/19957] - verbose: [plugins/fireHook] filter:user.getSettings 2021-09-22T21:06:58.864Z [4567/19957] - verbose: [plugins/fireHook] filter:user.notificationTypes 2021-09-22T21:06:58.866Z [4567/19957] - verbose: [plugins/fireHook] filter:topics.getUnreadTids 2021-09-22T21:06:58.872Z [4567/19957] - verbose: [plugins/fireHook] filter:topic.getFields 2021-09-22T21:06:58.874Z [4567/19957] - verbose: [plugins/fireHook] filter:category.getFields 2021-09-22T21:06:58.882Z [4567/19957] - verbose: [plugins/fireHook] filter:privileges:isAllowedTo 2021-09-22T21:06:58.884Z [4567/19957] - verbose: [plugins/fireHook] filter:privileges:isAllowedTo 2021-09-22T21:06:58.885Z [4567/19957] - verbose: [plugins/fireHook] filter:privileges:isAllowedTo 2021-09-22T21:06:58.885Z [4567/19957] - verbose: [plugins/fireHook] filter:privileges.topics.filter 2021-09-22T21:06:58.886Z [4567/19957] - verbose: [plugins/fireHook] filter:topic.getFields 2021-09-22T21:06:58.887Z [4567/19957] - verbose: [plugins/fireHook] filter:user.blocks.filter 2021-09-22T21:06:58.888Z [4567/19957] - verbose: [plugins/fireHook] filter:user.getSettings 2021-09-22T21:06:58.888Z [4567/19957] - verbose: [plugins/fireHook] filter:user.notificationTypes 2021-09-22T21:06:58.890Z [4567/19957] - verbose: [plugins/fireHook] filter:topics.filterSortedTids 2021-09-22T21:06:58.893Z [4567/19957] - verbose: [plugins/fireHook] filter:topic.getFields 2021-09-22T21:06:58.893Z [4567/19957] - verbose: [plugins/fireHook] filter:user.getSettings 2021-09-22T21:06:58.894Z [4567/19957] - verbose: [plugins/fireHook] filter:user.notificationTypes 2021-09-22T21:06:58.895Z [4567/19957] - verbose: [plugins/fireHook] filter:user.whitelistFields 2021-09-22T21:06:58.897Z [4567/19957] - verbose: [plugins/fireHook] filter:category.getFields 2021-09-22T21:06:58.897Z [4567/19957] - verbose: [plugins/fireHook] filter:user.getSettings 2021-09-22T21:06:58.898Z [4567/19957] - verbose: [plugins/fireHook] filter:user.notificationTypes 2021-09-22T21:06:58.904Z [4567/19957] - verbose: [plugins/fireHook] filter:topics.unreadCutoff 2021-09-22T21:06:58.909Z [4567/19957] - verbose: [plugins/fireHook] filter:post.getFields 2021-09-22T21:06:58.910Z [4567/19957] - verbose: [plugins/fireHook] filter:user.whitelistFields 2021-09-22T21:06:58.912Z [4567/19957] - verbose: [plugins/fireHook] filter:user.getFields 2021-09-22T21:06:58.912Z [4567/19957] - verbose: [plugins/fireHook] filter:user.iconBackgrounds 2021-09-22T21:06:58.912Z [4567/19957] - verbose: [plugins/fireHook] filter:user.iconBackgrounds 2021-09-22T21:06:58.912Z [4567/19957] - verbose: [plugins/fireHook] filter:user.iconBackgrounds 2021-09-22T21:06:58.912Z [4567/19957] - verbose: [plugins/fireHook] filter:user.iconBackgrounds 2021-09-22T21:06:58.913Z [4567/19957] - verbose: [plugins/fireHook] filter:user.iconBackgrounds 2021-09-22T21:06:58.914Z [4567/19957] - verbose: [plugins/fireHook] filter:user.whitelistFields 2021-09-22T21:06:58.914Z [4567/19957] - verbose: [plugins/fireHook] filter:user.whitelistFields 2021-09-22T21:06:58.915Z [4567/19957] - verbose: [plugins/fireHook] filter:user.whitelistFields 2021-09-22T21:06:58.916Z [4567/19957] - verbose: [plugins/fireHook] filter:user.whitelistFields 2021-09-22T21:06:58.916Z [4567/19957] - verbose: [plugins/fireHook] filter:user.whitelistFields 2021-09-22T21:06:58.916Z [4567/19957] - verbose: [plugins/fireHook] filter:user.getFields 2021-09-22T21:06:58.916Z [4567/19957] - verbose: [plugins/fireHook] filter:user.getFields 2021-09-22T21:06:58.916Z [4567/19957] - verbose: [plugins/fireHook] filter:user.getFields 2021-09-22T21:06:58.917Z [4567/19957] - verbose: [plugins/fireHook] filter:user.getFields 2021-09-22T21:06:58.917Z [4567/19957] - verbose: [plugins/fireHook] filter:user.getFields 2021-09-22T21:06:58.917Z [4567/19957] - verbose: [plugins/fireHook] filter:users.get 2021-09-22T21:06:58.917Z [4567/19957] - verbose: [plugins/fireHook] filter:users.get 2021-09-22T21:06:58.917Z [4567/19957] - verbose: [plugins/fireHook] filter:users.get 2021-09-22T21:06:58.918Z [4567/19957] - verbose: [plugins/fireHook] filter:users.get 2021-09-22T21:06:58.918Z [4567/19957] - verbose: [plugins/fireHook] filter:users.get 2021-09-22T21:06:58.921Z [4567/19957] - verbose: [plugins/fireHook] filter:user.getFields 2021-09-22T21:06:58.922Z [4567/19957] - verbose: [plugins/fireHook] filter:user.iconBackgrounds 2021-09-22T21:06:58.922Z [4567/19957] - verbose: [plugins/fireHook] filter:user.iconBackgrounds 2021-09-22T21:06:58.922Z [4567/19957] - verbose: [plugins/fireHook] filter:user.whitelistFields 2021-09-22T21:06:58.922Z [4567/19957] - verbose: [plugins/fireHook] filter:user.whitelistFields 2021-09-22T21:06:58.922Z [4567/19957] - verbose: [plugins/fireHook] filter:user.getFields 2021-09-22T21:06:58.922Z [4567/19957] - verbose: [plugins/fireHook] filter:user.getFields 2021-09-22T21:06:58.923Z [4567/19957] - verbose: [plugins/fireHook] filter:users.get 2021-09-22T21:06:58.923Z [4567/19957] - verbose: [plugins/fireHook] filter:users.get 2021-09-22T21:06:58.923Z [4567/19957] - verbose: [plugins/fireHook] filter:users.get 2021-09-22T21:06:58.924Z [4567/19957] - verbose: [plugins/fireHook] filter:parse.post 2021-09-22T21:06:58.926Z [4567/19957] - verbose: [plugins/fireHook] filter:parse.post 2021-09-22T21:06:58.927Z [4567/19957] - verbose: [plugins/fireHook] filter:parse.post 2021-09-22T21:06:58.928Z [4567/19957] - verbose: [plugins/fireHook] filter:parse.post 2021-09-22T21:06:58.929Z [4567/19957] - verbose: [plugins/fireHook] filter:parse.post 2021-09-22T21:06:58.930Z [4567/19957] - verbose: [plugins/fireHook] filter:parse.post 2021-09-22T21:06:58.930Z [4567/19957] - verbose: [plugins/fireHook] filter:parse.post 2021-09-22T21:06:58.932Z [4567/19957] - verbose: [plugins/fireHook] filter:parse.post 2021-09-22T21:06:58.933Z [4567/19957] - verbose: [plugins/fireHook] filter:parse.post 2021-09-22T21:06:58.933Z [4567/19957] - verbose: [plugins/fireHook] filter:parse.post 2021-09-22T21:06:58.934Z [4567/19957] - verbose: [plugins/fireHook] filter:parse.post 2021-09-22T21:06:58.935Z [4567/19957] - verbose: [plugins/fireHook] filter:parse.post 2021-09-22T21:06:58.935Z [4567/19957] - verbose: [plugins/fireHook] filter:parse.post 2021-09-22T21:06:58.936Z [4567/19957] - verbose: [plugins/fireHook] filter:parse.post 2021-09-22T21:06:58.936Z [4567/19957] - verbose: [plugins/fireHook] filter:parse.post 2021-09-22T21:06:58.937Z [4567/19957] - verbose: [plugins/fireHook] filter:parse.post 2021-09-22T21:06:58.938Z [4567/19957] - verbose: [plugins/fireHook] filter:teasers.configureStripTags 2021-09-22T21:06:58.941Z [4567/19957] - verbose: [plugins/fireHook] filter:teasers.get 2021-09-22T21:06:58.942Z [4567/19957] - verbose: [plugins/fireHook] filter:users.get 2021-09-22T21:06:58.943Z [4567/19957] - verbose: [plugins/fireHook] filter:topics.get 2021-09-22T21:06:58.945Z [4567/19957] - verbose: [plugins/fireHook] filter:recent.build 2021-09-22T21:06:58.945Z [4567/19957] - verbose: [plugins/fireHook] filter:middleware.render 2021-09-22T21:06:58.946Z [4567/19957] - verbose: [plugins/fireHook] filter:meta.getMetaTags 2021-09-22T21:06:58.946Z [4567/19957] - verbose: [plugins/fireHook] filter:meta.getLinkTags 2021-09-22T21:06:58.953Z [4567/19957] - verbose: [plugins/fireHook] filter:user.whitelistFields 2021-09-22T21:06:58.955Z [4567/19957] - verbose: [plugins/fireHook] filter:middleware.renderFooter 2021-09-22T21:06:58.956Z [4567/19957] - verbose: [plugins/fireHook] filter:scripts.get 2021-09-22T21:06:58.956Z [4567/19957] - verbose: [plugins/fireHook] filter:user.getFields 2021-09-22T21:06:58.957Z [4567/19957] - verbose: [plugins/fireHook] filter:user.iconBackgrounds 2021-09-22T21:06:58.957Z [4567/19957] - verbose: [plugins/fireHook] filter:privileges:isAllowedTo 2021-09-22T21:06:58.958Z [4567/19957] - verbose: [plugins/fireHook] filter:user.whitelistFields 2021-09-22T21:06:58.958Z [4567/19957] - verbose: [plugins/fireHook] filter:user.isModerator 2021-09-22T21:06:58.958Z [4567/19957] - verbose: [plugins/fireHook] filter:user.getFields 2021-09-22T21:06:58.959Z [4567/19957] - verbose: [plugins/fireHook] filter:users.get 2021-09-22T21:06:58.959Z [4567/19957] - verbose: [plugins/fireHook] filter:users.get 2021-09-22T21:06:58.962Z [4567/19957] - verbose: [plugins/fireHook] filter:privileges:isAllowedTo 2021-09-22T21:06:58.962Z [4567/19957] - verbose: [plugins/fireHook] filter:privileges.global.get 2021-09-22T21:06:58.987Z [4567/19957] - verbose: [plugins/fireHook] filter:languages.get 2021-09-22T21:06:58.988Z [4567/19957] - verbose: [plugins/fireHook] filter:languages.get 2021-09-22T21:06:58.990Z [4567/19957] - verbose: [plugins/fireHook] filter:topics.unreadCutoff 2021-09-22T21:06:58.993Z [4567/19957] - verbose: [plugins/fireHook] filter:user.getSettings 2021-09-22T21:06:58.993Z [4567/19957] - verbose: [plugins/fireHook] filter:user.notificationTypes 2021-09-22T21:06:58.999Z [4567/19957] - verbose: [plugins/fireHook] filter:user.getWatchedCategories 2021-09-22T21:06:59.007Z [4567/19957] - verbose: [plugins/fireHook] filter:languages.get 2021-09-22T21:06:59.011Z [4567/19957] - verbose: [plugins/fireHook] filter:languages.get 2021-09-22T21:06:59.012Z [4567/19957] - verbose: [plugins/fireHook] filter:languages.get 2021-09-22T21:06:59.013Z [4567/19957] - verbose: [plugins/fireHook] filter:languages.get 2021-09-22T21:06:59.015Z [4567/19957] - verbose: [plugins/fireHook] filter:topic.getFields 2021-09-22T21:06:59.016Z [4567/19957] - verbose: [plugins/fireHook] filter:category.getFields 2021-09-22T21:06:59.016Z [4567/19957] - verbose: [plugins/fireHook] filter:privileges:isAllowedTo 2021-09-22T21:06:59.017Z [4567/19957] - verbose: [plugins/fireHook] filter:privileges:isAllowedTo 2021-09-22T21:06:59.017Z [4567/19957] - verbose: [plugins/fireHook] filter:privileges:isAllowedTo 2021-09-22T21:06:59.017Z [4567/19957] - verbose: [plugins/fireHook] filter:privileges.topics.filter 2021-09-22T21:06:59.017Z [4567/19957] - verbose: [plugins/fireHook] filter:topic.getFields 2021-09-22T21:06:59.018Z [4567/19957] - verbose: [plugins/fireHook] filter:user.getSettings 2021-09-22T21:06:59.019Z [4567/19957] - verbose: [plugins/fireHook] filter:user.notificationTypes 2021-09-22T21:06:59.020Z [4567/19957] - verbose: [plugins/fireHook] filter:user.notifications.getCount 2021-09-22T21:06:59.021Z [4567/19957] - verbose: [plugins/fireHook] filter:languages.get 2021-09-22T21:06:59.024Z [4567/19957] - verbose: [plugins/fireHook] filter:topics.getUnreadTids 2021-09-22T21:06:59.025Z [4567/19957] - verbose: [plugins/fireHook] filter:middleware.renderHeader 2021-09-22T21:06:59.038Z [4567/19957] - verbose: [plugins/fireHook] filter:languages.get 2021-09-22T21:06:59.039Z [4567/19957] - verbose: [plugins/fireHook] filter:languages.get 2021-09-22T21:06:59.040Z [4567/19957] - verbose: [plugins/fireHook] filter:languages.get 2021-09-22T21:07:00.173Z [4567/19957] - verbose: [plugins/fireHook] static:sockets.validateSession 2021-09-22T21:07:00.174Z [4567/19957] - verbose: [plugins/fireHook] action:sockets.connect 2021-09-22T21:07:00.313Z [4567/19957] - verbose: [plugins/fireHook] filter:middleware.autoLocale 2021-09-22T21:07:00.318Z [4567/19957] - verbose: [plugins/fireHook] filter:manifest.build 2021-09-22T21:07:00.328Z [4567/19957] - verbose: [plugins/fireHook] static:sockets.validateSession 2021-09-22T21:07:02.143Z [4567/19957] - verbose: [plugins/fireHook] filter:middleware.autoLocale
The odd thing is that when using
./nodebb dev
, the forum starts up ?? -
@phenomlab are you sure the forum isn't up when you start with
./nodebb start
?I remember seeing a very similar issue some time ago. Can you provide the output of
git status
? -
@pitaj said in Forum down after restart:
@phenomlab are you sure the forum isn't up when you start with ./nodebb start?
Yes, 100%
Output of
git status
sudonix@vps:~/nodebb$ git status Not currently on any branch. Untracked files: (use "git add <file>..." to include in what will be committed) dump/ public/download-2021.8.23_13.40.32-metabullet-(vps.phenomlab.com).tar.gz public/fontawesome/ public/images/blank-profile-pic-progressive.jpeg public/images/header1.webp public/images/header1bw.webp public/images/header_1.webp nothing added to commit but untracked files present (use "git add" to track)
-
Working in dev but not in start sounds exactly like this issue: https://community.nodebb.org/topic/15412/forum-is-not-available-anymore
-
Can you capture a full startup log with
./nodebb slog
? -
@pitaj All I get is this
sudonix@vps:~/nodebb$ ./nodebb slog Starting NodeBB with logging output Hit Ctrl-C to exit The NodeBB process will continue to run in the background Use "./nodebb stop" to stop the NodeBB server 61 | <div widget-area="contentbetween"><!-- BEGIN widgets.contentbetween -->{widgets.contentbetween.html}<!-- END widgets.contentbetween --></div> | ^^^^^^^^^^^^^^^^^^^^^^ `widgets.contentbetween` could refer to the top-level value `widgets.contentbetween` or the `.widgets.contentbetween` property of the current element, so compiler must emit code for both cases | note: Migrate to modern syntax to avoid the ambiguity. This will become an error in the future. 2021-09-22T05:51:58.210Z [4567/148235] - error: [emailer.send] Error: Sendmail exited with code 75 at ChildProcess.<anonymous> (/home/sudonix/nodebb/node_modules/nodemailer/lib/sendmail-transport/index.js:142:27) at Object.onceWrapper (node:events:514:26) at ChildProcess.emit (node:events:394:28) at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12) at Process.callbackTrampoline (node:internal/async_ho
-
I suggest disabling all custom plugins and themes and see if the issue is still there, then you can reenable one by one to find what's wrong. If it's still not starting up with the base plugins then you will have to debug the startup with some console.logs.
Also modify your config.json to start only a single process and see if that makes a difference.
-
@baris Thanks. Interestingly, it'll start with
node app js
??sudonix@vps:~/nodebb$ node app js 2021-09-22T21:26:50.523Z [4567/23090] - info: NodeBB v1.18.2 Copyright (C) 2013-2021 NodeBB Inc. 2021-09-22T21:26:50.524Z [4567/23090] - info: This program comes with ABSOLUTELY NO WARRANTY. 2021-09-22T21:26:50.524Z [4567/23090] - info: This is free software, and you are welcome to redistribute it under certain conditions. 2021-09-22T21:26:50.524Z [4567/23090] - info: 2021-09-22T21:26:50.525Z [4567/23090] - info: Initializing NodeBB v1.18.2 https://sudonix.com 2021-09-22T21:26:52.683Z [4567/23090] - info: [socket.io] Restricting access to origin: https://sudonix.com:* 2021-09-22T21:26:53.138Z [4567/23090] - warn: [plugins/load] The following plugins may not be compatible with your version of NodeBB. This may cause unintended behaviour or crashing. In the event of an unresponsive NodeBB caused by this plugin, run `./nodebb reset -p PLUGINNAME` to disable it. * nodebb-plugin-emoji 2021-09-22T21:26:53.299Z [4567/23090] - info: [reputation-rules] settings loaded 2021-09-22T21:26:53.305Z [4567/23090] - info: [plugins/spam-be-gone] Settings loaded 2021-09-22T21:26:53.343Z [4567/23090] - info: [api] Adding 0 route(s) to `api/v3/plugins` 2021-09-22T21:26:53.370Z [4567/23090] - info: [router] Routes added 2021-09-22T21:26:53.377Z [4567/23090] - info: NodeBB Ready 2021-09-22T21:26:53.379Z [4567/23090] - info: Enabling 'trust proxy' 2021-09-22T21:26:53.382Z [4567/23090] - info: NodeBB is now listening on: 0.0.0.0:4567
-
@baris said in Forum down after restart:
I suggest disabling all custom plugins and themes and see if the issue is still there
I actually disabled everything with
./nodebb reset
- exactly the same issue.I'm happy for this to run in
./nodebb dev
but will probably need to execute it as a cron job or something. I can't leave the remote SSH session running indefinitely for obvious reasons. -
@baris said in Forum down after restart:
Also modify your config.json to start only a single process and see if that makes a difference.
Can you provide an explanation of what is needed to do this ?
-
-
@baris said in Forum down after restart:
If your config.json has "port": [4567, 4568, 4569] then you change it to "port": "4567"
It doesn't. Just the one port
@baris said in Forum down after restart:
You say you disabled everything but your startup log still shows widgets.contentbetween I don't think that belongs in any of the core themes/plugins
I just enabled the widgets again. The content between notices are from modifications made in either widgets, or using customize. However, they've worked for months (actually since inception) without issues.
-
@phenomlab don't run in
./nodebb dev
long term. It doesn't enforce websocket origin and therefore leaves your users susceptible to cross site websocket hijacking. -
@pitaj Thanks. I read through the associated post you sent, and yes, it does sound like my particular issue but I am not seeing the need for a swap file on a system as large as mine.
The other NodeBB instance I have running is absolutely fine.
-
I'm curious to understand what exactly that error is I'm encountering and why NodeBB chooses to crash out at that point. Perhaps if I understood the reasoning, working towards a fix might be easier ?
Thanks for all the support thus far guys. Really appreciated.
-
@phenomlab I don't know what the error is, nor do I know why it's crashing there. The log looks incomplete but I don't know why that is either.
I'm as confused as you are. Searching for that be sendmail error results in nothing useful to me. I don't even know why sendmail would be involved in startup.
Maybe you're seeing outdated logs? Can you try renaming
logs/output.log
to something else and doing./nodebb slog
again?Have you tried chowning the files to the user you're running as?
-
@pitaj very odd. I deleted the log file and it was regenerated with
./NodeBB start
but it contains no entries and NodeBB still won't startWhat permissions should be assigned to folders and files ? 755 and 664 ? The username is already correct as far as I can see.
Thanks
-
So it works of you run with
node app
, right? No errors when you run that?Have you double checked to make sure all
node
processes are killed?If you're running with a single port, you might try using
screen
ortmux
to run withnode app
as a stopgap. That essentially the same as running with./nodebb dev
except all security checks stay in place.You could also try setting
"daemon": false
in config.json and try./nodebb start
with that.As for permissions, yeah make sure all files are owned by
nodebb:nodebb
and have 755 permissions.