Ticket #5289 (closed Bugs: fixed)

Opened 2 years ago

Last modified 2 years ago

Issues noted when using the Backup & Restore module to do full restore.

Reported by: michigantelephone Assigned to:
Priority: minor Milestone: 2.10
Component: Backup & Restore Version: 2.9-branch
Keywords: Cc:
Confirmation: Confirmed Distro:
Backend Engine: All Distro Ver:
Backend Ver: SVN Revision (if applicable):

Description

In attempting to restore from a previous FreePBX backup after a total reinstall of a system (clean install from ISO), I noted the following issues under FreePBX 2.9 (same version both before and after reinstall):

- Blacklist was not restored.

- In /tmp/freepbx_debug.log I kept seeing entries like

2011-Jul-26 15:11:33 /var/www/html/admin/modules/ivr/functions.inc.php:0 [WARNING]: fsockopen() expects parameter 2 to be long, string given

I only had two IVR's so I went to each and without changing anything I clicked Save and did an orange bar reload. That caused the log messages to stop.

- When using the Extension Settings module to view the status of extensions, none of the Follow-Mes were listed. I had to go into each Follow-Me individually and without changing anything, click "Submit Changes" and then at the end do an orange bar reload to get the Follow-Mes to appear. I do not know if this is indicative of a more serious issue or it's just a display problem in Extension Settings, but thought I'd at least mention it.

Other than the first issue, I cannot say with certainty that the problem was with the Backup & Restore module, but since these problems first appeared after the restore I felt they are worth mentioning.

Change History

07/27/11 06:31:12 changed by mickecarlsson

If you could try this again my best guess is that a full reload of Asterisk (amportal stop followed by amportal start so that astdb could be read again is needed.

If a database show is done right after a restore to view the state of the astdb database, then compared to the same after a stop and start of Asterisk, that could be of great help.

I will try the same in my lab environment.

07/28/11 04:17:17 changed by mickecarlsson

Your install, was that from a distro ISO or from Centos ISO?

07/28/11 05:02:57 changed by mbrevda

fpbx distro, iirc

08/06/11 03:21:03 changed by michigantelephone

Yes, it was from the FreePBX distro ISO.

08/07/11 17:16:21 changed by mickecarlsson

  • confirmation changed from Unreviewed to Confirmed.

OK, I have found the bug. astdb is not restored, that is why you need to press Apply Changes on each extension.

I will update the backup module shortly and publish it.

08/07/11 17:18:45 changed by mickecarlsson

  • status changed from new to closed.
  • resolution set to fixed.

(In [12364]) Closes #5289, fixed restore issue for astdb

09/20/11 19:53:24 changed by p_lindheimer

(In [12551]) Merged revisions 12169,12184-12185,12190,12192,12194-12197,12206,12214-12219,12232,12255-12256,12294,12305-12306,12312-12313,12364-12366,12368,12370-12371,12383-12384,12386,12389,12424-12425,12427-12428,12430-12435,12455,12487-12488,12531,12534 via svnmerge from http://www.freepbx.org/v2/svn/modules/branches/2.9

................

r12185 | mickecarlsson | 2011-05-21 15:00:11 -0700 (Sat, 21 May 2011) | 1 line

Closes #5161 fixes bad validation code

................

r12190 | p_lindheimer | 2011-05-24 20:12:30 -0700 (Tue, 24 May 2011) | 1 line

fixes #5175 and fixes #5176 initialize state of feature code and allow enable/disable from within the gui, some sanity testing would be helpful before I publish this widely

................

r12192 | p_lindheimer | 2011-05-25 10:52:02 -0700 (Wed, 25 May 2011) | 1 line

display default code outside of tooltip re #5175 and re #5176

................

r12194 | GameGamer?43 | 2011-05-25 21:53:13 -0700 (Wed, 25 May 2011) | 1 line

closes #5182 - misspelling in tooltip

................

r12214 | mbrevda | 2011-06-06 07:42:06 -0700 (Mon, 06 Jun 2011) | 1 line

merge to 2.9 for #5127, #5054, #5049, #5140

................

r12215 | mbrevda | 2011-06-06 07:56:21 -0700 (Mon, 06 Jun 2011) | 1 line

merge to 2.9 re #5127, #5054, #5049, #5140, #5142

................

r12216 | mbrevda | 2011-06-06 07:57:08 -0700 (Mon, 06 Jun 2011) | 1 line

version bump re #5127, #5054, #5049, #5140, #5142

................

r12218 | mbrevda | 2011-06-06 08:16:19 -0700 (Mon, 06 Jun 2011) | 1 line

unervert the unrevert re #5127, #5054, #5049, #5140, #5142

................

r12256 | mbrevda | 2011-06-13 11:33:13 -0700 (Mon, 13 Jun 2011) | 1 line

revert 12255

................

r12294 | p_lindheimer | 2011-07-07 12:29:11 -0700 (Thu, 07 Jul 2011) | 1 line

fixes #5159 don't set to empty quotes, thanks spermega and Lantizia

................

r12305 | mbrevda | 2011-07-17 04:32:10 -0700 (Sun, 17 Jul 2011) | 1 line

re #5262 should resolve

................

r12364 | mickecarlsson | 2011-08-07 14:18:44 -0700 (Sun, 07 Aug 2011) | 1 line

Closes #5289, fixed restore issue for astdb

................

r12383 | p_lindheimer | 2011-08-09 12:10:52 -0700 (Tue, 09 Aug 2011) | 9 lines

Merged revisions 12382 via svnmerge from http://www.freepbx.org/v2/svn/modules/branches/2.8

........

r12382 | p_lindheimer | 2011-08-09 12:07:06 -0700 (Tue, 09 Aug 2011) | 1 line

fixes #5312 don't include in from-internal

........

................

r12384 | p_lindheimer | 2011-08-09 12:17:04 -0700 (Tue, 09 Aug 2011) | 1 line

fixes #5313 delete the record

................

r12424 | mbrevda | 2011-08-19 06:17:52 -0700 (Fri, 19 Aug 2011) | 1 line

closes #5320, call eval on mixmon_dir

................

r12434 | mickecarlsson | 2011-08-21 21:45:22 -0700 (Sun, 21 Aug 2011) | 1 line

Close #5187, add check for offline endpoints in macro-dial-one

................

r12455 | p_lindheimer | 2011-08-29 14:28:53 -0700 (Mon, 29 Aug 2011) | 9 lines

Merged revisions 11567-11569,11572,11754,11896-11897,11899,12018-12019,12233-12234,12382,12385,12387,12452,12454 via svnmerge from http://www.freepbx.org/v2/svn/modules/branches/2.8

........

r12387 | p_lindheimer | 2011-08-09 15:12:07 -0700 (Tue, 09 Aug 2011) | 1 line

should fix custom trunk destination re #5314 pls test and provide feedback then will put in and merge up

........

................

r12487 | mbrevda | 2011-09-07 04:36:07 -0700 (Wed, 07 Sep 2011) | 1 line

re #5355 - merge to 2.9

................

r12534 | mbrevda | 2011-09-18 05:14:00 -0700 (Sun, 18 Sep 2011) | 1 line

re #5302 - use invalid recording on loop

................