Memory availability error on upgrade


#1

I’m running two personal sites on a 1GB RAM DigitalOcean droplet and have been for several years (was actually at 512MB droplet until recently). Trying to upgrade from 1.21.6 to 1.22.1. I’m getting an error message now that Ghost recommends you have at least 150MB of memory available for smooth operation. It looks like you have 75 MB available.

Hey, this works just fine and has for a while, so I’ll just upgrade with ‘-force’. Well, that doesn’t work, it skips updating. Ghost Doctor gives me essentially the same error message.

The obvious version would be to upgrade to more than a 1 GB plan, I get it, but this has worked on a much smaller droplet for a long time. Anything I can do to get this to work?


#2

So there’s a bug in the memory checker logic because of the way the native free memory library works. There is a fix in progress, but in the meantime you can add the --no-mem-check flag to ignore the check


#3

That is fantastic. Thanks so much!


#4

Just use Docker :wink: There you can just pull an updated image…


#5

Does docker use ghost start in the background? If it does then you’ll have the issue :wink:


#6

No it doesn’t. It uses node directly.


#7

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.