I am on a 2GB RAM VPS (from Hetzner) with a typical Discourse setup. Trying to upgrade from the latest 1.5 beta14 via web /admin/upgrade I get a memory error:
Errno::ENOMEM: Cannot allocate memory
My memory situation seems ok:
root@elio /var/discourse # free -hm total used free shared buffers cached Mem: 2.0G 1.7G 276M 251M 20M 417M -/+ buffers/cache: 1.3G 714M Swap: 0B 0B 0B
The tail of the error log is:
After aborting this upgrade, D. shows me that I am on v1.6.0.beta1 +14 (b0f4c9e). It’s strange.
The last recommended upgrade (somewhere in the later 1.5 beta) it happened the same, and I did the upgrade from terminal successfully:
./launcher rebuild app
I can rebuild the app again in this way, I don’t care, but perhaps this issue has some interest for Discourse developers. Should I dig deeper?