<?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[FOP2 Upgrade on FreePBX HA]]></title><description><![CDATA[<p dir="auto">On my FreePBX High Availability cluster, I have fop2 files also stored in /etc/asterisk/fop2 and a c-option in sysconfig/fop2.<br />
Each time I am upgrading fop2, are there any files I have to copy into /etc/asterisk/fop2 to complete the upgrade?</p>
]]></description><link>https://forum.fop2.com/topic/2117/fop2-upgrade-on-freepbx-ha</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 20:56:50 GMT</lastBuildDate><atom:link href="https://forum.fop2.com/topic/2117.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 05 Dec 2015 00:12:57 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to FOP2 Upgrade on FreePBX HA on Thu, 10 Dec 2015 17:37:49 GMT]]></title><description><![CDATA[<p dir="auto">You do not need execute permissions on the fop2settings.db, only write permission. You need execute permission on a directory for a user or group to be able to read files from them.</p>
]]></description><link>https://forum.fop2.com/post/9314</link><guid isPermaLink="true">https://forum.fop2.com/post/9314</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Thu, 10 Dec 2015 17:37:49 GMT</pubDate></item><item><title><![CDATA[Reply to FOP2 Upgrade on FreePBX HA on Thu, 10 Dec 2015 16:28:35 GMT]]></title><description><![CDATA[<p dir="auto">Permissions for /etc/asterisk/fop2:<br />
drwxrwxr-x 3 asterisk asterisk</p>
<p dir="auto">Whenever I set permission for /etc/asterisk/fop2/fop2settings.db to include executable rights for asterisk user and group, they revert back to -rw-rw-rw-, once I make a change in fop2 manager settings and hit submit changes.</p>
]]></description><link>https://forum.fop2.com/post/9313</link><guid isPermaLink="true">https://forum.fop2.com/post/9313</guid><dc:creator><![CDATA[avayax]]></dc:creator><pubDate>Thu, 10 Dec 2015 16:28:35 GMT</pubDate></item><item><title><![CDATA[Reply to FOP2 Upgrade on FreePBX HA on Wed, 09 Dec 2015 15:50:01 GMT]]></title><description><![CDATA[<p dir="auto">Yes, but the directory that holds the file must have correct permissions also, as I mentioned in my previous response.</p>
]]></description><link>https://forum.fop2.com/post/9312</link><guid isPermaLink="true">https://forum.fop2.com/post/9312</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Wed, 09 Dec 2015 15:50:01 GMT</pubDate></item><item><title><![CDATA[Reply to FOP2 Upgrade on FreePBX HA on Sat, 05 Dec 2015 19:55:44 GMT]]></title><description><![CDATA[<p dir="auto">Are these the correct commands to grant fop2settings the correct permissions?</p>
<p dir="auto">chown asterisk.asterisk /etc/asterisk/fop2/fop2settings.db<br />
chmod g+w /etc/asterisk/fop2/fop2settings.db</p>
]]></description><link>https://forum.fop2.com/post/9311</link><guid isPermaLink="true">https://forum.fop2.com/post/9311</guid><dc:creator><![CDATA[avayax]]></dc:creator><pubDate>Sat, 05 Dec 2015 19:55:44 GMT</pubDate></item><item><title><![CDATA[Reply to FOP2 Upgrade on FreePBX HA on Sat, 05 Dec 2015 18:33:36 GMT]]></title><description><![CDATA[<p dir="auto">Only .sh scripts. The other ones are backups from previous versions. If you upgrade fop2manager, you will have to modify the full path of the fop2settings.db for now. I will see if I can update it so it checks the -c option to use the proper directory.</p>
<p dir="auto">As for permissions, you might need to change group for the /etc/asterisk/fop2 directory to the "asterisk" users also (apart for permissions on the fop2settings.db file).</p>
<p dir="auto">chgrp asterisk /etc/asterisk/fop2<br />
chmod g+rwx /etc/asterisk/fop2</p>
]]></description><link>https://forum.fop2.com/post/9310</link><guid isPermaLink="true">https://forum.fop2.com/post/9310</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Sat, 05 Dec 2015 18:33:36 GMT</pubDate></item><item><title><![CDATA[Reply to FOP2 Upgrade on FreePBX HA on Sat, 05 Dec 2015 02:54:06 GMT]]></title><description><![CDATA[<p dir="auto">With each upgrade I have to copy the *.sh scripts? Also the sh.~1~, sh.~2~ files?<br />
As well as modify pagebs.fop2settings.php with each new upgrade?</p>
<p dir="auto">I modified pagebs.fop2settings.php, and now the changes on manager don't get applied on manager itself. When I hit submit changes it reverts back to what it was before.</p>
<p dir="auto">How do I make sure my fop2settings file is owned by Asterisk and Asterisk can write to it?<br />
Would this be?:<br />
chown asterisk.asterisk /etc/asterisk/fop2/fop2settings.db<br />
chmod g+w /etc/asterisk/fop2/fop2settings.db</p>
]]></description><link>https://forum.fop2.com/post/9309</link><guid isPermaLink="true">https://forum.fop2.com/post/9309</guid><dc:creator><![CDATA[avayax]]></dc:creator><pubDate>Sat, 05 Dec 2015 02:54:06 GMT</pubDate></item><item><title><![CDATA[Reply to FOP2 Upgrade on FreePBX HA on Sat, 05 Dec 2015 02:30:05 GMT]]></title><description><![CDATA[<p dir="auto">I have just find out why settings do not persist, the fop2settings.db must be copied to /etc/asterisk/fop2 and you will have to modify the file /var/www/html/fop2/admin/pagebs.fop2settings.php and modify the location there to:</p>
<p dir="auto">$db2 = new dbcon('sqlite:/etc/asterisk/fop2/fop2settings.db');</p>
<p dir="auto">By the way, you must copy all *.sh scripts.</p>
]]></description><link>https://forum.fop2.com/post/9308</link><guid isPermaLink="true">https://forum.fop2.com/post/9308</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Sat, 05 Dec 2015 02:30:05 GMT</pubDate></item></channel></rss>