After a lengthy difficult process upgrading my WikiPBX to 0.8, I have finally gotten the new version working with a lot of help from tleyden and stas_shtin. Thanks guys! :)
I now see the WikiPBX [ ADD ROOT ] option on the main page of WikiPBX after I load it in my browser. I click Add Root, and I fill in all the information required. I use the same info I had on my root login on the old version of WikiPBX.
I'm confused about the migration instructions from here onward. The website says "Create a sip profile if you have not done so already". Does this mean I create a SIP Profile which matches the information of the profiles from the old WikiPBX I need to import? Should I name it the same? Because I did name it the same as my old profile in WikiPBX 0.5, and it seems to work correctly to do so, with no complaints.
However, after I select the XML file I put into /tmp, and select the new profile I created, then click the Initiate Import button, it says "Import Successful" or something like that, and that I should be able to see the information in the GUI now. However, I don't see any information at all, and WikiPBX is still blank of other users (that were in the XML export) as well as blank of the stuff I imported (either as a new profile or as part of the one that I created).
Dialplan, users, etc, all seem to be blank as if they are new, without any info successfully imported. Here is what I saw in the Apache logfile during the import process (edited for privacy concerns):
[Thu Feb 18 16:55:47 2010] [notice] Apache/2.2.11 (FreeBSD) mod_ssl/2.2.11 OpenSSL/0.9.8e mod_wsgi/3.1 Python/2.5.4 PHP/5.2.9 configured -- resuming normal operations
[Thu Feb 18 16:56:54 2010] [error] restart_profiles called
[Thu Feb 18 16:56:54 2010] [error] get_fs_connections()
[Thu Feb 18 16:56:54 2010] [error] no eventsockets
[Thu Feb 18 16:56:54 2010] [error] get_fs_connections() done
[Thu Feb 18 16:57:20 2010] [error] restart_profiles called
[Thu Feb 18 16:57:20 2010] [error] get_fs_connections()
[Thu Feb 18 16:57:20 2010] [error] 1 eventsockets
[Thu Feb 18 16:57:20 2010] [error] creating eslconnection
[Thu Feb 18 16:57:58 2010] [error] Will use sip profile: sip profile: MY.IP.IS.HERE:5060
[Thu Feb 18 16:57:58 2010] [error] elt: wikipbx
[Thu Feb 18 16:57:58 2010] [error] account: <account accept_blind_reg="False" domain="" enabled="True" ext_rtp_ip="MY.IP.IS.HERE" ext_sip_ip="MY.IP.IS.HERE" name="MYPROFILENAME"/>
[Thu Feb 18 16:57:58 2010] [error] account name: MYPROFILENAME
[Thu Feb 18 16:57:58 2010] [error] Warning: no domain for profile, using name. You will need to fix this
[Thu Feb 18 16:57:58 2010] [error] userprofile: <userprofile account="MYPROFILENAME" email="email@address.here" first_name="MyFirst" is_account_admin="False" is_active="True" is_superuser="False" last_name="MyLast" password="sha1$ENCRYPTEDSTRINGHERE"/>
[Thu Feb 18 16:57:58 2010] [error] email: email@address.here
[Thu Feb 18 16:57:58 2010] [error] account: MYPROFILENAME
[Thu Feb 18 16:57:58 2010] [error] userprofile: <userprofile account="MYPROFILENAME" email="myname@admin.account.com" first_name="ME" is_account_admin="True" is_active="True" is_superuser="False" last_name="MINE" password="sha1$ENCRYPTEDSTRINGHERE"/>
[Thu Feb 18 16:57:58 2010] [error] email: myname@admin.account.com
[Thu Feb 18 16:57:58 2010] [error] account: MYPROFILENAME
[Thu Feb 18 16:57:58 2010] [error] userprofile: <userprofile account="MYPROFILENAME" email="friend@gmail.com" first_name="FRIENDNAME" is_account_admin="True" is_active="True" is_superuser="False" last_name="LASTNAME" password="sha1$ENCRYPTEDSTRINGHERE"/>
[Thu Feb 18 16:57:58 2010] [error] email: friend@gmail.com
[Thu Feb 18 16:57:58 2010] [error] account: MYPROFILENAME
[Thu Feb 18 16:57:58 2010] [error] endpoint: <endpoint account="MYPROFILENAME" password="pass" userid="1000" userprofile="myname@admin.account.com"/>
[Thu Feb 18 16:57:58 2010] [error] account: MYPROFILENAME
[Thu Feb 18 16:57:58 2010] [error] endpoint: <endpoint account="MYPROFILENAME" password="pass" userid="USERIDHERE" userprofile="myname@admin.account.com"/>
[Thu Feb 18 16:57:58 2010] [error] account: MYPROFILENAME
[Thu Feb 18 16:57:58 2010] [error] endpoint: <endpoint account="MYPROFILENAME" password="pass" userid="USERIDHERE"/>
[Thu Feb 18 16:57:58 2010] [error] account: MYPROFILENAME
[Thu Feb 18 16:57:58 2010] [error] User matching query does not exist.
[Thu Feb 18 16:57:58 2010] [error] Got exception, rolling back
[Thu Feb 18 16:59:04 2010] [error] restart_profiles called
[Thu Feb 18 16:59:04 2010] [error] get_fs_connections()
[Thu Feb 18 16:59:04 2010] [error] 1 eventsockets
[Thu Feb 18 16:59:04 2010] [error] creating eslconnection
[Thu Feb 18 17:00:30 2010] [error] restart_profiles called
[Thu Feb 18 17:00:30 2010] [error] get_fs_connections()
[Thu Feb 18 17:00:30 2010] [error] 1 eventsockets
[Thu Feb 18 17:00:30 2010] [error] creating eslconnection
[Thu Feb 18 17:00:46 2010] [notice] caught SIGTERM, shutting down
Is there yet another glaring thing I am doing wrong here? :-) I have confirmed that the export file does in fact contain the XML from the old installation, and it is in the correct location. Furthermore, I receive no errors or complaints during the import procedure except if I turn Apache debug logging on, just blank end results. Help would be greatly appreciated.





