装docker 的时候报错:

debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 78.)
debconf: falling back to frontend: Readline

需要安装dialog。提示中提到的Dialog其实是一个可视化工具的名称。Dialog工具提供了在Shell中使用对话框的方式展示各类问题、信息的方式,这些问题包括Yes/No选项、菜单、文本框、单选框、复选框等等。换句话说,安装MySQL时提示设定的管理员密码;安装Postfix时要求输入的Hostname;选定时区的时区选择框等等都是由Dialog工具实现的。

解决方法:

apt-get install dialog

FROM:
https://www.kaijia.me/2015/09/unable-to-initialize-frontend-dialog-issue-solved/

这个应用需要进去先执行

./occ maps:scan-photos

以扫描已经存在的照片,主要是读取EXIF中的位置信息。
但是需要以config/config.php的属主用户身份来执行。
su www-data的时候,无法切换到www-data用户。
执行:

su -l www-data -s /bin/bash

即可