<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Upgraded to FreePBX 15 all user, phone books and configuration is gone]]></title><description><![CDATA[<p dir="auto">Is there any way to restore this?</p>
]]></description><link>http://localhost:4567/topic/2886/upgraded-to-freepbx-15-all-user-phone-books-and-configuration-is-gone</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 01:45:57 GMT</lastBuildDate><atom:link href="http://localhost:4567/topic/2886.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 08 Sep 2020 02:12:40 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Upgraded to FreePBX 15 all user, phone books and configuration is gone on Tue, 15 Sep 2020 00:18:02 GMT]]></title><description><![CDATA[<p dir="auto">I forgot to add that you should also run mysql_secure_installation (don't set root password). Otherwise the logic in config.php will get a connection for the blank user, but wont have any access to dbs.</p>
]]></description><link>http://localhost:4567/post/12057</link><guid isPermaLink="true">http://localhost:4567/post/12057</guid><dc:creator><![CDATA[spirejoey]]></dc:creator><pubDate>Tue, 15 Sep 2020 00:18:02 GMT</pubDate></item><item><title><![CDATA[Reply to Upgraded to FreePBX 15 all user, phone books and configuration is gone on Mon, 14 Sep 2020 23:55:12 GMT]]></title><description><![CDATA[<p dir="auto">Here is a quick hack that seems to fix things:<br />
In config.php:</p>
<blockquote>
<pre><code>   if (is_readable("/etc/freepbx.conf")) {
       $amp_conf = parse_amportal_conf("/etc/freepbx.conf");
       $DBHOST = $amp_conf['AMPDBHOST'];
       $DBNAME = $amp_conf['AMPDBNAME'];
       $DBUSER = $amp_conf['AMPDBUSER'];
       $DBPASS = $amp_conf['AMPDBPASS'];
   } else if (is_readable("/etc/freepbx/freepbx.conf")) {
</code></pre>
</blockquote>
<p dir="auto">and:</p>
<blockquote>
<pre><code>       if (preg_match("/\\\$amp_conf\[\"([^\"]+)\"]\s*=\s*\"?([\w\/\:\.\*\?\%!=\+\#@&amp;\\$-]*)\"?\s*([;].*)?/",$line,$matches)) {
           $conf[ $matches[1] ] = trim($matches[2]);
       } else if (preg_match("/^\s*([\w]+)\s*=\s*\"?([\w\/\:\.\*\?\%!=\+\#@&amp;\\$-]*)\"?\s*([;].*)?/",$line,$matches)) {
           $conf[ $matches[1] ] = trim($matches[2]);
       }
</code></pre>
</blockquote>
]]></description><link>http://localhost:4567/post/12056</link><guid isPermaLink="true">http://localhost:4567/post/12056</guid><dc:creator><![CDATA[spirejoey]]></dc:creator><pubDate>Mon, 14 Sep 2020 23:55:12 GMT</pubDate></item><item><title><![CDATA[Reply to Upgraded to FreePBX 15 all user, phone books and configuration is gone on Mon, 14 Sep 2020 23:29:18 GMT]]></title><description><![CDATA[<p dir="auto">It looks like the DB data is no longer in amportal.conf. Some of the config scripts for fop2 seem to know how to look in /etc/freepbx.conf but the config.php file doesn't have logic to do that. I'll take a stab at that and try to submit a quick snippet here.</p>
]]></description><link>http://localhost:4567/post/12055</link><guid isPermaLink="true">http://localhost:4567/post/12055</guid><dc:creator><![CDATA[spirejoey]]></dc:creator><pubDate>Mon, 14 Sep 2020 23:29:18 GMT</pubDate></item><item><title><![CDATA[Reply to Upgraded to FreePBX 15 all user, phone books and configuration is gone on Tue, 08 Sep 2020 14:11:34 GMT]]></title><description><![CDATA[<p dir="auto">try editing the file /var/www/html/fop2/config.php and input the credentials to login to mysql and to database 'asterisk'...<br />
make sure DBNAME is 'asterisk' (you may see 'fop2' but change to 'asterisk') and input correct credentials to login to asterisk database.<br />
Then you can try if phonebook is correct.<br />
Regards</p>
]]></description><link>http://localhost:4567/post/12054</link><guid isPermaLink="true">http://localhost:4567/post/12054</guid><dc:creator><![CDATA[agudino]]></dc:creator><pubDate>Tue, 08 Sep 2020 14:11:34 GMT</pubDate></item></channel></rss>