I will re-install the server once more, run the script again and then try to inspect the log and pinpoint what am I doing wrong. I will report if/when I have more info.
This is the error I am getting:
$ vips --version
vips: error while loading shared libraries: libvips.so.29: cannot open shared object file: No such file or directory
Here is the output of ldd:
linux-vdso.so.1 => (0x00007fffbdfd0000)
libvips.so.29 => not found
libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007fa326701000)