Giter Site home page Giter Site logo

rez0n / docker-nodebb Goto Github PK

View Code? Open in Web Editor NEW
29.0 1.0 13.0 12 KB

NodeBB forum software Docker image with persistent storage support. k8s tested.

Home Page: https://hub.docker.com/r/nibrev/nodebb

Dockerfile 29.22% Shell 65.14% JavaScript 5.64%
nodebb k8s docker

docker-nodebb's Introduction

Hi there ๐Ÿ‘‹

I'm Linux systems engineer, Docker and Ansible passionate, Django developer.

  • ๐Ÿ”ญ Working on Docker environments, Ansbile automation
  • ๐Ÿค” Creating CI/CD pipelines using Github Actions, Bitbucket Pipelines
  • ๐ŸŒฑ Python development (Flask/Django)
  • โš™๏ธ Favourite tools: VSCode, Fork, Proxmox, DigitalOcean
  • ๐Ÿ‘ฏ Raspberry Pi fan

docker-nodebb's People

Contributors

rez0n avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

docker-nodebb's Issues

Nodebb not connecting with DB on v1.18.5

On upgrading image from 1.18.1 to v1.18.5, nodebb service is chrasing with following error.

2021-11-28T10:48:21.789Z [4567/11] - error: TypeError [ERR_INVALID_URL]: Invalid URL: mongodb://mongodb:27017:"27017"

    at onParseError (internal/url.js:258:9)

    at new URL (internal/url.js:334:5)

    at new HostAddress (/usr/src/app/node_modules/mongodb/lib/utils.js:1041:36)

    at fromString (/usr/src/app/node_modules/mongodb/lib/utils.js:1085:16)

    at Array.map (<anonymous>)

    at Object.parseOptions (/usr/src/app/node_modules/mongodb/lib/connection_string.js:213:45)

    at new MongoClient (/usr/src/app/node_modules/mongodb/lib/mongo_client.js:62:46)

    at Function.connect (/usr/src/app/node_modules/mongodb/lib/mongo_client.js:184:33)

    at Object.connection.connect (/usr/src/app/src/database/mongo/connection.js:61:27)

    at mongoModule.init (/usr/src/app/src/database/mongo.js:63:28)

Tried with mongodb 4.4 and 5. Reverting nodebb image back starts to work again. Have there been any changes to the way configs are done with the new version?

App is crashing in k8s setup

Im struggeling with getting nodebb to run in kubernetes cluster. I was very glad to find your project but sadly I'm not getting it to work at the moment. I was hoping if you could give some suggestions where to look next.

I've setup a deployment with persistant storage (GKE). when I deploy it crashes with nothing special in the log, see image below. Its hard to see exactly where it loops but it seems to be after the first mongo error.

image: nibrev/nodebb:v1.17.1

image

Deployment yaml:

apiVersion: apps/v1
kind: Deployment
metadata:
  annotations:
    deployment.kubernetes.io/revision: "1"
    meta.helm.sh/release-name: nodebb
    meta.helm.sh/release-namespace: default
  creationTimestamp: "2021-06-30T21:17:07Z"
  generation: 1
  labels:
    app.kubernetes.io/instance: nodebb
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: nrb-forum
    app.kubernetes.io/version: v1.17.1
    helm.sh/chart: xxx-1.17.1
  managedFields:
  - apiVersion: apps/v1
    fieldsType: FieldsV1
    fieldsV1:
     ...
    manager: Go-http-client
    operation: Update
    time: "2021-06-30T21:17:07Z"
  - apiVersion: apps/v1
    fieldsType: FieldsV1
    fieldsV1:
     ...
    manager: kube-controller-manager
    operation: Update
    time: "2021-06-30T21:43:37Z"
  name: nodebb-nrb-forum
  namespace: default
  resourceVersion: "183755718"
  uid: 50938ec4-235a-4db1-9761-e3d87c8bba7e
spec:
  progressDeadlineSeconds: 600
  replicas: 1
  revisionHistoryLimit: 10
  selector:
    matchLabels:
      app.kubernetes.io/instance: nodebb
      app.kubernetes.io/name: nrb-forum
  strategy:
    rollingUpdate:
      maxSurge: 25%
      maxUnavailable: 25%
    type: RollingUpdate
  template:
    metadata:
      creationTimestamp: null
      labels:
        app.kubernetes.io/instance: nodebb
        app.kubernetes.io/name: nrb-forum
    spec:
      containers:
      - env:
        - name: DATABASE
          value: mongo
        - name: DB_NAME
          value: nodebb
        - name: DB_USER
          value: test
        - name: DB_PASSWORD
          value: test
        - name: DB_HOST
          value: mongo-mongodb # resolves properly when i exec into the machine and run $ host mongo-mongodb
        - name: DB_PORT
          value: "27017"
        - name: URL
          value: https://my-url.example.com # got a proper one here
        image: nibrev/nodebb:v1.17.1
        imagePullPolicy: Always
        livenessProbe:
          failureThreshold: 3
          httpGet:
            path: /
            port: http
            scheme: HTTP
          periodSeconds: 10
          successThreshold: 1
          timeoutSeconds: 1
        name: nrb-forum
        ports:
        - containerPort: 4567
          name: http
          protocol: TCP
        readinessProbe:
          failureThreshold: 3
          httpGet:
            path: /
            port: http
            scheme: HTTP
          periodSeconds: 10
          successThreshold: 1
          timeoutSeconds: 1
        resources: {}
        securityContext: {}
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: File
        volumeMounts:
        - mountPath: /data
          name: beta-nodebb-pv
      dnsPolicy: ClusterFirst
      restartPolicy: Always
      schedulerName: default-scheduler
      securityContext: {}
      serviceAccount: nodebb-nrb-forum
      serviceAccountName: nodebb-nrb-forum
      terminationGracePeriodSeconds: 30
      volumes:
      - name: beta-nodebb-pv
        persistentVolumeClaim:
          claimName: beta-nodebb-pv-claim
status:
  conditions:
  - lastTransitionTime: "2021-06-30T21:17:07Z"
    lastUpdateTime: "2021-06-30T21:26:15Z"
    message: ReplicaSet "nodebb-nrb-forum-65dfdf6597" has successfully progressed.
    reason: NewReplicaSetAvailable
    status: "True"
    type: Progressing
  - lastTransitionTime: "2021-06-30T21:43:37Z"
    lastUpdateTime: "2021-06-30T21:43:37Z"
    message: Deployment does not have minimum availability.
    reason: MinimumReplicasUnavailable
    status: "False"
    type: Available
  observedGeneration: 1
  replicas: 1
  unavailableReplicas: 1
  updatedReplicas: 1

nodebb-plugin-recent-cards plugin persistence error

Good day!

I cannot start normally after restarting, and the plugin persistence is a bit abnormal

version: "2.2"

services:
  redis:
    image: redis:latest
    volumes: 
      - './redis/:/data/'
    ports:
      - '6379:6379'
  bbs:
    image: nibrev/nodebb:v1.16.2
    ports:
      - "4567:4567"
    volumes: 
      - './data:/data'
    environment:
      - URL=http://127.0.0.1:4567
      - DATABASE=redis
      - DB_NAME=0
      - DB_HOST=redis
      - DB_PORT=6379
bbs_1    |   started
bbs_1    | 2021-03-11T05:31:51.681Z [4567/12] - info: [build] Building in series mode
bbs_1    | 2021-03-11T05:31:51.682Z [4567/12] - info: [build]         plugin static dirs  build started
bbs_1    | 2021-03-11T05:31:51.685Z [4567/12] - info: [build]         plugin static dirs  build completed in 0.004sec
bbs_1    | 2021-03-11T05:31:51.685Z [4567/12] - info: [build]          requirejs modules  build started
bbs_1    | 2021-03-11T05:31:55.121Z [4567/12] - info: [build]          requirejs modules  build completed in 3.436sec
bbs_1    | 2021-03-11T05:31:55.122Z [4567/12] - info: [build]           client js bundle  build started
bbs_1    | 2021-03-11T05:31:56.462Z [4567/12] - info: [build]           client js bundle  build completed in 1.34sec
bbs_1    | 2021-03-11T05:31:56.463Z [4567/12] - info: [build]            admin js bundle  build started
bbs_1    | 2021-03-11T05:31:57.723Z [4567/12] - info: [build]            admin js bundle  build completed in 1.26sec
bbs_1    | 2021-03-11T05:31:57.723Z [4567/12] - info: [build]         client side styles  build started
bbs_1    | 2021-03-11T05:32:00.011Z [4567/12] - info: [build]         client side styles  build completed in 2.288sec
bbs_1    | 2021-03-11T05:32:00.011Z [4567/12] - info: [build] admin control panel styles  build started
bbs_1    | 2021-03-11T05:32:01.933Z [4567/12] - info: [build] admin control panel styles  build completed in 1.922sec
bbs_1    | 2021-03-11T05:32:01.933Z [4567/12] - info: [build]                  templates  build started
bbs_1    | 2021-03-11T05:32:02.240Z [4567/12] - info: [build]                  templates  build completed in 0.307sec
bbs_1    | 2021-03-11T05:32:02.240Z [4567/12] - info: [build]                  languages  build started
bbs_1    | 2021-03-11T05:32:04.328Z [4567/12] - info: [build]                  languages  build completed in 2.088sec
bbs_1    | 2021-03-11T05:32:04.328Z [4567/12] - info: [build] Asset compilation successful. Completed in 12.647sec.
bbs_1    | 
bbs_1    | Updating NodeBB...
bbs_1    | 
bbs_1    | 1. Updating package.json file with defaults...  OK
bbs_1    | 
bbs_1    | 2. Bringing base dependencies up to date...  started
bbs_1    | npm WARN [email protected] requires a peer of nodebb-plugin-emoji@^2.0.0 but none is installed. You must install peer dependencies yourself.
bbs_1    | npm WARN [email protected] requires a peer of textcomplete@^0.14.2 but none is installed. You must install peer dependencies yourself.
bbs_1    | 
bbs_1    | added 1 package from 1 contributor and audited 1293 packages in 5.712s
bbs_1    | 
bbs_1    | 32 packages are looking for funding
bbs_1    |   run `npm fund` for details
bbs_1    | 
bbs_1    | found 1 moderate severity vulnerability
bbs_1    |   run `npm audit fix` to fix them, or `npm audit` for details
bbs_1    | 
bbs_1    | 3. Checking installed plugins for updates...  OK
bbs_1    | 4. Updating NodeBB data store schema...
bbs_1    | Parsing upgrade scripts... 
bbs_1    | OK | 0 script(s) found, 101 skipped
bbs_1    | Schema update complete!
bbs_1    | 
bbs_1    | 
bbs_1    | 
bbs_1    |   NodeBB Upgrade Complete!
bbs_1    | 
bbs_1    | 
bbs_1    | NodeBB v1.16.2 Copyright (C) 2013-2014 NodeBB Inc.
bbs_1    | This program comes with ABSOLUTELY NO WARRANTY.
bbs_1    | This is free software, and you are welcome to redistribute it under certain conditions.
bbs_1    | For the full license, please visit: http://www.gnu.org/copyleft/gpl.html
bbs_1    | 
bbs_1    | Clustering enabled: Spinning up 1 process(es).
bbs_1    | 
bbs_1    | 2021-03-11T05:32:13.143Z [4567/67] - info: Initializing NodeBB v1.16.2 http://127.0.0.1:4567
bbs_1    | 2021-03-11T05:32:14.186Z [4567/67] - info: [socket.io] Restricting access to origin: http://127.0.0.1:*
bbs_1    | 2021-03-11T05:32:14.427Z [4567/67] - info: [api] Adding 0 route(s) to `api/v3/plugins`
bbs_1    | 2021-03-11T05:32:14.435Z [4567/67] - info: Routes added
bbs_1    | 2021-03-11T05:32:14.436Z [4567/67] - info: NodeBB Ready
bbs_1    | 2021-03-11T05:32:14.437Z [4567/67] - info: Enabling 'trust proxy'
bbs_1    | 2021-03-11T05:32:14.438Z [4567/67] - info: NodeBB is now listening on: 0.0.0.0:4567
bbs_1    | (node:67) UnhandledPromiseRejectionWarning: Error: Failed to lookup view "partials/nodebb-plugin-recent-cards/header" in views directory "/usr/src/app/build/public/templates"
bbs_1    |     at Function.render (/usr/src/app/node_modules/express/lib/application.js:580:17)
bbs_1    |     at Function.<anonymous> (/usr/src/app/src/webserver.js:11:63)
bbs_1    |     at internal/util.js:297:30
bbs_1    |     at new Promise (<anonymous>)
bbs_1    |     at Function.renderAsync (internal/util.js:296:12)
bbs_1    |     at Object.plugin.renderWidget [as method] (/usr/src/app/node_modules/nodebb-plugin-recent-cards/library.js:92:26)
bbs_1    |     at processTicksAndRejections (internal/process/task_queues.js:97:5)
bbs_1    | (node:67) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
bbs_1    | (node:67) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
bbs_1    | (node:67) UnhandledPromiseRejectionWarning: Error: Failed to lookup view "partials/nodebb-plugin-recent-cards/header" in views directory "/usr/src/app/build/public/templates"
bbs_1    |     at Function.render (/usr/src/app/node_modules/express/lib/application.js:580:17)
bbs_1    |     at Function.<anonymous> (/usr/src/app/src/webserver.js:11:63)
bbs_1    |     at internal/util.js:297:30
bbs_1    |     at new Promise (<anonymous>)
bbs_1    |     at Function.renderAsync (internal/util.js:296:12)
bbs_1    |     at Object.plugin.renderWidget [as method] (/usr/src/app/node_modules/nodebb-plugin-recent-cards/library.js:92:26)
bbs_1    |     at processTicksAndRejections (internal/process/task_queues.js:97:5)
bbs_1    | (node:67) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 4)
bbs_1    | (node:67) UnhandledPromiseRejectionWarning: Error: Failed to lookup view "partials/nodebb-plugin-recent-cards/header" in views directory "/usr/src/app/build/public/templates"
bbs_1    |     at Function.render (/usr/src/app/node_modules/express/lib/application.js:580:17)
bbs_1    |     at Function.<anonymous> (/usr/src/app/src/webserver.js:11:63)
bbs_1    |     at internal/util.js:297:30
bbs_1    |     at new Promise (<anonymous>)
bbs_1    |     at Function.renderAsync (internal/util.js:296:12)
bbs_1    |     at Object.plugin.renderWidget [as method] (/usr/src/app/node_modules/nodebb-plugin-recent-cards/library.js:92:26)
bbs_1    |     at processTicksAndRejections (internal/process/task_queues.js:97:5)
bbs_1    | (node:67) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 6)
bbs_1    | (node:67) UnhandledPromiseRejectionWarning: Error: Failed to lookup view "partials/nodebb-plugin-recent-cards/header" in views directory "/usr/src/app/build/public/templates"
bbs_1    |     at Function.render (/usr/src/app/node_modules/express/lib/application.js:580:17)
bbs_1    |     at Function.<anonymous> (/usr/src/app/src/webserver.js:11:63)
bbs_1    |     at internal/util.js:297:30
bbs_1    |     at new Promise (<anonymous>)
bbs_1    |     at Function.renderAsync (internal/util.js:296:12)
bbs_1    |     at Object.plugin.renderWidget [as method] (/usr/src/app/node_modules/nodebb-plugin-recent-cards/library.js:92:26)
bbs_1    |     at processTicksAndRejections (internal/process/task_queues.js:97:5)
bbs_1    | (node:67) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 8)
bbs_1    | (node:67) UnhandledPromiseRejectionWarning: Error: Failed to lookup view "partials/nodebb-plugin-recent-cards/header" in views directory "/usr/src/app/build/public/templates"
bbs_1    |     at Function.render (/usr/src/app/node_modules/express/lib/application.js:580:17)
bbs_1    |     at Function.<anonymous> (/usr/src/app/src/webserver.js:11:63)
bbs_1    |     at internal/util.js:297:30
bbs_1    |     at new Promise (<anonymous>)
bbs_1    |     at Function.renderAsync (internal/util.js:296:12)
bbs_1    |     at Object.plugin.renderWidget [as method] (/usr/src/app/node_modules/nodebb-plugin-recent-cards/library.js:92:26)
bbs_1    |     at processTicksAndRejections (internal/process/task_queues.js:97:5)
bbs_1    | (node:67) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 10)

