Apps using redirect plugin cannot be built with dokku 0.30.0
Steps to Reproduce
Update to dokku 0.30.0
Run dokku ps:rebuild app_name, on app that uses dokku redirect
Actual Results
-----> Creating https nginx.conf
Enabling HSTS
/var/lib/dokku/plugins/enabled/redirect/nginx-pre-reload: line 7: /var/lib/dokku/plugins/available/proxy/functions: No such file or directory
! exit status 1
Expected Results
Rebuild should complete without errors
Environment Information
Ubuntu 18.04
dokku report APP_NAME output
Here is the output for version 0.29.4. Can't provide information or trace for 0.30.0 at this time. This broke production apps and needed to revert as soon as I noticed the issue.
-----> uname: Linux main-server 4.15.0-204-generic #215-Ubuntu SMP Fri Jan 20 18:24:59 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
-----> memory:
total used free shared buff/cache available
Mem: 7975 3030 883 163 4062 4487
Swap: 0 0 0
-----> docker version:
Client: Docker Engine - Community
Version: 23.0.1
API version: 1.42
Go version: go1.19.5
Git commit: a5ee5b1
Built: Thu Feb 9 19:46:49 2023
OS/Arch: linux/amd64
Context: default
Server: Docker Engine - Community
Engine:
Version: 23.0.1
API version: 1.42 (minimum version 1.12)
Go version: go1.19.5
Git commit: bc3805a
Built: Thu Feb 9 19:46:49 2023
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.6.18
GitCommit: 2456e983eb9e37e47538f59ea18f2043c9a73640
runc:
Version: 1.1.4
GitCommit: v1.1.4-0-g5fd4c4d
docker-init:
Version: 0.19.0
GitCommit: de40ad0
-----> docker daemon info:
Client:
Context: default
Debug Mode: true
Plugins:
buildx: Docker Buildx (Docker Inc.)
Version: v0.10.2
Path: /usr/libexec/docker/cli-plugins/docker-buildx
compose: Docker Compose (Docker Inc.)
Version: v2.16.0
Path: /usr/libexec/docker/cli-plugins/docker-compose
scan: Docker Scan (Docker Inc.)
Version: v0.23.0
Path: /usr/libexec/docker/cli-plugins/docker-scan
Server:
Containers: 41
Running: 29
Paused: 0
Stopped: 12
Images: 110
Server Version: 23.0.1
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Using metacopy: false
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: io.containerd.runc.v2 runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 2456e983eb9e37e47538f59ea18f2043c9a73640
runc version: v1.1.4-0-g5fd4c4d
init version: de40ad0
Security Options:
apparmor
seccomp
Profile: builtin
Kernel Version: 4.15.0-204-generic
Operating System: Ubuntu 18.04.6 LTS
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 7.789GiB
Name: main-server
ID: 5FML:WK5L:FHTC:TTMD:BGK7:2Z6O:MGNO:E7NI:QLBL:CL2U:V5KA:4GZY
Docker Root Dir: /var/lib/docker
Debug Mode: false
Registry: https://index.docker.io/v1/
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
-----> git version: git version 2.17.1
-----> sigil version: 0.9.0build+bc921b7
-----> herokuish version:
herokuish: v0.5.40
buildpacks:
heroku-buildpack-multi v1.2.0
heroku-buildpack-ruby v244
heroku-buildpack-nodejs v202
heroku-buildpack-clojure v90
heroku-buildpack-python v223
heroku-buildpack-java v72
heroku-buildpack-gradle v38
heroku-buildpack-scala v96
heroku-buildpack-play v26
heroku-buildpack-php v227
heroku-buildpack-go v169
heroku-buildpack-nginx v22
buildpack-null v3
-----> dokku version: dokku version 0.29.4
-----> plugn version: plugn: 0.12.0build+3a27594
-----> dokku plugins:
00_dokku-standard 0.29.4 enabled dokku core standard plugin
20_events 0.29.4 enabled dokku core events logging plugin
app-json 0.29.4 enabled dokku core app-json plugin
apps 0.29.4 enabled dokku core apps plugin
apt 0.12.0 enabled Inject deb packages into dokku based on files in project
builder 0.29.4 enabled dokku core builder plugin
builder-dockerfile 0.29.4 enabled dokku core builder-dockerfile plugin
builder-herokuish 0.29.4 enabled dokku core builder-herokuish plugin
builder-lambda 0.29.4 enabled dokku core builder-lambda plugin
builder-null 0.29.4 enabled dokku core builder-null plugin
builder-pack 0.29.4 enabled dokku core builder-pack plugin
buildpacks 0.29.4 enabled dokku core buildpacks plugin
caddy-vhosts 0.29.4 enabled dokku core caddy-vhosts plugin
certs 0.29.4 enabled dokku core certificate management plugin
checks 0.29.4 enabled dokku core checks plugin
common 0.29.4 enabled dokku core common plugin
config 0.29.4 enabled dokku core config plugin
cron 0.29.4 enabled dokku core cron plugin
docker-options 0.29.4 enabled dokku core docker-options plugin
domains 0.29.4 enabled dokku core domains plugin
enter 0.29.4 enabled dokku core enter plugin
git 0.29.4 enabled dokku core git plugin
http-auth 0.6.2 enabled HTTP authentication for apps
letsencrypt 0.12.1 enabled Automated installation of let's encrypt TLS certificates
logs 0.29.4 enabled dokku core logs plugin
maintenance 0.5.1 enabled Maintenance mode for apps
network 0.29.4 enabled dokku core network plugin
nginx-vhosts 0.29.4 enabled dokku core nginx-vhosts plugin
plugin 0.29.4 enabled dokku core plugin plugin
postgres 1.17.0 enabled dokku postgres service plugin
proxy 0.29.4 enabled dokku core proxy plugin
ps 0.29.4 enabled dokku core ps plugin
redirect 0.7.1 enabled Plugin for managing application redirects
redis 1.19.0 enabled dokku redis service plugin
registry 0.29.4 enabled dokku core registry plugin
repo 0.29.4 enabled dokku core repo plugin
resource 0.29.4 enabled dokku core resource plugin
run 0.29.4 enabled dokku core run plugin
scheduler 0.29.4 enabled dokku core scheduler plugin
scheduler-docker-local 0.29.4 enabled dokku core scheduler-docker-local plugin
scheduler-null 0.29.4 enabled dokku core scheduler-null plugin
shell 0.29.4 enabled dokku core shell plugin
ssh-keys 0.29.4 enabled dokku core ssh-keys plugin
storage 0.29.4 enabled dokku core storage plugin
trace 0.29.4 enabled dokku core trace plugin
traefik-vhosts 0.29.4 enabled dokku core traefik-vhosts plugin
=====> app_name app-json information
App json computed selected: app.json
App json global selected: app.json
App json selected:
=====> app_name app information
App created at: 1669226315
App deploy source: app_name
App deploy source metadata: app_name
App dir: /home/dokku/app_name
App locked: false
=====> app_name builder information
Builder build dir:
Builder computed build dir:
Builder computed selected:
Builder global build dir:
Builder global selected:
Builder selected:
=====> app_name builder-dockerfile information
Builder dockerfile computed dockerfile path: Dockerfile
Builder dockerfile global dockerfile path: Dockerfile
Builder dockerfile dockerfile path:
=====> app_name builder-lambda information
Builder lambda computed lambdayml path: lambda.yml
Builder lambda global lambdayml path: lambda.yml
Builder lambda lambdayml path:
=====> app_name builder-pack information
Builder pack computed projecttoml path: project.toml
Builder pack global projecttoml path: project.toml
Builder pack projecttoml path:
=====> app_name buildpacks information
Buildpacks computed stack: gliderlabs/herokuish:latest-20
Buildpacks global stack:
Buildpacks list: https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest.git,https://github.com/heroku/heroku-buildpack-ruby.git
Buildpacks stack:
=====> app_name ssl information
Ssl dir: /home/dokku/app_name/tls
Ssl enabled: true
Ssl hostnames: app_domain.es app_domain.fr app_domain.gr app_domain.it app_domain2.com app_domain2.gr app_domain2.it app_name.hostname.com www.app_domain.es www.app_domain.fr www.app_domain.gr www.app_domain.it www.app_domain2.com www.app_domain2.gr www.app_domain2.it
Ssl expires at: Mar 20 23:01:34 2023 GMT
Ssl issuer: C = US, O = Let's Encrypt, CN = R3
Ssl starts at: Dec 20 23:01:35 2022 GMT
Ssl subject: subject=CN = app_name.hostname.com
Ssl verified: self signed
=====> app_name checks information
Checks disabled list: none
Checks skipped list: none
Checks computed wait to retire: 60
Checks global wait to retire: 60
Checks wait to retire:
=====> app_name cron information
Cron task count: 2
=====> app_name docker options information
Docker options build: --link dokku.postgres.app_name_db:dokku-postgres-app_name-db --link dokku.redis.app_name_redis:dokku-redis-app_name-redis
Docker options deploy: --link dokku.postgres.app_name_db:dokku-postgres-app_name-db --link dokku.redis.app_name_redis:dokku-redis-app_name-redis --restart=on-failure:10
Docker options run: --link dokku.postgres.app_name_db:dokku-postgres-app_name-db --link dokku.redis.app_name_redis:dokku-redis-app_name-redis
=====> app_name domains information
Domains app enabled: true
Domains app vhosts: app_name.hostname.com app_domain2.it app_domain.gr app_domain2.gr app_domain2.com www.app_domain2.it www.app_domain.gr www.app_domain2.gr www.app_domain2.com app_domain.it www.app_domain.it app_domain.es www.app_domain.es app_domain.fr www.app_domain.fr
Domains global enabled: false
Domains global vhosts:
=====> app_name git information
Git deploy branch: master
Git global deploy branch: master
Git keep git dir: false
Git rev env var: GIT_REV
Git sha: 768cfe9
Git source image:
Git last updated at: 1675885507
=====> app_name http-auth information
Http auth enabled: false
=====> app_name logs information
Logs computed max size: 10m
Logs global max size: 10m
Logs global vector sink:
Logs max size:
Logs vector sink:
=====> app_name 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: 172.17.0.31:5000
=====> app_name nginx information
Nginx access log format:
Nginx access log path: /var/log/nginx/app_name-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/app_name-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 computed nginx conf sigil path: nginx.conf.sigil
Nginx global nginx conf sigil path: nginx.conf.sigil
Nginx nginx conf sigil path:
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: 1676892016
Nginx x forwarded for value: $remote_addr
Nginx x forwarded port value: $server_port
Nginx x forwarded proto value: $scheme
Nginx x forwarded ssl:
=====> app_name proxy information
Proxy enabled: true
Proxy port map: http:80:5000 https:443:5000
Proxy type: nginx
=====> app_name ps information
Deployed: true
Processes: 2
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: true
Status web 1: running (CID: 6bdf2a325b3)
Status worker 1: running (CID: 5f84dde6537)
=====> app_name registry information
Registry computed image repo: dokku/app_name
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:
=====> app_name resource information
=====> app_name scheduler information
Scheduler computed selected: docker-local
Scheduler global selected: docker-local
Scheduler selected:
=====> app_name scheduler-docker-local information
Scheduler docker local disable chown:
Scheduler docker local init process: true
Scheduler docker local parallel schedule count:
=====> app_name storage information
Storage build mounts:
Storage deploy mounts:
Storage run mounts:
How (deb/make) and where (AWS, VirtualBox, physical, etc.) was Dokku installed?:
VPS on digital ocean via relevant marketplace item
Description of problem
Apps using redirect plugin cannot be built with dokku 0.30.0
Steps to Reproduce
Actual Results
Expected Results
Rebuild should complete without errors
Environment Information
Ubuntu 18.04
dokku report APP_NAME
outputHere is the output for version 0.29.4. Can't provide information or trace for 0.30.0 at this time. This broke production apps and needed to revert as soon as I noticed the issue.
How (deb/make) and where (AWS, VirtualBox, physical, etc.) was Dokku installed?:
VPS on digital ocean via relevant marketplace item