-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bluecherry docker not running on Fedora 38 #25
Comments
Is the rsyslog process using 100% cpu? We found this problem on another
Fedora install.
On Fri, Sep 8, 2023 at 9:56 PM Ben7230 ***@***.***> wrote:
I ran the script to install the docker container and everything went just
fine until it actually started the Bluecherry server container.
There is no webpage at localhost:7001 and the container keeps restarting
about every minute.
These are the logs from docker log bc-server;
Update MySQL's my.cnf from environment variables passed in from docker
Writing /root/.my.cnf
Update bluecherry server's bluecherry.conf from environment variables
passed in from docker
Writing /etc/bluecherry.conf
chown bluecherry:bluecherry /var/lib/bluecherry/recordings
/usr/sbin/rsyslogd
rsyslogd: pidfile '/run/rsyslogd.pid' and pid 10 already exist.
If you want to run multiple instances of rsyslog, you need to specify
different pid files for them (-i option).
rsyslogd: run failed with error -3000 (see rsyslog.h or try
https://www.rsyslog.com/e/3000 to learn what that number means)
This error keeps repeating and repeating itself.
Is there a way to bypass this problem till a fix is made?
—
Reply to this email directly, view it on GitHub
<#25>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACQ5VXEZQ7LCELUV65FCTLXZPLHFANCNFSM6AAAAAA4REMHVM>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
--
Sent from Gmail Mobile
|
Not 100% for me, rsyslog process was using around 15-18% for half a minute and then it quit. but the container keeps restarting about every minute. A few months ago I tried it before you had the install script. Then the rsyslog process would stay running at 15-18% until I stopped the container manually. |
Can you paste the output of:
cat /usr/lib/systemd/system/docker.service
cat /usr/lib/systemd/system/containerd.service
…On Fri, Sep 8, 2023 at 10:27 PM Ben7230 ***@***.***> wrote:
Not 100% for me, rsyslog process was using around 15-18% for half a minute
and then it quit. but the container keeps restarting about every minute.
A few months ago I tried it before you had the install script. Then the
rsyslog process would stay running at 15-18% until I stopped the container
manually.
—
Reply to this email directly, view it on GitHub
<#25 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACQ5VTBDYFUBR2T37JFEU3XZPOY5ANCNFSM6AAAAAA4REMHVM>
.
You are receiving this because you commented.Message ID:
***@***.***>
--
Curtis Hall ***@***.*** ***@***.***>)
Bluecherry - www.bluecherrydvr.com / store.bluecherry.net
|
Try this command:
(You may have to restart the host if this doesn't fix it...) |
cat /usr/lib/systemd/system/docker.service >>> [benjamin@fedora ~]$ cat /usr/lib/systemd/system/docker.service [Service] the default is not to use systemd for cgroups because the delegate issues stillexists and systemd currently does not support the cgroup feature set requiredfor containers run by dockerExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock Note that StartLimit* options were moved from "Service" to "Unit" in systemd 229.Both the old, and new location are accepted by systemd 229 and up, so using the old locationto make them work for either version of systemd.StartLimitBurst=3 Note that StartLimitInterval was renamed to StartLimitIntervalSec in systemd 230.Both the old, and new name are accepted by systemd 230 and up, so using the old name to makethis option work for either version of systemd.StartLimitInterval=60s Having non-zero Limit*s causes performance problems due to accounting overheadin the kernel. We recommend using cgroups to do container-local accounting.LimitNOFILE=infinity Comment TasksMax if your systemd version does not support it.Only systemd 226 and above support this option.TasksMax=infinity set delegate yes so that systemd does not reset the cgroups of docker containersDelegate=yes kill only the docker process, not all processes in the cgroupKillMode=process [Install] |
cat /usr/lib/systemd/system/containerd.service >>>> [benjamin@fedora ~]$ cat /usr/lib/systemd/system/containerd.service Copyright The containerd Authors.Licensed under the Apache License, Version 2.0 (the "License");you may not use this file except in compliance with the License.You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, softwaredistributed under the License is distributed on an "AS IS" BASIS,WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions andlimitations under the License.[Unit] [Service] Type=notify Having non-zero Limit*s causes performance problems due to accounting overheadin the kernel. We recommend using cgroups to do container-local accounting.LimitNPROC=infinity Comment TasksMax if your systemd version does not supports it.Only systemd 226 and above support this version.TasksMax=infinity [Install] |
@curtishall After running the commands above, it is now working. Thank you. |
Great, thanks for the patience. I'll work on adding this fix to the Fedora part of the script next week. |
Were you able to fix this issue? How do I go about updating to the latest release? |
These changes were introduced into the latest install script. Which version do you have now? docker exec bc-server dpkg -l bluecherry |
docker exec bc-server dpkg -l bluecherry |
If you are using a Bluecherry license, deactivate the license in settings
then run:
docker compose pull
docker compose down
docker compose start
That should pull in rc9 and get you migrated over.
…On Tue, Dec 5, 2023 at 8:26 PM Ben7230 ***@***.***> wrote:
docker exec bc-server dpkg -l bluecherry
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
ii bluecherry 3:3.1.0-rc8 amd64 Bluecherry DVR Server
—
Reply to this email directly, view it on GitHub
<#25 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACQ5VXTVKEM4WJ7AT67EZDYH7JVTAVCNFSM6AAAAAA4REMHVOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBRHE4DENRXGQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Curtis Hall ***@***.*** ***@***.***>)
Bluecherry - www.bluecherrydvr.com / store.bluecherry.net
|
on running the command "docker compose start" I keep getting the error service "mta_mailer" has no container to start |
docker compose up -d |
all the dockers start ok except for the bc-server, that one keeps restarting, this is the error that comes up in the logs.
|
I think this thread can be closed. I removed/deleted everything, and then reinstalled via the install script and now its working fine. |
I ran the script to install the docker container and everything went just fine until it actually started the Bluecherry server container.
There is no webpage at localhost:7001 and the container keeps restarting about every minute.
These are the logs from docker log bc-server;
This error keeps repeating and repeating itself.
Is there a way to bypass this problem till a fix is made?
The text was updated successfully, but these errors were encountered: