public function addItem($driver,$data){
$id = \Ramsey\Uuid\Uuid::uuid4()->toString();
$data['driver'] = $driver;
//The below line is line 200
$fsdata = array_map('trim',$data);
return $this->saveConfig($id,$fsdata);
I am not a PHP guy and not sure how to fix this⦠So I can complete the upgrade
You are a life saver my friend, I was breaking my head as our upgrade was stuck in Backup. all the commercial modules including sysadmin was in disabled state. Finally you gave me the solution. I truncated all the tables and then backup installed without any issues and the upgrade completed successfully,
Bumped into another issue today. (This update was divided in two. 1/2: Update the PBX from 14 to 15 and Asterisk from 16 to 18. 2/2: Convert all ChanSIP extensions to PJSIP)
While the phones tried to re-provision, I noticed that it doesnāt pull the new configuration. So I went to pbx.ip:83 and it prompted for authentication.
This PBX does not have SysAdmin pro, and no one has manually enabled http auth.
I searched the forums and found this post where Kapil Gupta advises to go to Sysadmin ā port management ā submit (without any changes)
Tried that, no luck.
Then is when I came across this post from Rob Thomas, and as you can see, http auth got enabled during the upgrade.
[[email protected] ~]# mysql asterisk -e 'select * from sysadmin_options where `key` like "provis%"'
+------------+-------+
| key | value |
+------------+-------+
| provisauth | both |
+------------+-------+
So the workaround here is:
mysql
use asterisk;
update sysadmin_options set `value` = 'none' where `key` ='provisauth';
Run fwconsole reload
Then follow Kapilās instructions mentioned above.
To confirm it worked, check for the http auth file
[[email protected] ~]# cat /etc/httpd/provis.http.auth
cat: /etc/httpd/provis.http.auth: No such file or directory
Hey Lorne, the ticket I created is in a āneeds informationā status. I didnāt have a chance to send the tar file, but if itās easy to reproduce then I donāt think that I need to send that.