Some weird error while updating to 4.25.1

This is what the ghost restart action does after updating to 4.25.1

☱ Starting Ghost/usr/lib/node_modules/ghost-cli/lib/utils/port-polling.js:68
                    let {message: errMsg} = message.error;
                                  ^

TypeError: Cannot destructure property 'message' of 'message.error' as it is undefined.
    at Server.<anonymous> (/usr/lib/node_modules/ghost-cli/lib/utils/port-polling.js:68:35)
    at Object.onceWrapper (events.js:519:28)
    at Server.emit (events.js:400:28)
    at emitCloseNT (net.js:1677:8)
    at processTicksAndRejections (internal/process/task_queues.js:81:21)

Just got the same error on my DO droplet.

Hey all! :wave: This is a known bug and is being tracked here. The fix has already been merged into Ghost and it’ll be released soon. If you’re on 4.25.1 and stuck, you can follow the instructions here to rollback. :slightly_smiling_face:

This was fixed in v4.26.0 :slightly_smiling_face:

1 Like