Ghost won't update

I’m on 2.18.1 trying to update to the latest version. I’m not techy at all, sorry if I don’t understand.

✔ Checking system Node.js version
✔ Ensuring user is not logged in as ghost user
✔ Checking if logged in user is directory owner
✔ Checking current folder permissions
✔ Checking folder permissions
✔ Checking file permissions
✔ Checking content folder ownership
✔ Checking memory availability
✔ Checking for available migrations
✔ Checking for latest Ghost version

<--- Last few GCs --->

[8829:0x557ed1b0d180]    53100 ms: Scavenge 21.2 (26.1) -> 20.5 (26.1) MB, 51.9                                                                                                                                                              / 0.8 ms  allocation failure


<--- JS stacktrace --->

==== JS stack trace =========================================

Security context: 0x35b5a8a18fe1 <JSObject>
    2: build [/usr/local/lib/node_modules/ghost-cli/node_modules/chalk/index.js:                                                                                                                                                             120] [bytecode=0x25a582c38341 offset=11](this=0x25a582c2e119 <JSFunction Chalk.c                                                                                                                                                             halk.template (sfi = 0x25a582c2db41)>,_styles=0x66a4d4fff59 <JSArray[1]>,_empty=                                                                                                                                                             0x35b5a8a02241 <undefined>,key=0x35b5a8a7cb31 <String[4]: cyan>)
    3: get [/usr/local/lib/node_modules/ghost-cli/node_modules/chalk/index.js:61                                                                                                                                                             ] [bytecode=0...

FATAL ERROR: Committing semi space failed. Allocation failed - process out of me                                                                                                                                                             mory
 1: node::Abort() [ghost update]
 2: 0x557ecfa159b1 [ghost update]
 3: v8::Utils::ReportOOMFailure(char const*, bool) [ghost update]
 4: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [ghost update]
 5: v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector,                                                                                                                                                              v8::GCCallbackFlags) [ghost update]
 6: v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::intern                                                                                                                                                             al::GarbageCollectionReason, v8::GCCallbackFlags) [ghost update]
 7: v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationSp                                                                                                                                                             ace) [ghost update]
 8: v8::internal::Runtime_AllocateInNewSpace(int, v8::internal::Object**, v8::in                                                                                                                                                             ternal::Isolate*) [ghost update]
 9: 0x15e025f040bd
Aborted (core dumped)

Im not programmer, but the line

FATAL ERROR: Committing semi space failed. Allocation failed - process out of me mory

Makes me think your server has insufficient RAM memory. Do you know how much free Ram you have?
(or maybe disk space which is more rare i think)

 total        used        free      shared  buff/cache   available
Mem:           985M        605M        111M         12M        268M        227M
Swap:            0B          0B          0B

I’m not sure what takes up memory.

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