Can anyone share their bookstack docker-compose app with me?

I am trying to host it and the sample docker-compose file herehttps://github.com/linuxserver/docker-bookstack/pkgs/container/bookstack#usage

does not work for me. Getting error when db migration is applied.

https://preview.redd.it/dtt6t2cf7fvb1.png?width=1279&format=png&auto=webp&s=3cad128718963d29032ee796f33057cc52b76f74

I am testing this on my windows machine locally but intend to host in a linux machine.

docker-compose file. https://pastebin.com/AVLrG4Ea

  • ssddanbrown@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 months ago

    This is common on windows. Something funk goes on at the filesystem level in this configuration which causes issues with migrations. There’s a relevant thread here. Some folks in there have solved it via alternative volume options, or alternative database docker images. Should not be something you experience on Linux though.

    • shahisunil@alien.topOPB
      link
      fedilink
      English
      arrow-up
      1
      ·
      11 months ago

      Oh my god. I wasted hours for nothing. This was indeed the issue. I ran it docker volume it worked fine in windows. Then tried in Ubuntu server by mapping to host directory and it is running now.

      Thank you very much.

      • ssddanbrown@alien.topB
        link
        fedilink
        English
        arrow-up
        1
        ·
        11 months ago

        Happy to help! Just as an extra warning, don’t auto-upgrade BookStack containers via something like watchtower. Most of the annoying issues I’ve had reported from docker users of BookStack seems to be due to auto-upgrade failing, which can often be hard to track down since errors may not show right away, or the user many not realise an update was attempted.

        • shahisunil@alien.topOPB
          link
          fedilink
          English
          arrow-up
          1
          ·
          11 months ago

          Thanks will keep that in mind. Also thanks for all your work on this. Really looking forward to use this.