Publishing failed – WordPress – OVH – 2018

If you get the message “Publishing failed” with WordPress 5, you most probably have to stop the firewall (the mod_security in Apache). With OVH you can do it like this (link to the official OVH guide). If it’s not enough, it most probably because you have the multi-site enabled. To you have to login at […]

Node JS – Hot to solve: code: ‘ENOMEM’, errno: ‘ENOMEM’, syscall: ‘spawn’

If with node.js you get the bug ” code: ‘ENOMEM’, errno: ‘ENOMEM’, syscall: ‘spawn’ ” you can create a swap file to solve the problem. Here is how to create a swap of 2GB on ubuntu: sudo fallocate -l 2G /swapfile sudo chmod 600 /swapfile sudo mkswap /swapfile sudo swapon /swapfile #Make it persistent after reboot: echo […]