hello everyone I was setting up my local dev envir...
# contributing
a
hello everyone I was setting up my local dev environment and it is stuck here
n
Hey @Ankit schema-migrator-async is supposed to start and exit the container as soon as clickhouse container is healthy. Could you please run
docker inspect schema-migrator-sync
also by any chance did you changed the
.devenv/docker/clickhouse/compose.yaml
a
Copy code
[
    {
        "Id": "a800666fc145aecd62309f189956789465bdb4eb3a41e603d8b10fbb5ec9f9ce",
        "Created": "2025-04-15T11:16:29.451094359Z",
        "Path": "/signoz-schema-migrator",
        "Args": [
            "sync",
            "--cluster-name=cluster",
            "--dsn=<tcp://clickhouse:9000>",
            "--replication=true",
            "--up="
        ],
        "State": {
            "Status": "restarting",
            "Running": true,
            "Paused": false,
            "Restarting": true,
            "OOMKilled": false,
            "Dead": false,
            "Pid": 0,
            "ExitCode": 1,
            "Error": "",
            "StartedAt": "2025-04-17T12:23:00.530310079Z",
            "FinishedAt": "2025-04-17T12:23:00.817676957Z"
        },
        "Image": "sha256:d24a7259b1f795fdae67d75bf9e048be137a0d21e7bfba9d9f7427afaa356a3a",
        "ResolvConfPath": "/var/lib/docker/containers/a800666fc145aecd62309f189956789465bdb4eb3a41e603d8b10fbb5ec9f9ce/resolv.conf",
        "HostnamePath": "/var/lib/docker/containers/a800666fc145aecd62309f189956789465bdb4eb3a41e603d8b10fbb5ec9f9ce/hostname",
        "HostsPath": "/var/lib/docker/containers/a800666fc145aecd62309f189956789465bdb4eb3a41e603d8b10fbb5ec9f9ce/hosts",
        "LogPath": "/var/lib/docker/containers/a800666fc145aecd62309f189956789465bdb4eb3a41e603d8b10fbb5ec9f9ce/a800666fc145aecd62309f189956789465bdb4eb3a41e603d8b10fbb5ec9f9ce-json.log",
        "Name": "/schema-migrator-sync",
        "RestartCount": 1785,
        "Driver": "overlay2",
        "Platform": "linux",
        "MountLabel": "",
        "ProcessLabel": "",
        "AppArmorProfile": "docker-default",
        "ExecIDs": null,
        "HostConfig": {
            "Binds": null,
            "ContainerIDFile": "",
            "LogConfig": {
                "Type": "json-file",
                "Config": {}
            },
            "NetworkMode": "clickhouse_default",
            "PortBindings": {},
            "RestartPolicy": {
                "Name": "on-failure",
                "MaximumRetryCount": 0
            },
            "AutoRemove": false,
            "VolumeDriver": "",
            "VolumesFrom": null,
            "ConsoleSize": [
                0,
                0
            ],
            "CapAdd": null,
            "CapDrop": null,
            "CgroupnsMode": "private",
            "Dns": null,
            "DnsOptions": null,
            "DnsSearch": null,
            "ExtraHosts": [],
            "GroupAdd": null,
            "IpcMode": "private",
            "Cgroup": "",
            "Links": null,
            "OomScoreAdj": 0,
            "PidMode": "",
            "Privileged": false,
            "PublishAllPorts": false,
            "ReadonlyRootfs": false,
            "SecurityOpt": null,
            "UTSMode": "",
            "UsernsMode": "",
            "ShmSize": 67108864,
            "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",
                "/sys/devices/system/cpu/cpu4/thermal_throttle",
                "/sys/devices/system/cpu/cpu5/thermal_throttle",
                "/sys/devices/system/cpu/cpu6/thermal_throttle",
                "/sys/devices/system/cpu/cpu7/thermal_throttle",
                "/sys/devices/system/cpu/cpu8/thermal_throttle",
                "/sys/devices/system/cpu/cpu9/thermal_throttle",
                "/sys/devices/system/cpu/cpu10/thermal_throttle",
                "/sys/devices/system/cpu/cpu11/thermal_throttle"
            ],
            "ReadonlyPaths": [
                "/proc/bus",
                "/proc/fs",
                "/proc/irq",
                "/proc/sys",
                "/proc/sysrq-trigger"
            ]
        },
        "GraphDriver": {
            "Data": {
                "ID": "a800666fc145aecd62309f189956789465bdb4eb3a41e603d8b10fbb5ec9f9ce",
                "LowerDir": "/var/lib/docker/overlay2/5e9eb1eaa61d493a184388e7561b237ee2bab82c6985a780beb91986b098461a-init/diff:/var/lib/docker/overlay2/a8354745ec67c19c10cc834f4e254efea99ee6d0390b759a41036ef32c73201a/diff:/var/lib/docker/overlay2/3a172f6f6bd9fe97e411b93e19907234e91f95d5f786763dec356b241d3965d3/diff",
                "MergedDir": "/var/lib/docker/overlay2/5e9eb1eaa61d493a184388e7561b237ee2bab82c6985a780beb91986b098461a/merged",
                "UpperDir": "/var/lib/docker/overlay2/5e9eb1eaa61d493a184388e7561b237ee2bab82c6985a780beb91986b098461a/diff",
                "WorkDir": "/var/lib/docker/overlay2/5e9eb1eaa61d493a184388e7561b237ee2bab82c6985a780beb91986b098461a/work"
            },
            "Name": "overlay2"
        },
        "Mounts": [],
        "Config": {
            "Hostname": "a800666fc145",
            "Domainname": "",
            "User": "10001",
            "AttachStdin": false,
            "AttachStdout": true,
            "AttachStderr": true,
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": [
                "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
            ],
            "Cmd": [
                "sync",
                "--cluster-name=cluster",
                "--dsn=<tcp://clickhouse:9000>",
                "--replication=true",
                "--up="
            ],
            "Image": "signoz/signoz-schema-migrator:0.111.29",
            "Volumes": null,
            "WorkingDir": "/",
            "Entrypoint": [
                "/signoz-schema-migrator"
            ],
            "OnBuild": null,
            "Labels": {
                "com.docker.compose.config-hash": "a7fb472c60803e4a3a3494576f8bbfed340acb2f28880048faa65b0d50b4eb59",
                "com.docker.compose.container-number": "1",
                "com.docker.compose.depends_on": "clickhouse:service_healthy:false",
                "com.docker.compose.image": "sha256:d24a7259b1f795fdae67d75bf9e048be137a0d21e7bfba9d9f7427afaa356a3a",
                "com.docker.compose.oneoff": "False",
                "com.docker.compose.project": "clickhouse",
                "com.docker.compose.project.config_files": "/home/avtheking/os/signoz/.devenv/docker/clickhouse/compose.yaml",
                "com.docker.compose.project.working_dir": "/home/avtheking/os/signoz/.devenv/docker/clickhouse",
                "com.docker.compose.service": "schema-migrator-sync",
                "com.docker.compose.version": "2.34.0"
            }
        },
        "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": {
                "clickhouse_default": {
                    "IPAMConfig": null,
                    "Links": null,
                    "Aliases": [
                        "schema-migrator-sync",
                        "schema-migrator-sync"
                    ],
                    "MacAddress": "",
                    "DriverOpts": null,
                    "GwPriority": 0,
                    "NetworkID": "35c00330e555997fd7ed1c2c600edbad2e935f42a32fda5fb5420d293ca555f3",
                    "EndpointID": "",
                    "Gateway": "",
                    "IPAddress": "",
                    "IPPrefixLen": 0,
                    "IPv6Gateway": "",
                    "GlobalIPv6Address": "",
                    "GlobalIPv6PrefixLen": 0,
                    "DNSNames": [
                        "schema-migrator-sync",
                        "a800666fc145"
                    ]
                }
            }
        }
    }
]
this is the output of the
docker inspect schema-migrator-sync
also by any chance did you changed the
.devenv/docker/clickhouse/compose.yaml
no