From 57dd9015e276df86d185af851c12bdb36ad83424 Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Thu, 24 Mar 2022 12:21:19 +0100 Subject: [PATCH] Docs: Improve "cgroups" hint in config examples for Raspberry Pi #2067 --- docker/examples/arm64/docker-compose.yml | 4 ++-- docker/examples/armv7/docker-compose.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docker/examples/arm64/docker-compose.yml b/docker/examples/arm64/docker-compose.yml index a34e99705..33038aa6b 100644 --- a/docker/examples/arm64/docker-compose.yml +++ b/docker/examples/arm64/docker-compose.yml @@ -11,8 +11,8 @@ version: '3.5' # as well as Raspberry Pi OS (Raspbian) installations without 64-bit support. # - Running PhotoPrism on a server with less than 4 GB of swap space or setting a memory/swap limit can cause unexpected # restarts ("crashes"), for example, when the indexer temporarily needs more memory to process large files. -# - If you see Docker errors related to "cgroups", it may help to add the following to /boot/firmware/cmdline.txt: -# cgroup_enable=cpuset cgroup_enable=memory cgroup_memory=1 +# - In case you see Docker errors related to "cgroups", try adding the following parameters to /boot/firmware/cmdline.txt +# or /boot/cmdline.txt (file location depends on the OS in use): cgroup_enable=cpuset cgroup_enable=memory cgroup_memory=1 # - If you install PhotoPrism on a public server outside your home network, please always run it behind a secure # HTTPS reverse proxy such as Traefik or Caddy. Your files and passwords will otherwise be transmitted # in clear text and can be intercepted by anyone, including your provider, hackers, and governments: diff --git a/docker/examples/armv7/docker-compose.yml b/docker/examples/armv7/docker-compose.yml index faa54cf2c..92b4f26e3 100644 --- a/docker/examples/armv7/docker-compose.yml +++ b/docker/examples/armv7/docker-compose.yml @@ -6,8 +6,8 @@ version: '3.5' # - Use https://dl.photoprism.app/docker/arm64/docker-compose.yml for running PhotoPrism on ARM64-based (64-bit) devices. # - Running PhotoPrism on a server with less than 4 GB of swap space or setting a memory/swap limit can cause unexpected # restarts ("crashes"), for example, when the indexer temporarily needs more memory to process large files. -# - If you see Docker errors related to "cgroups", it may help to add the following to /boot/firmware/cmdline.txt: -# cgroup_enable=cpuset cgroup_enable=memory cgroup_memory=1 +# - In case you see Docker errors related to "cgroups", try adding the following parameters to /boot/firmware/cmdline.txt +# or /boot/cmdline.txt (file location depends on the OS in use): cgroup_enable=cpuset cgroup_enable=memory cgroup_memory=1 # - If you install PhotoPrism on a public server outside your home network, please always run it behind a secure # HTTPS reverse proxy such as Traefik or Caddy. Your files and passwords will otherwise be transmitted # in clear text and can be intercepted by anyone, including your provider, hackers, and governments: