SSL should be enabled on application's domains.
[core@localhost ~]$ dokku ps:inspect check
[
{
"AppArmorProfile": "",
"Args": [
"nginx",
"-g",
"daemon off;"
],
"Config": {
"AttachStderr": true,
"AttachStdin": false,
"AttachStdout": true,
"Cmd": [
"nginx",
"-g",
"daemon off;"
],
"Domainname": "",
"Entrypoint": [
"/docker-entrypoint.sh"
],
"Env": [
"APPLICATION_HOST=XXXXXX",
"DOKKU_APP_TYPE=dockerfile",
"DOKKU_DOCKERFILE_PORTS=80",
"DOKKU_LETSENCRYPT_EMAIL=domains@assembled.app",
"GIT_REV=XXXXXX",
"DYNO=web.1",
"PORT=80",
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"NGINX_VERSION=XXXXXX",
"NJS_VERSION=XXXXXX",
"PKG_RELEASE=XXXXXX"
],
"ExposedPorts": {
"80/tcp": {}
},
"Hostname": "cc2e8f0f17f2",
"Image": "dokku/check:latest",
"Labels": {
"com.dokku.app-name": "check",
"com.dokku.builder-type": "dockerfile",
"com.dokku.container-type": "deploy",
"com.dokku.dyno": "web.1",
"com.dokku.image-stage": "release",
"com.dokku.process-type": "web",
"dokku": "",
"maintainer": "NGINX Docker Maintainers <docker-maint@nginx.com>",
"org.label-schema.schema-version": "1.0",
"org.label-schema.vendor": "dokku"
},
"OnBuild": null,
"OpenStdin": false,
"StdinOnce": false,
"StopSignal": "SIGQUIT",
"Tty": false,
"User": "",
"Volumes": null,
"WorkingDir": ""
},
"Created": "2022-07-11T20:36:42.337375622Z",
"Driver": "overlay2",
"ExecIDs": null,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/fcf2759bbddad21b24bc1e8b4c37424392210e3fe555b2dbcab6551ef3b88555-init/diff:/var/lib/docker/overlay2/3131a4af5dce4a7341f51241752e989ff15d740a420bc65bd6d71a974db6a920/diff:/var/lib/docker/overlay2/5674e2e4dd173a224acbda33a3efe424a5758cd3b79dab097f03df73ce7bbd27/diff:/var/lib/docker/overlay2/86121c9266dcf8d84c3f26246902dea464044571ea1da6cd85338a810333e201/diff:/var/lib/docker/overlay2/9c77dbd208c610cccbb5b031675e886c67a0d6168c920ec6240af1457d166dee/diff:/var/lib/docker/overlay2/15e5d22ff5b7da7203f9720452af96ce37bce6ca9179ce908eb5f0507ff9bd1d/diff:/var/lib/docker/overlay2/d86612ac024412efde45ed8d239b1c3e15ce7f41c99b857086d4cf5660c91c84/diff:/var/lib/docker/overlay2/cc961d4717b6458945618703da93d286e50376ae947e71dbd927e704f586e027/diff",
"MergedDir": "/var/lib/docker/overlay2/fcf2759bbddad21b24bc1e8b4c37424392210e3fe555b2dbcab6551ef3b88555/merged",
"UpperDir": "/var/lib/docker/overlay2/fcf2759bbddad21b24bc1e8b4c37424392210e3fe555b2dbcab6551ef3b88555/diff",
"WorkDir": "/var/lib/docker/overlay2/fcf2759bbddad21b24bc1e8b4c37424392210e3fe555b2dbcab6551ef3b88555/work"
},
"Name": "overlay2"
},
"HostConfig": {
"AutoRemove": false,
"Binds": null,
"BlkioDeviceReadBps": null,
"BlkioDeviceReadIOps": null,
"BlkioDeviceWriteBps": null,
"BlkioDeviceWriteIOps": null,
"BlkioWeight": 0,
"BlkioWeightDevice": [],
"CapAdd": null,
"CapDrop": null,
"Cgroup": "",
"CgroupParent": "",
"CgroupnsMode": "private",
"ConsoleSize": [
0,
0
],
"ContainerIDFile": "",
"CpuCount": 0,
"CpuPercent": 0,
"CpuPeriod": 0,
"CpuQuota": 0,
"CpuRealtimePeriod": 0,
"CpuRealtimeRuntime": 0,
"CpuShares": 0,
"CpusetCpus": "",
"CpusetMems": "",
"DeviceCgroupRules": null,
"DeviceRequests": null,
"Devices": [],
"Dns": [],
"DnsOptions": [],
"DnsSearch": [],
"ExtraHosts": null,
"GroupAdd": null,
"IOMaximumBandwidth": 0,
"IOMaximumIOps": 0,
"Init": true,
"IpcMode": "private",
"Isolation": "",
"KernelMemory": 0,
"KernelMemoryTCP": 0,
"Links": null,
"LogConfig": {
"Config": {},
"Type": "journald"
},
"MaskedPaths": [
"/proc/asound",
"/proc/acpi",
"/proc/kcore",
"/proc/keys",
"/proc/latency_stats",
"/proc/timer_list",
"/proc/timer_stats",
"/proc/sched_debug",
"/proc/scsi",
"/sys/firmware"
],
"Memory": 0,
"MemoryReservation": 0,
"MemorySwap": 0,
"MemorySwappiness": null,
"NanoCpus": 0,
"NetworkMode": "default",
"OomKillDisable": null,
"OomScoreAdj": 0,
"PidMode": "",
"PidsLimit": null,
"PortBindings": {},
"Privileged": false,
"PublishAllPorts": false,
"ReadonlyPaths": [
"/proc/bus",
"/proc/fs",
"/proc/irq",
"/proc/sys",
"/proc/sysrq-trigger"
],
"ReadonlyRootfs": false,
"RestartPolicy": {
"MaximumRetryCount": 10,
"Name": "on-failure"
},
"Runtime": "runc",
"SecurityOpt": null,
"ShmSize": 67108864,
"UTSMode": "",
"Ulimits": [
{
"Hard": 1024,
"Name": "nofile",
"Soft": 1024
}
],
"UsernsMode": "",
"VolumeDriver": "",
"VolumesFrom": null
},
"HostnamePath": "/var/lib/docker/containers/cc2e8f0f17f26af6ddcf93da167be388f8a5320233235bf1225e7d90eed785eb/hostname",
"HostsPath": "/var/lib/docker/containers/cc2e8f0f17f26af6ddcf93da167be388f8a5320233235bf1225e7d90eed785eb/hosts",
"Id": "cc2e8f0f17f26af6ddcf93da167be388f8a5320233235bf1225e7d90eed785eb",
"Image": "sha256:1530ef28fd6b6fd9398756ae38af5d45c18413462bad7da5e82087cbe7741d69",
"LogPath": "",
"MountLabel": "system_u:object_r:container_file_t:s0:c288,c529",
"Mounts": [],
"Name": "/check.web.1",
"NetworkSettings": {
"Bridge": "",
"EndpointID": "4031731dfbcb853ef88255590934ca3c3964945d3cfa0b57dfbf9335730774f0",
"Gateway": "172.17.0.1",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"HairpinMode": false,
"IPAddress": "172.17.0.3",
"IPPrefixLen": 16,
"IPv6Gateway": "",
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"MacAddress": "02:42:ac:11:00:03",
"Networks": {
"bridge": {
"Aliases": null,
"DriverOpts": null,
"EndpointID": "4031731dfbcb853ef88255590934ca3c3964945d3cfa0b57dfbf9335730774f0",
"Gateway": "172.17.0.1",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"IPAMConfig": null,
"IPAddress": "172.17.0.3",
"IPPrefixLen": 16,
"IPv6Gateway": "",
"Links": null,
"MacAddress": "02:42:ac:11:00:03",
"NetworkID": "f868feb8b624410045a75e4d48e9faeaa6819d81811d131a9818e5c2c537b1b9"
}
},
"Ports": {
"80/tcp": null
},
"SandboxID": "8104e345f3616f72dc3b513b11f9ff62a55a2302ad085908e3ee1525414ff09a",
"SandboxKey": "/var/run/docker/netns/8104e345f361",
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null
},
"Path": "/docker-entrypoint.sh",
"Platform": "linux",
"ProcessLabel": "system_u:system_r:container_t:s0:c288,c529",
"ResolvConfPath": "/var/lib/docker/containers/cc2e8f0f17f26af6ddcf93da167be388f8a5320233235bf1225e7d90eed785eb/resolv.conf",
"RestartCount": 0,
"State": {
"Dead": false,
"Error": "",
"ExitCode": 0,
"FinishedAt": "0001-01-01T00:00:00Z",
"OOMKilled": false,
"Paused": false,
"Pid": 32510,
"Restarting": false,
"Running": true,
"StartedAt": "2022-07-11T20:36:44.03789472Z",
"Status": "running"
}
}
]
Description of problem
A
502error upondokku letsencrypt:enable #{app},meaning the ACME process ends up issuing a
403error.Logs included herein.
Reproduce
on a Fedora CoreOS machine, on an
arm64processor./var/lib/dokku/plugin-listto repair Unable to create directory for account (dokku in docker) #235:letsencrypt: https://base.assembled.app/code/dokku-letsencrypt.git # or letsencrypt: https://github.com/c4lliope/dokku-letsencrypt.git~/.ssh/configto use port 3022.letsencrypt.Actual Results
Expected Results
SSL should be enabled on application's domains.
Environment Information
dokku report APP_NAMEdokku ps:inspect $APP