-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Description
Description of problem
I've upgraded to the latest Dokku's version and one of my app after a rebuild is crashing due to an invalid JSON parsing of an environment variable it seems.
This is my command:
dokku config:set app HASURA_GRAPHQL_JWT_SECRET="{ \"type\": \"HS256\", \"key\": \"347a4efd2dbb6b91aebf38db5dcf2c4e\"}"
But when displaying the logs, Hasura fail to parse it (Fatal Error:- Environment variable HASURA_GRAPHQL_JWT_SECRET: Error in $: object key > 34: Failed reading: satisfy). It worked fine on Dokku v0.25. Any idea what's wrong?
Environment Information
dokku report APP_NAME output
-----> uname: Linux vps-d7f506c6 4.15.0-156-generic #163-Ubuntu SMP Thu Aug 19 23:31:58 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
-----> memory:
total used free shared buff/cache available
Mem: 3848 1662 163 200 2022 1756
Swap: 0 0 0
-----> docker version:
Client: Docker Engine - Community
Version: 20.10.10
API version: 1.41
Go version: go1.16.9
Git commit: b485636
Built: Mon Oct 25 07:42:57 2021
OS/Arch: linux/amd64
Context: default
Experimental: true
Server: Docker Engine - Community
Engine:
Version: 20.10.10
API version: 1.41 (minimum version 1.12)
Go version: go1.16.9
Git commit: e2f740d
Built: Mon Oct 25 07:41:06 2021
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.4.11
GitCommit: 5b46e404f6b9f661a205e28d59c982d3634148f8
runc:
Version: 1.0.2
GitCommit: v1.0.2-0-g52b36a2
docker-init:
Version: 0.19.0
GitCommit: de40ad0
-----> docker daemon info:
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: 13
Running: 12
Paused: 0
Stopped: 1
WARNING: No swap limit support
Images: 87
Server Version: 20.10.10
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: io.containerd.runc.v2 io.containerd.runtime.v1.linux runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 5b46e404f6b9f661a205e28d59c982d3634148f8
runc version: v1.0.2-0-g52b36a2
init version: de40ad0
Security Options:
apparmor
seccomp
Profile: default
Kernel Version: 4.15.0-156-generic
Operating System: Ubuntu 18.04.6 LTS
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 3.758GiB
Name: vps-d7f506c6
ID: 2A7A:QNDP:WGED:QUMB:J6RV:FF2H:56SA:X7AH:ZBPW:LUAX:C7W6:Q3YZ
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.17.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.3
-----> plugn version: plugn: 0.7.1build+9bf216b
-----> dokku plugins:
00_dokku-standard 0.26.3 enabled dokku core standard plugin
20_events 0.26.3 enabled dokku core events logging plugin
app-json 0.26.3 enabled dokku core app-json plugin
apps 0.26.3 enabled dokku core apps plugin
builder 0.26.3 enabled dokku core builder plugin
builder-dockerfile 0.26.3 enabled dokku core builder-dockerfile plugin
builder-herokuish 0.26.3 enabled dokku core builder-herokuish plugin
builder-null 0.26.3 enabled dokku core builder-null plugin
builder-pack 0.26.3 enabled dokku core builder-pack plugin
buildpacks 0.26.3 enabled dokku core buildpacks plugin
certs 0.26.3 enabled dokku core certificate management plugin
checks 0.26.3 enabled dokku core checks plugin
clickhouse 0.11.0 enabled dokku clickhouse service plugin
common 0.26.3 enabled dokku core common plugin
config 0.26.3 enabled dokku core config plugin
cron 0.26.3 enabled dokku core cron plugin
docker-options 0.26.3 enabled dokku core docker-options plugin
domains 0.26.3 enabled dokku core domains plugin
enter 0.26.3 enabled dokku core enter plugin
git 0.26.3 enabled dokku core git plugin
http-auth 0.6.1 enabled HTTP authentication for apps
letsencrypt 0.12.1 enabled Automated installation of let's encrypt TLS certificates
logs 0.26.3 enabled dokku core logs plugin
network 0.26.3 enabled dokku core network plugin
nginx-vhosts 0.26.3 enabled dokku core nginx-vhosts plugin
plugin 0.26.3 enabled dokku core plugin plugin
postgres 1.17.0 enabled dokku postgres service plugin
proxy 0.26.3 enabled dokku core proxy plugin
ps 0.26.3 enabled dokku core ps plugin
redis 1.18.0 enabled dokku redis service plugin
registry 0.26.3 enabled dokku core registry plugin
repo 0.26.3 enabled dokku core repo plugin
resource 0.26.3 enabled dokku core resource plugin
run 0.26.3 enabled dokku core run plugin
scheduler 0.25.6 enabled dokku core scheduler plugin
scheduler-docker-local 0.26.3 enabled dokku core scheduler-docker-local plugin
scheduler-null 0.26.3 enabled dokku core scheduler-null plugin
shell 0.26.3 enabled dokku core shell plugin
ssh-keys 0.26.3 enabled dokku core ssh-keys plugin
storage 0.26.3 enabled dokku core storage plugin
trace 0.26.3 enabled dokku core trace plugin
=====> wiki-fashion app-json information
App json computed selected: app.json
App json global selected: app.json
App json selected:
=====> wiki-fashion app information
App created at: 1635948636
App deploy source: wiki-fashion
App deploy source metadata: wiki-fashion
App dir: /home/dokku/wiki-fashion
App locked: false
=====> wiki-fashion builder information
Builder build dir:
Builder computed build dir:
Builder computed selected:
Builder global build dir:
Builder global selected:
Builder selected:
=====> wiki-fashion builder-dockerfile information
Builder dockerfile computed dockerfile path: Dockerfile
Builder dockerfile global dockerfile path: Dockerfile
Builder dockerfile dockerfile path:
=====> wiki-fashion builder-pack information
Builder pack computed projecttoml path: project.toml
Builder pack global projecttoml path: project.toml
Builder pack projecttoml path:
=====> wiki-fashion buildpacks information
Buildpacks computed stack: gliderlabs/herokuish:latest-20
Buildpacks global stack:
Buildpacks list:
Buildpacks stack:
C = US, O = Internet Security Research Group, CN = ISRG Root X1
error 2 at 2 depth lookup: unable to get issuer certificate
=====> wiki-fashion ssl information
Ssl dir: /home/dokku/wiki-fashion/tls
Ssl enabled: true
Ssl hostnames: hasura.wiki.fashion
Ssl expires at: Jan 16 23:00:32 2022 GMT
Ssl issuer: C = US, O = Let's Encrypt, CN = R3
Ssl starts at: Oct 18 23:00:33 2021 GMT
Ssl subject: subject=CN = hasura.wiki.fashion
Ssl verified: self signed
=====> wiki-fashion checks information
Checks disabled list: none
Checks skipped list: none
=====> wiki-fashion cron information
Cron task count: 0
=====> wiki-fashion docker options information
Docker options build: --link dokku.postgres.wiki-fashion-hasura:dokku-postgres-wiki-fashion-hasura
Docker options deploy: --link dokku.postgres.wiki-fashion-hasura:dokku-postgres-wiki-fashion-hasura --restart=on-failure:10
Docker options run: --link dokku.postgres.wiki-fashion-hasura:dokku-postgres-wiki-fashion-hasura
=====> wiki-fashion domains information
Domains app enabled: true
Domains app vhosts: hasura.wiki.fashion
Domains global enabled: false
Domains global vhosts:
=====> wiki-fashion git information
Git deploy branch: master
Git global deploy branch: master
Git keep git dir: false
Git rev env var: GIT_REV
Git sha:
Git last updated at:
=====> wiki-fashion http-auth information
Http auth enabled: false
=====> wiki-fashion logs information
Logs computed max size: 10m
Logs global max size: 10m
Logs global vector sink:
Logs max size:
Logs vector sink:
=====> wiki-fashion 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.14:8080
=====> wiki-fashion nginx information
Nginx access log format:
Nginx access log path: /var/log/nginx/wiki-fashion-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/wiki-fashion-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: 1635948607
Nginx x forwarded for value: $remote_addr
Nginx x forwarded port value: $server_port
Nginx x forwarded proto value: $scheme
Nginx x forwarded ssl:
=====> wiki-fashion proxy information
Proxy enabled: true
Proxy port map: http:80:8080 https:443:8080
Proxy type: nginx
=====> wiki-fashion ps information
Deployed: true
Processes: 1
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
Status web 1: exited (CID: 072765ac39d)
=====> wiki-fashion registry information
Registry computed image repo: dokku/wiki-fashion
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:
=====> wiki-fashion resource information
=====> wiki-fashion scheduler information
Scheduler computed selected: docker-local
Scheduler global selected: docker-local
Scheduler selected:
=====> wiki-fashion scheduler-docker-local information
Scheduler docker local disable chown:
Scheduler docker local parallel schedule count:
=====> wiki-fashion storage information
Storage build mounts:
Storage deploy mounts:
Storage run mounts:
Metadata
Metadata
Assignees
Labels
No labels