1.17.1

hate to be that guy, but would love a 1.17.1 version. tried to upgrade it myself but really have no idea how docker packages work (or docker really...). Right now I get two different errors on 1.16.2 and 1.17.0 due to plugin versions, but 1.17.1 will fix it

Plugins get not persisted

Good day!

I'm facing the issue, that plugins I install after the initial setup vanish after container restart.

The settings are kept (apparently persisted in the Redis DB) but the actual plugins themselves (thos who are not shipped in the default installation) are gone.

Do you have the same experience? Am I doing something wrong? Here's the compose file I'm experimenting with:

version: "3"

services:
  forums-test:
    image: nibrev/nodebb:stable
    container_name: forums-test.example.org-app
    restart: always
    networks:
      - web
      - redis-net
    depends_on:
      - redis
    volumes:
      - ./data:/data
    environment:
      - URL="https://forums-test.example.org"
      - DATABASE="redis"
      - DB_HOST="redis"
      - DB_NAME="0"
      - DB_PORT="6379"
    labels:
      - traefik.enable=true
      - traefik.http.routers.forums-test.rule=Host(`forums-test.example.org`)
      - traefik.http.routers.forums-test.entrypoints=web-secure
      - traefik.http.routers.forums-test.tls=true
      - traefik.http.routers.forums-test.tls.certresolver=le
      - traefik.http.services.forums-test.loadbalancer.server.port=4567

  redis:
    image: redis:alpine
    container_name: forums-test.example.org-db
    hostname: redis
    restart: always
    networks:
      - redis-net
    volumes:
      - ./redis/data:/data
    labels:
      - traefik.enable=false

