这是indexloc提供的服务,不要输入任何密码
Skip to content

bash: line 1: main: command not found when the disk is full #5764

@gleniat

Description

@gleniat

Description of problem

Dokku displays the message bash: line 1: main: command not found when the disk is full, instead of providing a more helpful error message.

Steps to reproduce

  1. Gradually fill the disk space by regularly using Dokku, deploying apps, and pushing code, without manually scheduling a daily Docker prune to prevent the disk from filling up. Alternatively, use the 'dd' command to rapidly fill up the disk.

  2. After the disk is full, execute any Dokku command.

$ dokku ps:restart mywebapp
 !     /home/dokku/.basher/bash: line 1: main: command not found
2023/03/20 08:13:22 exit status 127
$ dokku ps:stop mywebapp
 !     /home/dokku/.basher/bash: line 1: main: command not found
2023/03/20 08:13:28 exit status 127
$ dokku app:destroy mywebapp
 !     /home/dokku/.basher/bash: line 1: main: command not found
2023/03/20 08:14:16 exit status 127

dokku report $APP_NAME

N/A

Additional information

No response

Output of failing commands after running: dokku trace:off

No response

Output of failing commands after running: dokku trace:on

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions