-
-
Notifications
You must be signed in to change notification settings - Fork 94
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
Errors starting up the default andrius/asterisk image. #7
Comments
Please paste your docker startup command or docker-compose config section for this asterisk instance; there is many images with various asterisk versions and I shall know which one you did use and of course try to replicate issue |
Thanks for your quick response! After that I ran the debian-stretch-slim-17-current edition, I got the following: [Sep 30 01:56:55] WARNING[1]: loader.c:2381 load_modules: Some non-required modules failed to load. |
Regarding alpine version ( The problem you had is linux permissions, it did not load Just don't use it now and start this way:
Regarding second part, because you don't have CEL and CDR sqlite3 configs, it was failed. That's normal and generally it is better to use ODBC and postgresql or mariadb (mysql) |
I tested the image using andrius/asterisk:edge but ended up with the same error. How can I fix the permission issue so Asterisk starts? What should I put in the env variables? I'd rather not use root. |
Soon will send a fix :) Sent with GitHawk |
I have the same issue, any updates ? |
@andrius, you seems to forgot to "chown" /etc/asterisk, so asterisk unable to read it's configuration when running under custom UID and GID. |
@koshshk sure! but if you are going to run asterisk in a docker container ... you don't need to have your config files at
you may of course drop |
I get the following in the logs after running andrius/asterisk image:
[Sep 30 01:02:36] == Registered application 'MSet'
[Sep 30 01:02:36] == Registered channel type 'Local' (Local Proxy Channel Driver)
[Sep 30 01:02:36] == Manager registered action LocalOptimizeAway
[Sep 30 01:02:36] Asterisk Dynamic Loader Starting:
[Sep 30 01:02:36] WARNING[1]: loader.c:2222 loader_config_init: 'modules.conf' invalid or missing.
[Sep 30 01:02:36] ERROR[1]: asterisk.c:3926 check_init: Module initialization failed. ASTERISK EXITING!
[Sep 30 01:02:36] == Manager unregistered action DBGet
[Sep 30 01:02:36] == Manager unregistered action DBPut
[Sep 30 01:02:36] == Manager unregistered action DBDel
[Sep 30 01:02:36] == Manager unregistered action DBDelTree
Huh? Child handler, but nobody there?
thanks!
The text was updated successfully, but these errors were encountered: