Replies: 2 comments 1 reply
-
I see you have a permission problem:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks for your reply. How can I fix it? I am new to Linux. Any suggestions are highly appreciated! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Guys,
I ran a dawarich update as well and now I get this error that the db is unhealthy.
Any advise how I can fix this?
✘ Container dawarich_db Error 0.5s
dependency failed to start: container dawarich_db is unhealthy
mike@Linux:/dawarich$ sudo docker compose up -d # Start the updated instance
[+] Running 2/2
✔ Container dawarich_redis Healthy 0.5s
✘ Container dawarich_db Error 0.5s
dependency failed to start: container dawarich_db is unhealthy
mike@Linux:/dawarich$
mike@Linux:/dawarich$ sudo docker inspect dawarich_db
[
{
"Id": "de4b5becfcb5da81ddabd52e5b1fa5107df16f82439929fc41662b943e72be1f",
"Created": "2025-06-23T16:23:28.715341198Z",
"Path": "docker-entrypoint.sh",
"Args": [
"postgres"
],
"State": {
"Status": "restarting",
"Running": true,
"Paused": false,
"Restarting": true,
"OOMKilled": false,
"Dead": false,
"Pid": 0,
"ExitCode": 1,
"Error": "",
"StartedAt": "2025-06-23T17:43:31.367728814Z",
"FinishedAt": "2025-06-23T17:43:31.625399723Z",
"Health": {
"Status": "unhealthy",
"FailingStreak": 0,
"Log": []
}
},
"Image": "sha256:698836bf89eae7499e85cd271f8bc3f871bf251d36eb727e7dc81727fa867cbc",
"ResolvConfPath": "/var/lib/docker/containers/de4b5becfcb5da81ddabd52e5b1fa5107df16f82439929fc41662b943e72be1f/resolv.conf",
"HostnamePath": "/var/lib/docker/containers/de4b5becfcb5da81ddabd52e5b1fa5107df16f82439929fc41662b943e72be1f/hostname",
"HostsPath": "/var/lib/docker/containers/de4b5becfcb5da81ddabd52e5b1fa5107df16f82439929fc41662b943e72be1f/hosts",
"LogPath": "/var/lib/docker/containers/de4b5becfcb5da81ddabd52e5b1fa5107df16f82439929fc41662b943e72be1f/de4b5becfcb5da81ddabd52e5b1fa5107df16f82439929fc41662b943e72be1f-json.log",
"Name": "/dawarich_db",
"RestartCount": 81,
"Driver": "overlay2",
"Platform": "linux",
"MountLabel": "",
"ProcessLabel": "",
"AppArmorProfile": "docker-default",
"ExecIDs": null,
"HostConfig": {
"Binds": [
"dawarich_dawarich_db_data:/var/lib/postgresql/data:rw",
"dawarich_dawarich_shared:/var/shared:rw"
],
"ContainerIDFile": "",
"LogConfig": {
"Type": "json-file",
"Config": {}
},
"NetworkMode": "dawarich_dawarich",
"PortBindings": {},
"RestartPolicy": {
"Name": "always",
"MaximumRetryCount": 0
},
"AutoRemove": false,
"VolumeDriver": "",
"VolumesFrom": null,
"ConsoleSize": [
0,
0
],
"CapAdd": null,
"CapDrop": null,
"CgroupnsMode": "private",
"Dns": [],
"DnsOptions": [],
"DnsSearch": [],
"ExtraHosts": [],
"GroupAdd": null,
"IpcMode": "private",
"Cgroup": "",
"Links": null,
"OomScoreAdj": 0,
"PidMode": "",
"Privileged": false,
"PublishAllPorts": false,
"ReadonlyRootfs": false,
"SecurityOpt": null,
"UTSMode": "",
"UsernsMode": "",
"ShmSize": 1073741824,
"Runtime": "runc",
"Isolation": "",
"CpuShares": 0,
"Memory": 0,
"NanoCpus": 0,
"CgroupParent": "",
"BlkioWeight": 0,
"BlkioWeightDevice": null,
"BlkioDeviceReadBps": null,
"BlkioDeviceWriteBps": null,
"BlkioDeviceReadIOps": null,
"BlkioDeviceWriteIOps": null,
"CpuPeriod": 0,
"CpuQuota": 0,
"CpuRealtimePeriod": 0,
"CpuRealtimeRuntime": 0,
"CpusetCpus": "",
"CpusetMems": "",
"Devices": null,
"DeviceCgroupRules": null,
"DeviceRequests": null,
"MemoryReservation": 0,
"MemorySwap": 0,
"MemorySwappiness": null,
"OomKillDisable": null,
"PidsLimit": null,
"Ulimits": null,
"CpuCount": 0,
"CpuPercent": 0,
"IOMaximumIOps": 0,
"IOMaximumBandwidth": 0,
"MaskedPaths": [
"/proc/asound",
"/proc/acpi",
"/proc/interrupts",
"/proc/kcore",
"/proc/keys",
"/proc/latency_stats",
"/proc/timer_list",
"/proc/timer_stats",
"/proc/sched_debug",
"/proc/scsi",
"/sys/firmware",
"/sys/devices/virtual/powercap",
"/sys/devices/system/cpu/cpu0/thermal_throttle",
"/sys/devices/system/cpu/cpu1/thermal_throttle",
"/sys/devices/system/cpu/cpu2/thermal_throttle",
"/sys/devices/system/cpu/cpu3/thermal_throttle"
],
"ReadonlyPaths": [
"/proc/bus",
"/proc/fs",
"/proc/irq",
"/proc/sys",
"/proc/sysrq-trigger"
]
},
"GraphDriver": {
"Data": {
"ID": "de4b5becfcb5da81ddabd52e5b1fa5107df16f82439929fc41662b943e72be1f",
"LowerDir": "/var/lib/docker/overlay2/e70e946a46ab442ebbaa2a60a96f7bd5f18e91395af41f60ca8d1b6ae1154060-init/diff:/var/lib/docker/overlay2/ba70e0e1e7a6243b298fb6097953277aff0cb01743c13645d29b13a7853846ba/diff:/var/lib/docker/overlay2/a3fb0cfc0e64c3d4890f001ab94de16c7ecbc7691237d42b1611113ab2ec8c84/diff:/var/lib/docker/overlay2/4dc74daa489f1b1d77d64cec0692bf7d939df4401d1aef9df9929de782eea966/diff:/var/lib/docker/overlay2/a85f3f25f8e9a00f0b5c28bef4e7070f4c3fcece648a85e12930c0afe52118c0/diff:/var/lib/docker/overlay2/9c0ad9fbc89cd498f20248a6e9388fa977d9d1dc9ae4785c568f7b0f72ad8985/diff:/var/lib/docker/overlay2/42feb9668b108878ab46df1f025a8ab366e5f3bb134a259ccbf6b481e5b598cd/diff:/var/lib/docker/overlay2/f2f345d40ade231204c9bc54cbb1afdc1440d07203f793e184da9732a6576de8/diff:/var/lib/docker/overlay2/0d46bd73cb59215b4a028bed760ae37e6aec043819dad483837e5a2f5fc8a576/diff:/var/lib/docker/overlay2/9d2264dd26c197af13ad013a6a65841b9e0ee5e62aaa48bb139ede01d8016859/diff:/var/lib/docker/overlay2/7e35fa92b1f1610060ed55beb226b6d6b6d6adf69862bd305ad58c5b790c3863/diff:/var/lib/docker/overlay2/47dd5ff241fa5c6d2add68e9103b9c065989eb08fe17f01af126e33ef6762a32/diff:/var/lib/docker/overlay2/bcf3b022046572e10c583e545e0ace015828b0f78be9b93d128f87d3f9714d2a/diff:/var/lib/docker/overlay2/13394533032f0f28866266414b2ac659374236c71f3a5e45ce1fe44e602d7224/diff",
"MergedDir": "/var/lib/docker/overlay2/e70e946a46ab442ebbaa2a60a96f7bd5f18e91395af41f60ca8d1b6ae1154060/merged",
"UpperDir": "/var/lib/docker/overlay2/e70e946a46ab442ebbaa2a60a96f7bd5f18e91395af41f60ca8d1b6ae1154060/diff",
"WorkDir": "/var/lib/docker/overlay2/e70e946a46ab442ebbaa2a60a96f7bd5f18e91395af41f60ca8d1b6ae1154060/work"
},
"Name": "overlay2"
},
"Mounts": [
{
"Type": "volume",
"Name": "dawarich_dawarich_db_data",
"Source": "/var/lib/docker/volumes/dawarich_dawarich_db_data/_data",
"Destination": "/var/lib/postgresql/data",
"Driver": "local",
"Mode": "rw",
"RW": true,
"Propagation": ""
},
{
"Type": "volume",
"Name": "dawarich_dawarich_shared",
"Source": "/var/lib/docker/volumes/dawarich_dawarich_shared/_data",
"Destination": "/var/shared",
"Driver": "local",
"Mode": "rw",
"RW": true,
"Propagation": ""
}
],
"Config": {
"Hostname": "de4b5becfcb5",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": true,
"AttachStderr": true,
"ExposedPorts": {
"5432/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"POSTGRES_PASSWORD=password",
"POSTGRES_DB=dawarich_development",
"POSTGRES_USER=postgres",
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"GOSU_VERSION=1.17",
"LANG=en_US.utf8",
"PG_MAJOR=17",
"PG_VERSION=17.5",
"PG_SHA256=fcb7ab38e23b264d1902cb25e6adafb4525a6ebcbd015434aeef9eda80f528d8",
"DOCKER_PG_LLVM_DEPS=llvm19-dev \t\tclang19",
"PGDATA=/var/lib/postgresql/data",
"POSTGIS_VERSION=3.5.3",
"POSTGIS_SHA256=44222ed2b8f742ffc1ceb429b09ebb484c7880f9ba27bf7b6b197346cdd25437"
],
"Cmd": [
"postgres"
],
"Healthcheck": {
"Test": [
"CMD-SHELL",
"pg_isready -U postgres -d dawarich_development"
],
"Interval": 10000000000,
"Timeout": 10000000000,
"StartPeriod": 30000000000,
"Retries": 5
},
"Image": "postgis/postgis:17-3.5-alpine",
"Volumes": {
"/var/lib/postgresql/data": {}
},
"WorkingDir": "/",
"Entrypoint": [
"docker-entrypoint.sh"
],
"OnBuild": null,
"Labels": {
"com.docker.compose.config-hash": "8523e04446c77f0e446dcb55076c49c37d88748271a8cae94df98af578d1fe14",
"com.docker.compose.container-number": "1",
"com.docker.compose.depends_on": "",
"com.docker.compose.image": "sha256:698836bf89eae7499e85cd271f8bc3f871bf251d36eb727e7dc81727fa867cbc",
"com.docker.compose.oneoff": "False",
"com.docker.compose.project": "dawarich",
"com.docker.compose.project.config_files": "/home/mike/dawarich/docker-compose.yml",
"com.docker.compose.project.working_dir": "/home/mike/dawarich",
"com.docker.compose.service": "dawarich_db",
"com.docker.compose.version": "2.36.2",
"maintainer": "PostGIS Project - https://postgis.net",
"org.opencontainers.image.description": "PostGIS 3.5.3 spatial database extension with PostgreSQL 17 Alpine",
"org.opencontainers.image.source": "https://github.com/postgis/docker-postgis"
},
"StopSignal": "SIGINT"
},
"NetworkSettings": {
"Bridge": "",
"SandboxID": "",
"SandboxKey": "",
"Ports": {},
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null,
"EndpointID": "",
"Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"MacAddress": "",
"Networks": {
"dawarich_dawarich": {
"IPAMConfig": null,
"Links": null,
"Aliases": [
"dawarich_db",
"dawarich_db"
],
"MacAddress": "",
"DriverOpts": null,
"GwPriority": 0,
"NetworkID": "f2dfbf7533ce937623734f5d9e761b6e7be1bd9181d16b6f17aa60ffe39f373d",
"EndpointID": "",
"Gateway": "",
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"DNSNames": [
"dawarich_db",
"de4b5becfcb5"
]
}
}
}
}
]
mike@Linux:/dawarich$ docker compose up -d --force-recreate
unable to get image 'postgis/postgis:17-3.5-alpine': permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.49/images/postgis/postgis:17-3.5-alpine/json": dial unix /var/run/docker.sock: connect: permission denied
mike@Linux:~/dawarich$
Beta Was this translation helpful? Give feedback.
All reactions