Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command dokku tags:deploy hasura is not a dokku command. #4940

Closed
c4lliope opened this issue Nov 20, 2021 · 3 comments
Closed

Command dokku tags:deploy hasura is not a dokku command. #4940

c4lliope opened this issue Nov 20, 2021 · 3 comments

Comments

@c4lliope
Copy link

I am running dokku version 0.26.6.

Based on guides here and here,
I have run the commands:

dokku apps:create company-core
dokku domains:add company-core company-core.assembled.app
dokku postgres:create company-core
dokku postgres:link company-core company-core
dokku config_set company-core HASURA_GRAPHQL_ADMIN_SECRET='blahblah'
docker pull hasura/graphql-engine
docker tag hasura/graphql-engine dokku/hasura
dokku tags:deploy hasura

The final command fails with the error:

root@localhost:~# dokku tags:deploy hasura
 !     `tags:deploy hasura` is not a dokku command.
 !     See `dokku help` for a list of available commands.

dokku report company-core

root@localhost:~# dokku ps:report company-core
=====> Setting deployed to false
=====> company-core ps information
       Deployed:                      false
       Processes:                     0
       Ps can scale:                  true
       Ps computed procfile path:     Procfile
       Ps global procfile path:       Procfile
       Ps procfile path:              
       Ps restart policy:             on-failure:10
       Restore:                       true
       Running:                       false
root@localhost:~# dokku proxy:ports-set company-core http:80:8080
-----> Setting config vars
       DOKKU_PROXY_PORT_MAP:  http:80:8080
 !     No web listeners specified for company-core
root@localhost:~# dokku tags:deploy hasura
 !     `tags:deploy hasura` is not a dokku command.
 !     See `dokku help` for a list of available commands.
root@localhost:~# dokku -v
dokku version 0.26.6
root@localhost:~# dokku tags:deploy hasura
 !     `tags:deploy hasura` is not a dokku command.
 !     See `dokku help` for a list of available commands.
root@localhost:~# dokku report company-core
-----> uname: Linux localhost 5.4.0-81-generic #91-Ubuntu SMP Thu Jul 15 19:09:17 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
-----> memory: 
                     total        used        free      shared  buff/cache   available
       Mem:           3936         975         577          43        2382        2630
       Swap:           511           5         506
-----> docker version: 
       Client: Docker Engine - Community
        Version:           20.10.11
        API version:       1.41
        Go version:        go1.16.9
        Git commit:        dea9396
        Built:             Thu Nov 18 00:37:06 2021
        OS/Arch:           linux/amd64
        Context:           default
        Experimental:      true
       
       Server: Docker Engine - Community
        Engine:
         Version:          20.10.11
         API version:      1.41 (minimum version 1.12)
         Go version:       go1.16.9
         Git commit:       847da18
         Built:            Thu Nov 18 00:35:15 2021
         OS/Arch:          linux/amd64
         Experimental:     false
        containerd:
         Version:          1.4.12
         GitCommit:        7b11cfaabd73bb80907dd23182b9347b4245eb5d
        runc:
         Version:          1.0.2
         GitCommit:        v1.0.2-0-g52b36a2
        docker-init:
         Version:          0.19.0
         GitCommit:        de40ad0
-----> docker daemon info: 
WARNING: No swap limit support
       Client:
        Context:    default
        Debug Mode: true
        Plugins:
         app: Docker App (Docker Inc., v0.9.1-beta3)
         buildx: Build with BuildKit (Docker Inc., v0.6.3-docker)
         scan: Docker Scan (Docker Inc., v0.9.0)
       
       Server:
        Containers: 7
         Running: 5
         Paused: 0
         Stopped: 2
        Images: 44
        Server Version: 20.10.11
        Storage Driver: overlay2
         Backing Filesystem: extfs
         Supports d_type: true
         Native Overlay Diff: true
         userxattr: false
        Logging Driver: json-file
        Cgroup Driver: cgroupfs
        Cgroup Version: 1
        Plugins:
         Volume: local
         Network: bridge host ipvlan macvlan null overlay
         Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
        Swarm: inactive
        Runtimes: runc io.containerd.runc.v2 io.containerd.runtime.v1.linux
        Default Runtime: runc
        Init Binary: docker-init
        containerd version: 7b11cfaabd73bb80907dd23182b9347b4245eb5d
        runc version: v1.0.2-0-g52b36a2
        init version: de40ad0
        Security Options:
         apparmor
         seccomp
          Profile: default
        Kernel Version: 5.4.0-81-generic
        Operating System: Ubuntu 20.04.3 LTS
        OSType: linux
        Architecture: x86_64
        CPUs: 2
        Total Memory: 3.844GiB
        Name: localhost
        ID: OIDC:NQIQ:R76E:FBV3:AW2H:MGZT:7JIO:WJSR:VU3B:2FB6:SERE:DGNN
        Docker Root Dir: /var/lib/docker
        Debug Mode: false
        Registry: https://index.docker.io/v1/
        Labels:
        Experimental: false
        Insecure Registries:
         127.0.0.0/8
        Live Restore Enabled: false
       
