Comments (6)
Can you try deleting it but with the trace flag?
dokku --trace apps:destroy APP --force
And paste the entire output?
from dokku.
Yup. Here's that output:
root@gc2:/var/lib/docker/containers# dokku --trace apps:destroy minecraft: --force
+ export DOKKU_HOST_ROOT=/home/dokku
+ DOKKU_HOST_ROOT=/home/dokku
+ export DOKKU_DISTRO
++ . /etc/os-release
++ echo ubuntu
+ DOKKU_DISTRO=ubuntu
+ export DOCKER_BIN=docker
+ DOCKER_BIN=docker
+ export DOKKU_IMAGE=gliderlabs/herokuish:latest-22
+ DOKKU_IMAGE=gliderlabs/herokuish:latest-22
+ export DOKKU_CNB_BUILDER=heroku/builder:22
+ DOKKU_CNB_BUILDER=heroku/builder:22
+ export DOKKU_LIB_ROOT=/var/lib/dokku
+ DOKKU_LIB_ROOT=/var/lib/dokku
+ export PLUGIN_PATH=/var/lib/dokku/plugins
+ PLUGIN_PATH=/var/lib/dokku/plugins
+ export PLUGIN_AVAILABLE_PATH=/var/lib/dokku/plugins/available
+ PLUGIN_AVAILABLE_PATH=/var/lib/dokku/plugins/available
+ export PLUGIN_ENABLED_PATH=/var/lib/dokku/plugins/enabled
+ PLUGIN_ENABLED_PATH=/var/lib/dokku/plugins/enabled
+ export PLUGIN_CORE_PATH=/var/lib/dokku/core-plugins
+ PLUGIN_CORE_PATH=/var/lib/dokku/core-plugins
+ export PLUGIN_CORE_AVAILABLE_PATH=/var/lib/dokku/core-plugins/available
+ PLUGIN_CORE_AVAILABLE_PATH=/var/lib/dokku/core-plugins/available
+ export PLUGIN_CORE_ENABLED_PATH=/var/lib/dokku/core-plugins/enabled
+ PLUGIN_CORE_ENABLED_PATH=/var/lib/dokku/core-plugins/enabled
+ export DOKKU_SYSTEM_GROUP=dokku
+ DOKKU_SYSTEM_GROUP=dokku
+ export DOKKU_SYSTEM_USER=dokku
+ DOKKU_SYSTEM_USER=dokku
+ export DOKKU_API_VERSION=1
+ DOKKU_API_VERSION=1
+ export DOKKU_NOT_IMPLEMENTED_EXIT=10
+ DOKKU_NOT_IMPLEMENTED_EXIT=10
+ export DOKKU_VALID_EXIT=0
+ DOKKU_VALID_EXIT=0
+ export DOKKU_PID=160556
+ DOKKU_PID=160556
+ export DOKKU_LOGS_DIR=/var/log/dokku
+ DOKKU_LOGS_DIR=/var/log/dokku
+ export DOKKU_LOGS_HOST_DIR=/var/log/dokku
+ DOKKU_LOGS_HOST_DIR=/var/log/dokku
+ export DOKKU_EVENTS_LOGFILE=/var/log/dokku/events.log
+ DOKKU_EVENTS_LOGFILE=/var/log/dokku/events.log
+ export DOKKU_CONTAINER_LABEL=dokku
+ DOKKU_CONTAINER_LABEL=dokku
+ export 'DOKKU_GLOBAL_BUILD_ARGS=--label=org.label-schema.schema-version=1.0 --label=org.label-schema.vendor=dokku --label=dokku'
+ DOKKU_GLOBAL_BUILD_ARGS='--label=org.label-schema.schema-version=1.0 --label=org.label-schema.vendor=dokku --label=dokku'
+ export 'DOKKU_GLOBAL_RUN_ARGS=--label=org.label-schema.schema-version=1.0 --label=org.label-schema.vendor=dokku --label=dokku'
+ DOKKU_GLOBAL_RUN_ARGS='--label=org.label-schema.schema-version=1.0 --label=org.label-schema.vendor=dokku --label=dokku'
+ source /var/lib/dokku/core-plugins/available/common/functions
++ set -eo pipefail
++ [[ -n 1 ]]
++ set -x
+ parse_args apps:destroy minecraft: --force
+ declare 'desc=top-level cli arg parser'
+ local next_index=1
+ local skip=false
+ args=("$@")
+ local args
+ local flags
+ for arg in "$@"
+ [[ false == \t\r\u\e ]]
+ case "$arg" in
+ [[ false == \t\r\u\e ]]
+ [[ apps:destroy == \-\-\a\p\p ]]
+ [[ apps:destroy =~ ^--.* ]]
+ next_index=2
+ for arg in "$@"
+ [[ false == \t\r\u\e ]]
+ case "$arg" in
+ [[ false == \t\r\u\e ]]
+ [[ minecraft: == \-\-\a\p\p ]]
+ [[ minecraft: =~ ^--.* ]]
+ next_index=3
+ for arg in "$@"
+ [[ false == \t\r\u\e ]]
+ case "$arg" in
+ export DOKKU_APPS_FORCE_DELETE=1
+ DOKKU_APPS_FORCE_DELETE=1
+ [[ false == \t\r\u\e ]]
+ [[ --force == \-\-\a\p\p ]]
+ [[ --force =~ ^--.* ]]
+ flags=' --force'
+ next_index=4
+ [[ -z --trace --force ]]
+ return 0
+ args=("$@")
+ skip_arg=false
+ [[ apps:destroy =~ ^--.* ]]
+ has_tty
+ declare 'desc=return 0 if we have a tty'
+ [[ '' == \t\r\u\e ]]
++ LC_ALL=C
++ /usr/bin/tty
+ [[ /dev/pts/0 == \n\o\t\ \a\ \t\t\y ]]
+ return 0
++ id -un
+ [[ dokku != \d\o\k\k\u ]]
+ [[ apps:destroy =~ ^plugin:.* ]]
+ [[ apps:destroy == \s\s\h\-\k\e\y\s\:\a\d\d ]]
+ [[ apps:destroy == \s\s\h\-\k\e\y\s\:\r\e\m\o\v\e ]]
+ [[ apps:destroy == \s\c\h\e\d\u\l\e\r\-\k\3\s\:\i\n\i\t\i\a\l\i\z\e ]]
+ [[ apps:destroy == \s\c\h\e\d\u\l\e\r\-\k\3\s\:\u\n\i\n\s\t\a\l\l ]]
+ [[ -n '' ]]
+ dokku_auth apps:destroy minecraft: --force
+ declare 'desc=calls user-auth plugin trigger'
+ export SSH_USER=root
+ SSH_USER=root
+ export SSH_NAME=default
+ SSH_NAME=default
+ export DOKKU_COMMAND=apps:destroy
+ DOKKU_COMMAND=apps:destroy
++ wc -l
++ find /var/lib/dokku/plugins/enabled/20_events/user-auth
+ local user_auth_count=1
+ [[ 1 == 0 ]]
+ [[ 1 == 1 ]]
+ [[ -f /var/lib/dokku/plugins/enabled/20_events/user-auth ]]
+ return 0
+ case "$1" in
+ execute_dokku_cmd apps:destroy minecraft: --force
+ declare 'desc=executes dokku sub-commands'
+ local PLUGIN_NAME=apps:destroy
+ local PLUGIN_CMD=apps:destroy
+ local implemented=0
+ local script
+ argv=("$@")
+ local argv
+ case "$PLUGIN_NAME" in
++ readlink -f /var/lib/dokku/plugins/enabled/apps
+ [[ /var/lib/dokku/core-plugins/available/apps == *core-plugins* ]]
+ [[ apps:destroy == \a\p\p\s\:\d\e\s\t\r\o\y ]]
+ shift 1
+ [[ -n '' ]]
+ set -- apps:destroy minecraft: --force
+ [[ -x /var/lib/dokku/plugins/enabled/apps:destroy/subcommands/default ]]
+ [[ -x /var/lib/dokku/plugins/enabled/apps:destroy/subcommands/apps:destroy ]]
+ [[ -x /var/lib/dokku/plugins/enabled/apps/subcommands/destroy ]]
+ [[ -n destroy ]]
+ /var/lib/dokku/plugins/enabled/apps/subcommands/destroy apps:destroy minecraft: --force
! App name must begin with lowercase alphanumeric character, and cannot include uppercase characters, colons, or underscores
from dokku.
Is the app running anything or just accidentally exists?
from dokku.
Accidentally exists.
from dokku.
You can do rm -rf "/home/dokku/minecraft:"
to delete it then.
from dokku.
That did the trick. Thanks @josegonzalez !
from dokku.
Related Issues (20)
- Environment Variables *only for* runtime (dokku config:set <app> --runtime-only KEY1=VALUE1) HOT 5
- Ensure that the latest vector image version is respected HOT 1
- Single Dokku App – map internal ports to added domains HOT 8
- Convert Procfile file line separator to LF if Windows CRLF when building from source HOT 1
- End phase of deploy: Unable to rename container HOT 18
- Unable to update from version 0.19.9
- Dokku reports "zero downtime is disabled" when it is in fact enabled HOT 12
- Cron jobs failing with setuidgid: fatal: unable to run --: file does not exis HOT 2
- Worker automatically exit after some time without restarting HOT 2
- Dokku website not reachable from ipv6-only machine HOT 9
- Log tailing with `dokku logs -t [<app>]` failed to display latest log output HOT 10
- --force-tty cannot be used with run:detached HOT 1
- rootless containers HOT 10
- k3s scheduler: ability to add extra labels HOT 3
- Supporting `underscores_in_headers` nginx property
- logrotate of vector-logs permission denied on log sink file HOT 5
- How to Host Express Server With Static Files Served From NGINX? HOT 1
- `cron:set` is not a dokku command HOT 4
- dokku buildpacks:remove my-special-app --index 1 doesn't seem to work HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dokku.