Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/85.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Blockchain 输入密码后stellar docker image db init失败_Blockchain_Cryptocurrency_Stellar - Fatal编程技术网

Blockchain 输入密码后stellar docker image db init失败

Blockchain 输入密码后stellar docker image db init失败,blockchain,cryptocurrency,stellar,Blockchain,Cryptocurrency,Stellar,首次尝试在持久模式下运行stellar docker image,并在输入和确认新密码后收到此错误: pq: password authentication failed for user "stellar" 码头工人指令 我查看了如何编辑pg_hba.conf,但没有看到已配置的主要用户 此外,我还验证了stellar-core.cfg是否具有安装过程中定义的正确db密码。我在使用特殊字符的密码时遇到了完全相同的问题,这些特殊字符对于sed来说太花哨了,无法处理?。然后我重新创建了“/o

首次尝试在持久模式下运行stellar docker image,并在输入和确认新密码后收到此错误:

  pq: password authentication failed for user "stellar"
码头工人指令 我查看了如何编辑pg_hba.conf,但没有看到已配置的主要用户


此外,我还验证了stellar-core.cfg是否具有安装过程中定义的正确db密码。

我在使用特殊字符的密码时遇到了完全相同的问题,这些特殊字符对于sed来说太花哨了,无法处理?。然后我重新创建了“/opt/stellar”共享卷,并将stellarpasswd用作新的Postgresql密码。成功了!:

另一条信息,也许更重要。我还向我的主机添加了用户stellar。当默认配置重新同步到“/opt/stellar”时,如果主机上没有该用户,这可能无法正常工作

  docker run --rm -it -p "8000:8000" -v "/dev/stellar:/opt/stellar" --name stellar stellar/quickstart --testnet