Configuration can't be saved while running roundcubemail-installer
RCUBE_CONFIG_DIR value does not end with slash which prevents config.inc.php from being saved in /etc/roundcube. Instead server tries to save the file as /etc/roundcubeconfig.inc.php
Package: roundcubemail-installer
(from redmine: issue id 6991, created on 2017-03-09)