-----> git version: git version 2.25.1
-----> sigil version: 0.7.1build+1ec3006
-----> herokuish version: 
       herokuish: 0.5.31
       buildpacks:
         heroku-buildpack-multi     v1.0.0
         heroku-buildpack-ruby      v230
         heroku-buildpack-nodejs    v189
         heroku-buildpack-clojure   v87
         heroku-buildpack-python    v201
         heroku-buildpack-java      v69
         heroku-buildpack-gradle    v35
         heroku-buildpack-scala     v91
         heroku-buildpack-play      v26
         heroku-buildpack-php       v199
         heroku-buildpack-go        v156
         buildpack-nginx            v14
         buildpack-null             v3
-----> dokku version: dokku version 0.26.6
-----> plugn version: plugn: 0.7.1build+9bf216b
-----> dokku plugins: 
         00_dokku-standard    0.26.6 enabled    dokku core standard plugin
         20_events            0.26.6 enabled    dokku core events logging plugin
         app-json             0.26.6 enabled    dokku core app-json plugin
         apps                 0.26.6 enabled    dokku core apps plugin
         builder              0.26.6 enabled    dokku core builder plugin
         builder-dockerfile   0.26.6 enabled    dokku core builder-dockerfile plugin
         builder-herokuish    0.26.6 enabled    dokku core builder-herokuish plugin
         builder-null         0.26.6 enabled    dokku core builder-null plugin
         builder-pack         0.26.6 enabled    dokku core builder-pack plugin
         buildpacks           0.26.6 enabled    dokku core buildpacks plugin
         certs                0.26.6 enabled    dokku core certificate management plugin
         checks               0.26.6 enabled    dokku core checks plugin
         common               0.26.6 enabled    dokku core common plugin
         config               0.26.6 enabled    dokku core config plugin
         cron                 0.26.6 enabled    dokku core cron plugin
         docker-options       0.26.6 enabled    dokku core docker-options plugin
         domains              0.26.6 enabled    dokku core domains plugin
         enter                0.26.6 enabled    dokku core enter plugin
         git                  0.26.6 enabled    dokku core git plugin
         letsencrypt          0.12.1 enabled    Automated installation of let's encrypt TLS certificates
         logs                 0.26.6 enabled    dokku core logs plugin
         network              0.26.6 enabled    dokku core network plugin
         nginx-vhosts         0.26.6 enabled    dokku core nginx-vhosts plugin
         plugin               0.26.6 enabled    dokku core plugin plugin
         postgres             1.17.0 enabled    dokku postgres service plugin
         proxy                0.26.6 enabled    dokku core proxy plugin
         ps                   0.26.6 enabled    dokku core ps plugin
         registry             0.26.6 enabled    dokku core registry plugin
         repo                 0.26.6 enabled    dokku core repo plugin
         resource             0.26.6 enabled    dokku core resource plugin
         run                  0.26.6 enabled    dokku core run plugin
         scheduler            0.25.6 enabled    dokku core scheduler plugin
         scheduler-docker-local 0.26.6 enabled    dokku core scheduler-docker-local plugin
         scheduler-null       0.26.6 enabled    dokku core scheduler-null plugin
         shell                0.26.6 enabled    dokku core shell plugin
         ssh-keys             0.26.6 enabled    dokku core ssh-keys plugin
         storage              0.26.6 enabled    dokku core storage plugin
         trace                0.26.6 enabled    dokku core trace plugin
=====> company-core app-json information
       App json computed selected:    app.json
       App json global selected:      app.json
       App json selected:             
=====> company-core app information
       App created at:                1637425964
       App deploy source:             
       App deploy source metadata:    
       App dir:                       /home/dokku/company-core
       App locked:                    false
=====> company-core builder information
       Builder build dir:             
       Builder computed build dir:    
       Builder computed selected:     
       Builder global build dir:      
       Builder global selected:       
       Builder selected:              
=====> company-core builder-dockerfile information
       Builder dockerfile computed dockerfile path: Dockerfile.hasura        
       Builder dockerfile global dockerfile path: Dockerfile               
       Builder dockerfile dockerfile path: Dockerfile.hasura        
=====> company-core builder-pack information
       Builder pack computed projecttoml path: project.toml             
       Builder pack global projecttoml path: project.toml             
       Builder pack projecttoml path:                          
=====> company-core buildpacks information
       Buildpacks computed stack:     gliderlabs/herokuish:latest-20
       Buildpacks global stack:       
       Buildpacks list:               
       Buildpacks stack:              
