I’m trying to follow the guide here https://join-lemmy.org/docs/administration/install_docker.html

I get an error when I run docker compose up -d. It happens after docker outputs ⠹ Container lemmy-postgres-1 Starting

Error response from daemon: failed to create task for container: failed to create shim task: OCI
runtime create failed: runc create failed: unable to start container process: error during container
init: error mounting "/home/user/lemmy/volumes/postgres" to rootfs at "/var/lib/postgresql/data":
change mount propagation through procfd: open o_path procfd: open /var/lib/docker/
overlay2/238f1ac3ed9eac5f9c1fdc9ee1851634765c83da087baccc4dfbf4fcc4316b32/merged/
var/lib/postgresql/data: no such file or directory: unknown

I’m not really sure what this means, and trying all of AIs suggestions didn’t fix it.

I’m kinda new to all of this, so any help would be appreciated.

  • poVoq@slrpnk.net
    link
    fedilink
    English
    arrow-up
    10
    ·
    20 hours ago

    Indeed, Postgres 18 introduced some breaking changes and AFAIK Lemmy isn’t compatible with them yet. This will probably be fixed in the next release.

    • revoirwinery@ttrpg.networkOP
      link
      fedilink
      English
      arrow-up
      6
      ·
      19 hours ago

      That’d be a relief if that’s the case.

      I’ve been getting a bit demoralized trying to figure this out.