networks:
  redis-net:
  web:
    external: true

I experimented with mounting the node_modules as volume but I get all sorts of weird errors with that.

Any help is highly appreciated.

Cheers!

On ubuntu 20 and 18. Unable to create uploads folder automatically.

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.1 LTS"
NAME="Ubuntu"
VERSION="20.04.1 LTS (Focal Fossa)"

Error occurred during upgrade: TypeError: Cannot read property 'uploads' of undefined.

docker-compose was unable to create the uploads folder automatically. This caused nodebb container not to build the assets properly.

mkdir uploads

in the root folder fixed the issue.

PS. On MacOS it seemed to setup things file, this makes me believe it is a permissions issue.

FYI. my docker-compose file also setups a mongodb instance with a username and password for nodebb database.

Details of the setup here

Updating/Changing docker image in docker-compose doesn't upgrade an existing installation.

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.1 LTS"
NAME="Ubuntu"
VERSION="20.04.1 LTS (Focal Fossa)"

Existing Installation running on Nodebb Docker image NodeBB v1.15.0-rc.3 through nibrev/nodebb:beta

After changing the docker compose image to nibrev/nodebb:v1.15.0. Docker pulled the latest image but the container is stuck on old version.

Logs

benchpressjs] Unable to build or find a suitable native module, falling back to JS version.


[benchpressjs] This will result in much longer template build times.


[benchpressjs] prebuilt module failed to load: linux_72


[benchpressjs] If the above module is not available at `node_modules/benchpressjs/rust/benchpress-rs/pre-built/`,


[benchpressjs] you can manually build benchpress-rs following the instructions here:


[benchpressjs] `https://github.com/benchpressjs/benchpressjs/blob/master/README.md#manually-building-native-module`


2. Updating NodeBB data store schema...2020-11-05T12:46:32.375Z [4567/11] - warn: [cache-buster] could not read cache buster ENOENT: no such file or directory, open '/usr/src/app/build/cache-buster' {"errno":-2,"code":"ENOENT","syscall":"open","path":"/usr/src/app/build/cache-buster","stack":"Error: ENOENT: no such file or directory, open '/usr/src/app/build/cache-buster'"}




Parsing upgrade scripts... 


OK | 0 script(s) found, 99 skipped


Schema update complete!






3. Rebuilding assets...  started


2020-11-05T12:46:32.461Z [4567/11] - info: [build] Building in parallel mode


2020-11-05T12:46:32.461Z [4567/11] - info: [build]         plugin static dirs  build started


2020-11-05T12:46:32.464Z [4567/11] - info: [build]          requirejs modules  build started


2020-11-05T12:46:32.465Z [4567/11] - info: [build]           client js bundle  build started


2020-11-05T12:46:32.496Z [4567/11] - info: [build]            admin js bundle  build started


2020-11-05T12:46:32.497Z [4567/11] - info: [build]         client side styles  build started


2020-11-05T12:46:32.497Z [4567/11] - info: [build] admin control panel styles  build started


2020-11-05T12:46:32.498Z [4567/11] - info: [build]                  templates  build started


2020-11-05T12:46:32.498Z [4567/11] - info: [build]                  languages  build started


2020-11-05T12:46:33.003Z [4567/11] - info: [build]         plugin static dirs  build completed in 0.542sec


2020-11-05T12:46:38.295Z [4567/11] - info: [build]           client js bundle  build completed in 5.83sec


2020-11-05T12:46:38.296Z [4567/11] - info: [build]            admin js bundle  build completed in 5.8sec


2020-11-05T12:46:43.029Z [4567/11] - info: [build]          requirejs modules  build completed in 10.565sec


2020-11-05T12:46:50.256Z [4567/11] - info: [build]                  languages  build completed in 17.758sec


2020-11-05T12:46:51.636Z [4567/11] - info: [build]         client side styles  build completed in 19.139sec


2020-11-05T12:46:53.389Z [4567/11] - info: [build] admin control panel styles  build completed in 20.892sec


2020-11-05T12:46:55.444Z [4567/11] - info: [build]                  templates  build completed in 22.946sec


2020-11-05T12:46:55.445Z [4567/11] - info: [build] Asset compilation successful. Completed in 22.984sec.

  NodeBB Upgrade Complete!

NodeBB v1.15.0-rc.3 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).




2020-11-05T12:46:55.999Z [4567/99] - info: Initializing NodeBB v1.15.0-rc.3 https://discussplaces.com


[benchpressjs] Unable to build or find a suitable native module, falling back to JS version.


[benchpressjs] This will result in much longer template build times.


[benchpressjs] prebuilt module failed to load: linux_72


[benchpressjs] If the above module is not available at `node_modules/benchpressjs/rust/benchpress-rs/pre-built/`,


[benchpressjs] you can manually build benchpress-rs following the instructions here:


[benchpressjs] `https://github.com/benchpressjs/benchpressjs/blob/master/README.md#manually-building-native-module`


2020-11-05T12:46:57.708Z [4567/99] - info: [socket.io] Restricting access to origin: https://discussplaces.com:*


2020-11-05T12:46:57.909Z [4567/99] - warn:    [plugins/nodebb-theme-slick] The plugin.json field "library" is deprecated. Please use the package.json field "main" instead.


2020-11-05T12:46:57.931Z [4567/99] - warn: [plugins] Unable to load library for: nodebb-plugin-soundpack-default


2020-11-05T12:46:57.931Z [4567/99] - error: Error: Cannot find module '/usr/src/app/node_modules/nodebb-plugin-soundpack-default'


Require stack:


- /usr/src/app/src/plugins/index.js


- /usr/src/app/src/meta/configs.js


- /usr/src/app/src/meta/index.js


- /usr/src/app/src/start.js


- /usr/src/app/require-main.js


- /usr/src/app/app.js


    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:831:15)


    at Function.Module._load (internal/modules/cjs/loader.js:687:27)


    at Module.require (internal/modules/cjs/loader.js:903:19)


    at require (internal/modules/cjs/helpers.js:74:18)


    at Object.Plugins.requireLibrary (/usr/src/app/src/plugins/index.js:53:38)


    at registerHooks (/usr/src/app/src/plugins/load.js:159:13)


    at Plugins.loadPlugin (/usr/src/app/src/plugins/load.js:122:4)


    at async Plugins.reload (/usr/src/app/src/plugins/index.js:113:3)


    at async Plugins.init (/usr/src/app/src/plugins/index.js:86:2)


    at async initializeNodeBB (/usr/src/app/src/webserver.js:100:2)


2020-11-05T12:46:57.932Z [4567/99] - warn:    [plugins/nodebb-plugin-spam-be-gone] The plugin.json field "library" is deprecated. Please use the package.json field "main" instead.




2020-11-05T12:46:57.972Z [4567/99] - 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-composer-default


  * nodebb-plugin-markdown


  * nodebb-plugin-mentions


  * nodebb-widget-essentials


  * nodebb-rewards-essentials


  * nodebb-plugin-emoji


  * nodebb-plugin-emoji-android


  * nodebb-theme-slick


  * nodebb-plugin-dbsearch


  * nodebb-plugin-custom-pages


  * nodebb-plugin-soundpack-default


  * nodebb-plugin-spam-be-gone


  * nodebb-plugin-write-api




2020-11-05T12:46:58.068Z [4567/99] - info: [plugins/spam-be-gone] Settings loaded


2020-11-05T12:46:58.097Z [4567/99] - info: [api] Adding 0 route(s) to `api/v3/plugins`


2020-11-05T12:46:58.105Z [4567/99] - info: Routes added


2020-11-05T12:46:58.109Z [4567/99] - info: NodeBB Ready


2020-11-05T12:46:58.111Z [4567/99] - info: Enabling 'trust proxy'

There are bunch of other errors in the build flow, that may be a problem too. Portainer (docker monitoring/management software) shows that the image attached with the stack is actually nibrev/nodebb:v1.15.0. So my hunch is that

./nodebb upgrade

is not being called or failing.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.