=====> company-core ssl information
       Ssl dir:                       /home/dokku/company-core/tls
       Ssl enabled:                   false                    
       Ssl hostnames:                                          
       Ssl expires at:                                         
       Ssl issuer:                                             
       Ssl starts at:                                          
       Ssl subject:                                            
       Ssl verified:                                           
=====> company-core checks information
       Checks disabled list:          none                     
       Checks skipped list:           none                     
=====> company-core cron information
       Cron task count:               0
=====> company-core docker options information
       Docker options build:          --link dokku.postgres.company-core:dokku-postgres-company-core 
       Docker options deploy:         --link dokku.postgres.company-core:dokku-postgres-company-core --restart=on-failure:10 
       Docker options run:            --link dokku.postgres.company-core:dokku-postgres-company-core 
=====> company-core domains information
       Domains app enabled:           true                     
       Domains app vhosts:            company-core.assembled.app
       Domains global enabled:        true                     
       Domains global vhosts:         localhost                
=====> company-core git information
       Git deploy branch:             master                   
       Git global deploy branch:      main                     
       Git keep git dir:              false                    
       Git rev env var:               GIT_REV                  
       Git sha:                                                
       Git last updated at:                                    
=====> company-core logs information
       Logs computed max size:        10m
       Logs global max size:          10m
       Logs global vector sink:       
       Logs max size:                 
       Logs vector sink:              
=====> company-core network information
       Network attach post create:           
       Network attach post deploy:           
       Network bind all interfaces:          false
       Network computed attach post create:  
       Network computed attach post deploy:  
       Network computed bind all interfaces: false
       Network computed initial network:     
       Network computed tld:                 
       Network global attach post create:    
       Network global attach post deploy:    
       Network global bind all interfaces:   false
       Network global initial network:       
       Network global tld:                   
       Network initial network:              
       Network static web listener:          
       Network tld:                          
       Network web listeners:                
=====> company-core nginx information
       Nginx access log format:                                
       Nginx access log path:         /var/log/nginx/company-core-access.log
       Nginx bind address ipv4:                                
       Nginx bind address ipv6:       ::                       
       Nginx client max body size:                             
       Nginx disable custom config:   false                    
       Nginx error log path:          /var/log/nginx/company-core-error.log
       Nginx global hsts:             true                     
       Nginx computed hsts:           true                     
       Nginx hsts:                                             
       Nginx hsts include subdomains: true                     
       Nginx hsts max age:            15724800                 
       Nginx hsts preload:            false                    
       Nginx proxy buffer size:       4096                     
       Nginx proxy buffering:         on                       
       Nginx proxy buffers:           8 4096                   
       Nginx proxy busy buffers size: 8192                     
       Nginx proxy read timeout:      60s                      
       Nginx last visited at:                                  
       Nginx x forwarded for value:   $remote_addr             
       Nginx x forwarded port value:  $server_port             
       Nginx x forwarded proto value: $scheme                  
       Nginx x forwarded ssl:                                  
=====> company-core proxy information
       Proxy enabled:                 true
       Proxy port map:                http:80:8080
       Proxy type:                    nginx
=====> company-core ps information
       Deployed:                      false
       Processes:                     0
       Ps can scale:                  true
       Ps computed procfile path:     Procfile
       Ps global procfile path:       Procfile
       Ps procfile path:              
       Ps restart policy:             on-failure:10
       Restore:                       true
       Running:                       false
=====> company-core registry information
       Registry computed image repo:      dokku/company-core
       Registry computed push on release: false
       Registry computed server:          
       Registry global push on release:   
       Registry global server:            
       Registry image repo:               
       Registry push on release:          
       Registry server:                   
       Registry tag version:              
=====> company-core resource information
=====> company-core scheduler information
       Scheduler computed selected:   docker-local
       Scheduler global selected:     docker-local
       Scheduler selected:            
=====> company-core scheduler-docker-local information
       Scheduler docker local disable chown:                          
       Scheduler docker local parallel schedule count:                          
=====> company-core storage information
       Storage build mounts:                                   
       Storage deploy mounts:                                  
       Storage run mounts:                
@c4lliope
Copy link
Author

I am curious - did the dokku tags:deploy command become replaced in the API? I didn't see anything in HISTORY.md regarding deprecation of the command.

@c4lliope
Copy link
Author

I worked around this for now by cloning the dedicated heroku build repository - https://github.com/hasura/graphql-engine-heroku,
and pushing that to my dokku machine.

Ideally, the dokku tags:deploy command will be easier when I need to launch multiple applications from the same image. Any help here is very useful.

@josegonzalez
Copy link
Member

The tags plugin was deprecated in 0.24.0, with the deprecation notice in the upgrade docs here. I'll try and include those notes in the history.md in the future.

The new way to do this is via git:from-image, as documented here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants