Comments (3)
I might also suggest a third way. The "docker way" is to log to stdout/stderr and let docker handle the logs. https://docs.docker.com/config/containers/logging/
from docker-freepbx.
Hi, just in the middle of moving houses so will look into this in a few days, I'm likely to just purge the contents of the cron.daily/.hourly folders and stick loading cron via the s6 init system. However, in the meantime, you can put in your environment variables ENABLE_CRON=FALSE
which will disable the logrotate immediately until I have a fix.
@jeffballard I would love to go the docker route (or better, send it to Logstash), this image has multiple logs (fail2ban, freepbx and asterisk <at least 5> and then apache) which might get pretty unruly quickly. My asterisk/full log is over 3gb in a 24 hour period.
I have someone in my office working on an alternative logging solution that I should see the results of it when back in October 15th, and if it meets our needs I will merge it into this image.
from docker-freepbx.
@tgruenert I have identified the issue. Anacron isn't installed but is being called from the cron.* as identified, so I have cleaned that up. However the more glaring problem was that Logrotate was archiving Apache log files, but then creating archives of those archives creating one big mess and pinning the CPU with compressing the logs. Our logs are huge so this was naturally causing some performance issues. Thanks for the report. There is a new build coming momentarily.
from docker-freepbx.
Related Issues (20)
- msmtp bug / Error code 220 "with message" HOT 4
- Is activating a PBXact license possible?
- Chaging the default database password
- First setup: many GPG errors and others 🤔 HOT 1
- Asterisk constantly crashes causing "Error communicating with Asterisk" & "Can't seem to locate /usr/sbin/fwconsole" errors during setup HOT 3
- Unable to apply config from web ui again in latest update && Bug with Node 12 and ucp!!!
- Is project alive? HOT 3
- Unable to apply config from UI since last two updates!!! HOT 2
- Use DAHDI drivers with FreePBX in Docker
- Unable to apply HOT 13
- Image on Docker Hub don't seem to work HOT 2
- Using Traefik in a different Docker Container HOT 2
- > [3/3] ADD install /:
- Registering with Sangoma
- Portainer Stack ? HOT 4
- Free PBX error in apache logs
- Can't launch tiredofit/freepbx:14
- "Invalid Database Permissions. The error was: SQLSTATE[HY000] [2002] Connection timed out" and "[ERROR] /etc/cont-init.d/10-freepbx ** [freepbx] Can't seem to locate /usr/sbin/fwconsole.. exiting" HOT 1
- Error when specifying a non-standard port in K8S
- How do set up a Docker container with the 'tiredofit/freepbx' image to establish a WebSocket connection using SIP.js?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-freepbx.