reset admin password issue

alamin

Member
May 13, 2021
52
0
6
40
Hi,

I am trying admin password reset after clean install,
cd /etc/fusionpbx/
mv config.conf config.conf-old
chmod -R 755 /etc/fusionpbx/
chown -R www-data:www-data /etc/fusionpbx/

then going to web install process
then collect database.0.password = MsDd24AF7iQ2Cc4Y4Eg3M1joU from config.conf-old file.


then click install for next page.
I see error write permission as like below.


What can I do now for reset admin password reset?

Please give me some idea.
 
Try modify ../config.sh with:

sed -i -e"s/\(system_password=\)random \(.*#\)/\1mySuperSecretPasswd\2/;"\
/usr/src/fusionpbx-install.sh/debian/resources/config.sh

before bare-metal install.