Debian 9 runs mariadb 10.1 and the problem is when the database is created:
root@openmediavault:~# mysql -u root pacsdb < /var/lib/dcm4chee/sql/create.mysql
ERROR 1709 (HY000) at line 23: Index column size too large. The maximum column size is 767 bytes.
I guess there is a solution to fix that issue but I don't have time to work on that during next weeks.
Installing the package with an existing dcm4chee database works correctly.