When I upgrade the version of discourse from 2.8.0 to 2.9.0 it always shows this error.
OS is centos 8.0,1C2G
Can someone help me?
error.txt (3.3 KB)
Update to Latest Version Error
daming encountered an error when updating Discourse from 2.8.0 to 2.9.0 on CentOS 8.0 with 1 CPU and 2GB RAM. pfaffman asked how the update was installed, suggesting that the error message shown was incomplete.
IAmGav suggested running sudo dnf makecache, sudo dnf update, and sudo dnf upgrade to resolve the issue. JammyDodger suspected the error code 137 was due to running out of memory and shared a link to a similar issue on meta.discourse.org.
daming confirmed the possibility of a memory issue and planned to upgrade the server configuration in a few months. JammyDodger and balupton suggested workarounds, including adding swap space to the server, which daming planned to try.
When I upgrade the version of discourse from 2.8.0 to 2.9.0 it always shows this error.
OS is centos 8.0,1C2G
Can someone help me?
error.txt (3.3 KB)
How did you install?
The error is above what you showed.
My Centos is a bit rusty, but try and run the update
sudo dnf makecachesudo dnf updatesudo dnf upgradeOK
I updated the post
OK, thanks. I will try.
I think error code 137 is out of memory?
There was a recent topic with a similar issue that might help:
Fine, maybe you are right
Few month later I will update my sever
If you read through that topic, there were a couple of workarounds you could try beforehand?
Yeah, sure! Thank you
Are you up and running again? ![]()
No, I will try again after upgrading the server configuration in two to three months.
If your server doesn’t have swap, which you can check on your server by running the free command, then you could add swap rather than upgrading your server:
Thanks, I will try In the weekend.