问题描述
我有一个 docker 文件,其中运行 ./console 命令来更新 matomo 中的自定义变量,但是在以下堆栈跟踪中成功构建后运行此命令时
[Zend_Db_Adapter_Exception]
sqlSTATE[HY000] [2002] PHP_network_getaddresses: getaddrinfo Failed: Name or service not kNown
[PDOException]
sqlSTATE[HY000] [2002] PHP_network_getaddresses: getaddrinfo Failed: Name or service not kNown
[PDOException]
PDO::__construct(): PHP_network_getaddresses: getaddrinfo Failed: Name or service not kNown`
使用 matomo 运行的命令是 CMD ./console customvariables:set-max-custom-variables 10
但是这个错误仍然存在,有没有人遇到过这个问题?我使用的是 matomo:3.14.1
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)