Git Product home page Git Product logo

Comments (12)

tiredofit avatar tiredofit commented on May 18, 2024 1

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.

sylhero avatar sylhero commented on May 18, 2024

it happens recently

from docker-freepbx.

sylhero avatar sylhero commented on May 18, 2024

@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.

tiredofit avatar tiredofit commented on May 18, 2024

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.

rene-gomez avatar rene-gomez commented on May 18, 2024

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.

tiredofit avatar tiredofit commented on May 18, 2024

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.

rene-gomez avatar rene-gomez commented on May 18, 2024

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.

tiredofit avatar tiredofit commented on May 18, 2024

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.

rene-gomez avatar rene-gomez commented on May 18, 2024

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.

tiredofit avatar tiredofit commented on May 18, 2024

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.

rene-gomez avatar rene-gomez commented on May 18, 2024

Hi @tiredofit

Cool!, this release should be fix to SQL problems too?

Best regards.

from docker-freepbx.

tiredofit avatar tiredofit commented on May 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.