No $EDITOR set in environment
There is no $EDITOR set in environment; some tools refuse to work.
root@turr1x:~# echo $EDITOR && crontab -e
/bin/sh: /usr/bin/vi: not found
crontab: "/usr/bin/vi" exited with status 127
I would prefer to set the EDITOR /usr/bin/vim
in global .bashrc file located at /etc/bash.bashrc