K
K
krll-k2016-11-24 13:11:50
linux
krll-k, 2016-11-24 13:11:50

When trying to update FreePBX gives an error related to permissions, how to fix it?

exit: 1
Whoops\Exception\ErrorException: mkdir(): Permission denied in file /var/lib/freepbx/html/admin/modules/digium_phones/functions.inc.php on line 50
Stack trace:
  1. Whoops\Exception\ErrorException->() /var/lib/freepbx/html/admin/modules/digium_phones/functions.inc.php:50
  2. Whoops\Run->handleError() :0
  3. mkdir() /var/lib/freepbx/html/admin/modules/digium_phones/functions.inc.php:50
  4. digium_phones_get_http_path() /var/lib/freepbx/html/admin/modules/digium_phones/classes/digium_phones.php:1971
  5. digium_phones->read_customapps() /var/lib/freepbx/html/admin/modules/digium_phones/classes/digium_phones.php:56
  6. digium_phones->load() /var/lib/freepbx/html/admin/modules/digium_phones/classes/digium_phones.php:36
  7. digium_phones->digium_phones() /var/lib/freepbx/html/admin/modules/digium_phones/functions.inc.php:306
  8. digium_phones_conf->digium_phones_conf() /var/lib/asterisk/bin/retrieve_conf:586

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dmitry Aleksandrov, 2016-11-24
@krll-k

My advice from my own experience is not to update FreePBX\Elastix and any other builds with webmords. In most cases, they break the configuration more than they bring fixes or new features.
Practice shows that if you set it, then stop everything, turn off all updates and live until victorious on this version, treat glitches that annoy you with handles and do not wait for miracles that this is an update and everything will be fine.

V
VitGun, 2016-11-24
@VitGun

запустить обновление с правами root?

S
solalex, 2016-11-24
@solalex

зайти на сервер по ssh и дать команду fwconsole dbug посмотреть вывод
p.s. Вам точно нужен модуль digium_phones?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question