@scottalanmiller Wow, that's quite the odd bug!
We get all the weird stuff 🙂
I tried to upgrade Nodebb from v1.12.2 to v1.13.3. After
./nodebb upgrade everything is fine except the build process, see screenshot for details. The process never ends after templates. I had a look in the folder and the data is there, but if I stop the process the frontend is broken.
The road to this point was quite bumpy. It took 3-4 attempts to come to this points. I had to clear a few npm-errors with missing dependencies. I tried to roll back completely from a backup, but the result is the same. I tried to upgrade to v1.14.x but the result is still the same.
OS: CentOS 7
Does anybody know how to resolve this problem?
Thanks for any help!
Does it build if you use persona theme?
Did you try building in series mode with
./nodebb build --series.
Does the server have enough ram?
Great, the build fininshed with
./nodebb build --series. Thanks!
I will keep this command. After that I tried again
./nodebb upgrade and monitored with
top the ram an CPU usage. The build process broke with an error
Error occurred during upgrade: Error: ENOMEM: not enough memory, read
I got this error the first time. In all my other attemps no error occured.
How much ram is recommended for the usage of nodebb?
@suparomana Define "Usage"
How much provisioning did you allocate? In my experience, one needs a fair bit more RAM for builds than day to day operations. Ditto CPU horsepower. The --series flag is news to me as well. If that still takes too long to build: Do you have the ability to scale up provisioning for builds and then scale back down for day to day operations?
1gb ram with some swap is usually fine to run
@baris 1gb ram is a lot.. we are running our forum on a shared host, so I can not increase the amount of ram.
Nodebb is running very smoothly and super fast there and we get a lot of positive feedback from our users. Our complete userbase is about 600 users big and we never had a performance issue in about 3 years.
I assume that the needed ram could be a problem for a lot of nodebb users. Do you think it would be possible to make the
--series option available for the
./nodebb build --series ? If yes, where should I place this request?
@suparomana what are you asking for? Doesn't
./nodebb build --series already work?
If you're asking to make it the default, there's also the option of placing
"series": true in your config.json
@pitaj great! This is what I am looking for. And you understood it even though I wrote it wrong. Actually I would ask for
./nodebb upgrade --series but a config option is much better. Thank you! It would be great if you could include this option in the documentation.