From 6157b461f3411eda10b02ee9745c35132e6f8dcd Mon Sep 17 00:00:00 2001 From: burakberkkeskin Date: Fri, 11 Oct 2024 15:17:37 +0300 Subject: [PATCH 1/4] removed copy containers conf file instructions --- .../_podman-netavark-configuration.mdx | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/docs/self-hosted-appcircle/configure-server/_podman-netavark-configuration.mdx b/docs/self-hosted-appcircle/configure-server/_podman-netavark-configuration.mdx index 3da3fb3da..4edb1c377 100644 --- a/docs/self-hosted-appcircle/configure-server/_podman-netavark-configuration.mdx +++ b/docs/self-hosted-appcircle/configure-server/_podman-netavark-configuration.mdx @@ -12,18 +12,6 @@ sudo dnf install -y netavark Once the installation is complete, please follow these steps to configure Podman: -- Copy the /usr/share/containers/containers.conf file to /etc/containers/containers.conf. - -```bash -sudo cp /usr/share/containers/containers.conf /etc/containers/containers.conf -``` - -- Edit the /etc/containers/containers.conf file. - -```bash -sudo vi /etc/containers/containers.conf -``` - - Add the following content to the [network] section: ```bash From 40e31f04245d9ac4eaf90151957ce75a90835a1a Mon Sep 17 00:00:00 2001 From: burakberkkeskin Date: Fri, 11 Oct 2024 15:37:33 +0300 Subject: [PATCH 2/4] added info about cgroup error Signed-off-by: burakberkkeskin --- .../install-server/podman.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/self-hosted-appcircle/install-server/podman.md b/docs/self-hosted-appcircle/install-server/podman.md index cb2840ce6..0fdac5086 100644 --- a/docs/self-hosted-appcircle/install-server/podman.md +++ b/docs/self-hosted-appcircle/install-server/podman.md @@ -662,6 +662,22 @@ So it may need up to ~20 min to system be up according to your internet connecti ::: +:::info +#### Cgroup controller error + +If you encounter an error after executing the up command similar to the one shown below, it indicates that the user running the Appcircle server does not have the necessary permissions to set resource limits on processes. + +```bash +Error: OCI runtime error: unable to start container "05d4dd86c3fbbcbe8e7e8dbb43fa88d0053de0e9cd1e25e96e473470de973dfa": crun: the requested cgroup controller `cpu` is not available +``` + +To resolve this issue, please refer to the [Podman FAQ document](https://github.com/containers/podman/blob/main/troubleshooting.md#26-running-containers-with-resource-limits-fails-with-a-permissions-error) for detailed instructions. + +Important: After creating the configuration file, ensure you reboot the server for the changes to take effect. + +You can restart the Appcircle server by using the `up` command after the reboot. +::: + Now you can check system health and gain an overview of the status. ```bash From bb09a9c8278770e7a9a8f6c854a68fac17618211 Mon Sep 17 00:00:00 2001 From: burakberkkeskin Date: Fri, 11 Oct 2024 15:45:33 +0300 Subject: [PATCH 3/4] added oracle linux 9 support to documents Signed-off-by: burakberkkeskin --- .../advanced-configuration/store-dist-dmz.md | 2 ++ docs/self-hosted-appcircle/install-server/docker.md | 1 + docs/self-hosted-appcircle/install-server/podman.md | 1 + .../install-server/pre-installation-checklist.md | 6 ++++++ 4 files changed, 10 insertions(+) diff --git a/docs/self-hosted-appcircle/configure-server/advanced-configuration/store-dist-dmz.md b/docs/self-hosted-appcircle/configure-server/advanced-configuration/store-dist-dmz.md index a1d6ec3b9..40c04fde4 100644 --- a/docs/self-hosted-appcircle/configure-server/advanced-configuration/store-dist-dmz.md +++ b/docs/self-hosted-appcircle/configure-server/advanced-configuration/store-dist-dmz.md @@ -58,6 +58,7 @@ If you have installed the Appcircle server with Podman: - CentOS Stream 8 or later - RHEL 8 or later +- Oracle Linux 9 or later If you have installed the Appcircle server with Docker: @@ -65,6 +66,7 @@ If you have installed the Appcircle server with Docker: - Debian 11 or later - CentOS 8 or later - RHEL 8 or later +- Oracle Linux 9 or later ### Hardware Requirements diff --git a/docs/self-hosted-appcircle/install-server/docker.md b/docs/self-hosted-appcircle/install-server/docker.md index f7c949110..bac54a244 100644 --- a/docs/self-hosted-appcircle/install-server/docker.md +++ b/docs/self-hosted-appcircle/install-server/docker.md @@ -23,6 +23,7 @@ Self-hosted Appcircle server utilizing Docker, can only be installed on Linux op - Debian 11 or later - CentOS 8 or later - RHEL 8 or later +- Oracle Linux 9 or later ### Hardware Requirements diff --git a/docs/self-hosted-appcircle/install-server/podman.md b/docs/self-hosted-appcircle/install-server/podman.md index 0fdac5086..00e9edbb6 100644 --- a/docs/self-hosted-appcircle/install-server/podman.md +++ b/docs/self-hosted-appcircle/install-server/podman.md @@ -26,6 +26,7 @@ Self-hosted Appcircle server utilizing Podman, can only be installed on Linux op - CentOS Stream 8 or later - RHEL 8 or later +- Oracle Linux 9 or later :::info diff --git a/docs/self-hosted-appcircle/install-server/pre-installation-checklist.md b/docs/self-hosted-appcircle/install-server/pre-installation-checklist.md index fe25e8159..76057d6b1 100644 --- a/docs/self-hosted-appcircle/install-server/pre-installation-checklist.md +++ b/docs/self-hosted-appcircle/install-server/pre-installation-checklist.md @@ -37,6 +37,12 @@ cat /etc/os-release cat /etc/centos-release ``` +- [ ] If you are using Oracle Linux, it should be **Oracle Linux 9 or later**. + +```bash +cat /etc/os-release +``` + ### Check the CPU Cores - [ ] Minimum CPU core count should be **8 cores**. From 5075c91983849fe72734b46c6b9d450b65f21348 Mon Sep 17 00:00:00 2001 From: burakberkkeskin Date: Fri, 11 Oct 2024 15:48:34 +0300 Subject: [PATCH 4/4] undo editing podman configuration file Signed-off-by: burakberkkeskin --- .../configure-server/_podman-netavark-configuration.mdx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/self-hosted-appcircle/configure-server/_podman-netavark-configuration.mdx b/docs/self-hosted-appcircle/configure-server/_podman-netavark-configuration.mdx index 4edb1c377..100c65064 100644 --- a/docs/self-hosted-appcircle/configure-server/_podman-netavark-configuration.mdx +++ b/docs/self-hosted-appcircle/configure-server/_podman-netavark-configuration.mdx @@ -12,6 +12,12 @@ sudo dnf install -y netavark Once the installation is complete, please follow these steps to configure Podman: +- Edit the /etc/containers/containers.conf file. + +```bash +sudo vi /etc/containers/containers.conf +``` + - Add the following content to the [network] section: ```bash