Ivashenkov
(Alex Ivashenkov)
October 11, 2017, 3:25am
15
mrmarkuz:
I think, I could reproduce your error so now I had an empty freepbx dir after reinstalling.
I did following steps to reproduce:
rm -Rf /var/log/asterisk/
rm -Rf /var/lib/asterisk/
rm -Rf /var/spool/cron/asterisk
rm -Rf /var/spool/asterisk
rm -Rf /etc/httpd/conf.d/freepbx.conf
rm -Rf /etc/freepbx.conf
rm -Rf /var/www/html/freepbx/admin/
and I could solve it with:
mysql
DROP DATABASE asterisk;
DROP DATABASE asteriskcdrdb;
exit
rm -Rf /var/www/html/freepbx/*
touch /etc/freepbx.conf
yum reinstall nethserver-freepbx *asterisk*
I am impressed! Thank you very much! For some reason it did not work from the first time. There were no connection to asterisk. But second time it worked like a charm!
2 Likes