Comments (12)
Try restarting the container - permissions get reset upon restart, otherwise you can quickly solve by entering inside the container
docker exec -it yourcontainername bash
chown -R asterisk /var/spool/asterisk
from docker-freepbx.
it happens recently
from docker-freepbx.
@tiredofit is there a way we can fix it from the Dockerfile? I added chown -R asterisk /var/spool/asterisk
at the end of the dockerfile but still have the same problem
from docker-freepbx.
I'm afraid the Dockerfile won't fix what's happening on your end.
Can you do me a favor and get me a ls -l listing of your cache folder? There must be something writing to it that is not running the asterisk folder. As each time the container boots up we reset the permissions but it sounds like something else is running in there.
(You can see line 75 of install/etc/cont-init.d/10-freepbx in this repo to see the permissions reset. You'll notice I am applying the permissions to /data as that's where is actually exists based on the data persistence hacks I perform when building the image).
from docker-freepbx.
Hello, this is my result:
I deleted my volumes and containers to start from docker-compose and now have the same problem too.
root@80caa8a46613:/var/spool/asterisk/cache# ls -l
total 4
drwxr-xr-x 2 root root 4096 Dec 12 15:18 c9
root@80caa8a46613:/var/spool/asterisk/cache#
from docker-freepbx.
Thanks for this. I wonder what has changed. In fact, I don't even have a /var/spool/asterisk cache folder :)
Investigating with a fresh install.
from docker-freepbx.
Hello
@tiredofit do you know any problem.
Today i deleted everyting i run: docker system prune -a and i deteled all.
When I run Docker-compose up -d again, i can see this problem.
Maybe the debian base have an new bug?
Best regards.
Rene
from docker-freepbx.
Hi Rene, I'm actually seeing major problems with new installs right now.
The GPG keys are not refreshing for me, the PHP repository is now changed, and any downloads fo the freepbx modules are failing. I haven't had a successful build yet to be able to push some changes to support your cache permissions issue. I'll have a few hours of time on Monday to be able to go at this again.
from docker-freepbx.
Hi @tiredofit I understand perfectly you only works on it in your free time, mee too, so, I hope you have some time for check that.
Best regards.
from docker-freepbx.
Hi @rene-gomez . I have just put together a maintenance release (Tag 2.12) that is being built on the DockerHub now which should (?) get you back in business.
Changelog:
## 2.12 - 2018-12-27
* Sort Defaults in Startup Script (cosmetic)
* Add cache dir upon first startup
* Fix internal ports exposure
* Change GPG Keyserver
* Change PHP Packages Source Location
* Update MariaDB Connector
* Fix Database Sanity Tests
* Reorder Module Download
* Add Warning for Self Signed Certificate
* Stop using edge versions on initial bootup, problems have been resolved which caused this on upstream
from docker-freepbx.
Hi @tiredofit
Cool!, this release should be fix to SQL problems too?
Best regards.
from docker-freepbx.
That I could never figure out but based on your logs in the other issue semed to be all related to an incomplete install when the image does the git pull... Let me know.
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.