I don't know if Zeit Now (while really cool!) would work for NodeBB... NodeBB is a web application, and does lots of stuff in the background that relies on a server running. To have a service that spins up whenever a request comes in would be much too slow, if only because that first spin up would take many seconds!
No sorry, that didn't solve. But following worked:
After importing mybb, upgrade it to v1.16.0 which produces "Error: ENOENT: no such file or directory, open '/nodebb/node_modules/nodebb-plugin-require/plugin.json' " as mentioned above.
Back up both database and any image files imported from mybb under public/uploads/files
Delete whole nodebb files and database
Install original v1.16.0 (git clone -b v1.16.x https://github.com/NodeBB/NodeBB.git)
Remove only the database, then restore database and image files using backups
Works well, it doesn't produce any error even after installing quickstart plugin.
Additionally, https://github.com/NodeBB/nodebb-plugin-quickstart doesn't work on v1.16.0.
It shows following error on Chrome and the page got frozen while loading:
colorpicker.js:11 Uncaught TypeError: n.ColorPicker is not a function
at HTMLInputElement.<anonymous> (colorpicker.js:11)
at Function.each (jquery.js:381)
at C.fn.init.each (jquery.js:203)
at Object.n.enable (colorpicker.js:8)
at o (admin.js:31)
at Object.i.init (admin.js:9)
at Object.execCb (require.js:1696)
at n.check (require.js:883)
at n.<anonymous> (require.js:1139)
Anyways, it's not to be discussed here I guess.
Thank you very much!
Yes I have already checked it. I have found a docker image created by @nopz, this one is up-to-date. But the official docker image in not! Maybe you (nodebb) should give access to a dockerfile to allow anyone to build a nodebb docker image. EDIT I found the dockerfile, and the problem about this outdated version here. It's outdated because the dockerfile build the image with the v0.5.x version :
MAINTAINER NodeBB Docker Team <firstname.lastname@example.org>
# install main packages:
RUN yum -y update ; yum clean all
RUN yum -y install epel-release tar ; yum clean all
RUN yum -y install wget ; yum clean all
RUN yum -y groupinstall "Development Tools"
RUN yum -y install nodejs git ImageMagick npm
RUN yum -y install openssl openssl-devel
# clone nodebb and install it
RUN cd /opt ; git clone -b v0.5.x https://github.com/NodeBB/NodeBB nodebb
RUN cd /opt/nodebb ; npm install
# Create a nodebb volume
# Define a working directory
# Expose ports
CMD [ "node", "app.js" ]
You should (NodeBB) update this dockerfile !
End of the EDIT
Now, with the nopz/nodebb image I just had a problem about plugin persistence. But the first installation is so much easier and automatic with just one docker.