Git 数字海洋![远程拒绝]主机->;主控(预接收)
我在数字海洋上安装了一个dokku水滴 自从更新dokku之后,我就无法用git推送它(我已经尝试了三个不同的应用程序——都因为同样的原因失败了)。我收到以下错误Git 数字海洋![远程拒绝]主机->;主控(预接收),git,express,digital-ocean,dokku,Git,Express,Digital Ocean,Dokku,我在数字海洋上安装了一个dokku水滴 自从更新dokku之后,我就无法用git推送它(我已经尝试了三个不同的应用程序——都因为同样的原因失败了)。我收到以下错误 remote: + usermod --home /app herokuishuser To example.com:redisapp ! [remote rejected] master -> master (pre-receive hook declined) error: failed t
remote: + usermod --home /app herokuishuser
To example.com:redisapp
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'dokku@example.com:redisapp'
我的应用程序是用node.js/express编写的,在我更新dokku之前,我已经能够推送它了。我已经启用了日志记录-这揭示了以下内容。我无法理解这件事,所以需要一些关于可能出现的问题的见解吗
Robs-MacBook-Pro:redis_app rob$ git push dokku master
Counting objects: 1589, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (1540/1540), done.
Writing objects: 100% (1589/1589), 1.85 MiB | 0 bytes/s, done.
Total 1589 (delta 314), reused 0 (delta 0)
-----> Cleaning up...
-----> Building redisapp from herokuish...
-----> Adding BUILD_ENV to build environment...
remote: + [[ -d /tmp/app ]]
remote: + cmd-export paths
remote: + declare 'desc=Exports a function as a command'
remote: + declare fn=paths as=paths
remote: + local ns=
remote: ++ cmd-list-ns
remote: ++ grep -v :
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :help
remote: ++ sort
remote: + CMDS["$ns:${as/#$ns-/}"]=paths
remote: + cmd-export version
remote: + declare 'desc=Exports a function as a command'
remote: + declare fn=version as=version
remote: + local ns=
remote: ++ cmd-list-ns
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :help
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :paths
remote: ++ sort
remote: ++ grep -v :
remote: + CMDS["$ns:${as/#$ns-/}"]=version
remote: + cmd-export herokuish-test test
remote: + declare 'desc=Exports a function as a command'
remote: + declare fn=herokuish-test as=test
remote: + local ns=
remote: ++ cmd-list-ns
remote: ++ ++ ++ sortgrep
remote: -v :
remote: for k in '"${!CMDS[@]}"'
remote: ++ echo :version
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :help
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :paths
remote: + CMDS["$ns:${as/#$ns-/}"]=herokuish-test
remote: + cmd-export-ns buildpack 'Use and install buildpacks'
remote: + declare ns=buildpack 'desc=Use and install buildpacks'
remote: + eval 'buildpack() {
remote: declare desc="Use and install buildpacks"
remote: cmd-ns buildpack "$@";
remote: }'
remote: + cmd-export buildpack
remote: + declare 'desc=Exports a function as a command'
remote: + declare fn=buildpack as=buildpack
remote: + local ns=
remote: ++ cmd-list-ns
remote: ++ sort
remote: ++ grep -v :
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :version
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :help
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :test
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :paths
remote: + CMDS["$ns:${as/#$ns-/}"]=buildpack
remote: + CMDS["$1"]=buildpack
remote: + cmd-export buildpack-build
remote: + declare 'desc=Exports a function as a command'
remote: + declare fn=buildpack-build as=buildpack-build
remote: + local ns=
remote: ++ cmd-list-ns
remote: ++ sort
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :version
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :help
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :test
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :buildpack
remote: ++ grep -v :
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :paths
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack
remote: + for n in '$(cmd-list-ns)'
remote: + grep '^buildpack-'
remote: + echo buildpack-build
remote: + ns=buildpack
remote: + CMDS["$ns:${as/#$ns-/}"]=buildpack-build
remote: + cmd-export buildpack-install
remote: + declare 'desc=Exports a function as a command'
remote: + declare fn=buildpack-install as=buildpack-install
remote: + local ns=
remote: ++ cmd-list-ns
remote: ++ ++ grep -v :
remote: ++ sort
remote: for k in '"${!CMDS[@]}"'
remote: ++ echo :version
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :help
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :test
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :buildpack
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :paths
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:build
remote: + for n in '$(cmd-list-ns)'
remote: + grep '^buildpack-'
remote: + echo buildpack-install
remote: + ns=buildpack
remote: + CMDS["$ns:${as/#$ns-/}"]=buildpack-install
remote: + cmd-export buildpack-list
remote: + declare 'desc=Exports a function as a command'
remote: + declare fn=buildpack-list as=buildpack-list
remote: + local ns=
remote: ++ cmd-list-ns
remote: ++ ++ grep -v :
remote: sort
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :version
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :help
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:install
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :test
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :buildpack
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :paths
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:build
remote: + for n in '$(cmd-list-ns)'
remote: + echo buildpack-list
remote: + grep '^buildpack-'
remote: + ns=buildpack
remote: + CMDS["$ns:${as/#$ns-/}"]=buildpack-list
remote: + cmd-export-ns slug 'Manage application slugs'
remote: + declare ns=slug 'desc=Manage application slugs'
remote: + eval 'slug() {
remote: declare desc="Manage application slugs"
remote: cmd-ns slug "$@";
remote: }'
remote: + cmd-export slug
remote: + declare 'desc=Exports a function as a command'
remote: + declare fn=slug as=slug
remote: + local ns=
remote: ++ cmd-list-ns
remote: ++ ++ sort
remote: for k in '"${!CMDS[@]}"'
remote: ++ echo :version
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :help
remote: ++ grep -v :
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:install
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :test
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :buildpack
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :paths
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:list
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:build
remote: + for n in '$(cmd-list-ns)'
remote: + grep '^buildpack-'
remote: + echo slug
remote: + CMDS["$ns:${as/#$ns-/}"]=slug
remote: + CMDS["$1"]=slug
remote: + cmd-export slug-import
remote: + declare 'desc=Exports a function as a command'
remote: + declare fn=slug-import as=slug-import
remote: + local ns=
remote: ++ cmd-list-ns
remote: ++ sort
remote: ++ grep -v :
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :version
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :help
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:install
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :test
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :buildpack
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :paths
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :slug
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:list
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:build
remote: + for n in '$(cmd-list-ns)'
remote: + echo slug-import
remote: + grep '^buildpack-'
remote: + for n in '$(cmd-list-ns)'
remote: + echo slug-import
remote: + grep '^slug-'
remote: + ns=slug
remote: + CMDS["$ns:${as/#$ns-/}"]=slug-import
remote: + cmd-export slug-generate
remote: + declare 'desc=Exports a function as a command'
remote: + declare fn=slug-generate as=slug-generate
remote: + local ns=
remote: ++ cmd-list-ns
remote: ++ grep -v :
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :version
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :help
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:install
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :test
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :buildpack
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :paths
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :slug
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug:import
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:list
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:build
remote: ++ sort
remote: + for n in '$(cmd-list-ns)'
remote: + grep '^buildpack-'
remote: + echo slug-generate
remote: + for n in '$(cmd-list-ns)'
remote: + grep '^slug-'
remote: + echo slug-generate
remote: + ns=slug
remote: + CMDS["$ns:${as/#$ns-/}"]=slug-generate
remote: + cmd-export slug-export
remote: + declare 'desc=Exports a function as a command'
remote: + declare fn=slug-export as=slug-export
remote: + local ns=
remote: ++ cmd-list-ns
remote: ++ ++ sort
remote: grep -v :
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :version
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :help
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:install
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :test
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug:generate
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :buildpack
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :paths
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :slug
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug:import
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:list
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:build
remote: + for n in '$(cmd-list-ns)'
remote: + echo slug-export
remote: + grep '^buildpack-'
remote: + for n in '$(cmd-list-ns)'
remote: + grep '^slug-'+ echo slug-export
remote:
remote: + ns=slug
remote: + CMDS["$ns:${as/#$ns-/}"]=slug-export
remote: + cmd-export-ns procfile 'Use Procfiles and run app commands'
remote: + declare ns=procfile 'desc=Use Procfiles and run app commands'
remote: + eval 'procfile() {
remote: declare desc="Use Procfiles and run app commands"
remote: cmd-ns procfile "$@";
remote: }'
remote: + cmd-export procfile
remote: + declare 'desc=Exports a function as a command'
remote: + declare fn=procfile as=procfile
remote: + local ns=
remote: ++ cmd-list-ns
remote: ++ sort
remote: ++ grep -v :
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :version
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :help
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:install
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :test
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug:generate
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :buildpack
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :paths
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :slug
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug:import
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:list
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug:export
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:build
remote: + for n in '$(cmd-list-ns)'
remote: + echo procfile
remote: + grep '^buildpack-'
remote: + for n in '$(cmd-list-ns)'
remote: + + echo procfile
remote: grep '^slug-'
remote: + CMDS["$ns:${as/#$ns-/}"]=procfile
remote: + CMDS["$1"]=procfile
remote: + cmd-export procfile-start
remote: + declare 'desc=Exports a function as a command'
remote: + declare fn=procfile-start as=procfile-start
remote: + local ns=
remote: ++ cmd-list-ns
remote: ++ grep -v :
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :version
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :help
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :procfile
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:install
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :test
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug:generate
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :buildpack
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :paths
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :slug
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug:import
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:list
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug:export
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:build
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo procfile
remote: ++ sort
remote: + for n in '$(cmd-list-ns)'
remote: + grep '^buildpack-'
remote: + echo procfile-start
remote: + for n in '$(cmd-list-ns)'
remote: + echo procfile-start
remote: + grep '^procfile-'
remote: + ns=procfile
remote: + for n in '$(cmd-list-ns)'
remote: + + echo procfile-start
remote: grep '^slug-'
remote: + CMDS["$ns:${as/#$ns-/}"]=procfile-start
remote: + cmd-export procfile-exec
remote: + declare 'desc=Exports a function as a command'
remote: + declare fn=procfile-exec as=procfile-exec
remote: + local ns=
remote: ++ cmd-list-ns
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ ++ echo sort
remote: :version
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :help
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :procfile
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:install
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo procfile:start
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :test
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug:generate
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :buildpack
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :paths
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :slug
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug:import
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:list
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug:export
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:build
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo procfile
remote: ++ grep -v :
remote: + for n in '$(cmd-list-ns)'
remote: + + echo procfile-exec
remote: grep '^buildpack-'
remote: + for n in '$(cmd-list-ns)'
remote: + echo procfile-exec
remote: + grep '^procfile-'
remote: + ns=procfile
remote: + for n in '$(cmd-list-ns)'
remote: + grep '^slug-'
remote: + echo procfile-exec
remote: + CMDS["$ns:${as/#$ns-/}"]=procfile-exec
remote: + cmd-export procfile-parse
remote: + declare 'desc=Exports a function as a command'
remote: + declare fn=procfile-parse as=procfile-parse
remote: + local ns=
remote: ++ cmd-list-ns
remote: ++ sort
remote: ++ grep -v :
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :version
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :help
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :procfile
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:install
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo procfile:start
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :test
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug:generate
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :buildpack
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :paths
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :slug
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug:import
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:list
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug:export
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:build
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo procfile:exec
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo procfile
remote: + for n in '$(cmd-list-ns)'
remote: + grep '^buildpack-'
remote: + echo procfile-parse
remote: + for n in '$(cmd-list-ns)'
remote: + grep '^procfile-'
remote: + echo procfile-parse
remote: + ns=procfile
remote: + for n in '$(cmd-list-ns)'
remote: + grep '^slug-'
remote: + echo procfile-parse
remote: + CMDS["$ns:${as/#$ns-/}"]=procfile-parse
remote: + case "$SELF" in
remote: + buildpack-build
remote: + declare 'desc=Build an application using installed buildpacks'
remote: + ensure-paths
remote: + mkdir -p /app /tmp/env /tmp/build /cache /tmp/buildpacks
remote: + [[ -n herokuishuser ]]
remote: + buildpack-setup
remote: + export APP_DIR=/app
remote: + APP_DIR=/app
remote: + export HOME=/app
remote: + HOME=/app
remote: + export REQUEST_ID=build-3197
remote: + REQUEST_ID=build-3197
remote: + export STACK=cedar-14
remote: + STACK=cedar-14
remote: + cp -r /app/. /tmp/build
remote: + usermod --home /app herokuishuser
To example.com:redisapp
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'dokku@example.com:redisapp'
如果我使用SSH连接到服务器,并运行dokku应用程序
,我会看到列出的应用程序。我破坏了它,然后再试一次。我再次看到应用程序列表
将BUILD_ENV添加到构建环境时,它似乎失败了
我花了两个小时在谷歌上搜索,尝试了各种各样的方法,从增加可用内存到设置环境变量,但都不管用
我还删除了远程和本地git存储库,并重新设置了它们-这不起作用
有人对我应该去哪里找有什么建议或指导吗
**编辑**
我已经更新了服务器,使其运行最新的一切。清理docker并更新dokku。仍然无法工作。纯粹是偶然,我偶然发现: 这已经被证实是Dokku中的一个bug。您可以在GitHub上查看问题 升级buildstep将解决以下问题:
$ git clone https://github.com/progrium/buildstep.git
$ cd buildstep
$ git pull origin master
$ sudo make build
这是名单上的最后一条评论。我不知道为什么这样行。。我假设这是因为当我更新dokku时,有一堆东西没有结转?把这个放在这里是一个答案-但我不认为它是正确的,因为它缺乏解释。因此,它不会得到滴答声
@谢谢你在评论中的留言。在此附上日志文件
root@xxx:/# apt-get install herokuish
Reading package lists... Done
Building dependency tree
Reading state information... Done
herokuish is already the newest version (0.3.18).
herokuish set to manually installed.
The following packages were automatically installed and are no longer required:
libcgi-fast-perl libcgi-pm-perl libclass-accessor-perl libfcgi-perl libio-string-perl libsub-name-perl libsystemd-journal0
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up dokku (0.7.2) ...
Purging old database entries in /usr/share/man...
Processing manual pages under /usr/share/man...
Purging old database entries in /usr/share/man/fr.UTF-8...
Processing manual pages under /usr/share/man/fr.UTF-8...
Purging old database entries in /usr/share/man/tr...
Processing manual pages under /usr/share/man/tr...
Purging old database entries in /usr/share/man/fi...
Processing manual pages under /usr/share/man/fi...
Purging old database entries in /usr/share/man/ko...
Processing manual pages under /usr/share/man/ko...
Purging old database entries in /usr/share/man/da...
Processing manual pages under /usr/share/man/da...
Purging old database entries in /usr/share/man/pt_BR...
Processing manual pages under /usr/share/man/pt_BR...
Purging old database entries in /usr/share/man/nb...
Processing manual pages under /usr/share/man/nb...
Purging old database entries in /usr/share/man/ro...
Processing manual pages under /usr/share/man/ro...
Purging old database entries in /usr/share/man/hu...
Processing manual pages under /usr/share/man/hu...
Purging old database entries in /usr/share/man/vi...
Processing manual pages under /usr/share/man/vi...
Purging old database entries in /usr/share/man/id...
Processing manual pages under /usr/share/man/id...
Purging old database entries in /usr/share/man/pl...
Processing manual pages under /usr/share/man/pl...
Purging old database entries in /usr/share/man/uk...
Processing manual pages under /usr/share/man/uk...
Purging old database entries in /usr/share/man/sv...
Processing manual pages under /usr/share/man/sv...
Purging old database entries in /usr/share/man/fr...
Processing manual pages under /usr/share/man/fr...
Purging old database entries in /usr/share/man/zh...
Processing manual pages under /usr/share/man/zh...
Purging old database entries in /usr/share/man/sl...
Processing manual pages under /usr/share/man/sl...
Purging old database entries in /usr/share/man/es...
Processing manual pages under /usr/share/man/es...
Purging old database entries in /usr/share/man/it...
Processing manual pages under /usr/share/man/it...
Purging old database entries in /usr/share/man/eo...
Processing manual pages under /usr/share/man/eo...
Purging old database entries in /usr/share/man/fr.ISO8859-1...
Processing manual pages under /usr/share/man/fr.ISO8859-1...
Purging old database entries in /usr/share/man/pt...
Processing manual pages under /usr/share/man/pt...
Purging old database entries in /usr/share/man/sk...
Processing manual pages under /usr/share/man/sk...
Purging old database entries in /usr/share/man/ja...
Processing manual pages under /usr/share/man/ja...
Purging old database entries in /usr/share/man/de...
Processing manual pages under /usr/share/man/de...
Purging old database entries in /usr/share/man/hr...
Processing manual pages under /usr/share/man/hr...
Purging old database entries in /usr/share/man/zh_CN...
Processing manual pages under /usr/share/man/zh_CN...
Purging old database entries in /usr/share/man/zh_TW...
Processing manual pages under /usr/share/man/zh_TW...
Purging old database entries in /usr/share/man/cs...
Processing manual pages under /usr/share/man/cs...
Purging old database entries in /usr/share/man/sr...
Processing manual pages under /usr/share/man/sr...
Purging old database entries in /usr/share/man/el...
Processing manual pages under /usr/share/man/el...
Purging old database entries in /usr/share/man/ru...
Processing manual pages under /usr/share/man/ru...
Purging old database entries in /usr/share/man/nl...
Processing manual pages under /usr/share/man/nl...
Purging old database entries in /usr/local/man...
Processing manual pages under /usr/local/man...
0 man subdirectories contained newer manual pages.
0 manual pages were added.
0 stray cats were added.
0 old database entries were purged.
docker:x:999:dokku
Setting up storage directories
Setting up plugin directories
Migrating old plugins
Enabling all core plugins
find: File system loop detected; ‘/var/lib/dokku/core-plugins/available/named-containers/named-containers’ is part of the same file system loop as ‘/var/lib/dokku/core-plugins/available/named-containers’.
find: File system loop detected; ‘/var/lib/dokku/core-plugins/enabled/named-containers/named-containers’ is part of the same file system loop as ‘/var/lib/dokku/core-plugins/enabled/named-containers’.
find: File system loop detected; ‘/var/lib/dokku/plugins/available/named-containers/named-containers’ is part of the same file system loop as ‘/var/lib/dokku/plugins/available/named-containers’.
find: File system loop detected; ‘/var/lib/dokku/plugins/enabled/named-containers/named-containers’ is part of the same file system loop as ‘/var/lib/dokku/plugins/enabled/named-containers’.
dpkg: error processing package dokku (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
dokku
N: Ignoring file '50unattended-upgrades.ucf-dist' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension
E: Sub-process /usr/bin/dpkg returned an error code (1)
为什么要投否决票?Dokku已经有一段时间没有使用buildstep了,所以如果这解决了您的问题,那么您使用的是Dokku的一个古老版本,实际上没有运行任何最新版本。我们现在使用herokuish,我相信问题在于您没有通过
apt get install herokuish
@JoseDiaz Gonzalez升级herokuish谢谢。。。我刚刚运行了apt-get-install-herokuish,它说我正在使用最新的版本?但我告诉它无论如何都要安装。我会把日志贴在上面。Herokuish是dokku的替代品吗?Herokuish是我们用来模拟heroku的底层docker图像。它是buildstep的替代品,后者提供了相同的接口。