Downloaded new Siremis version via "git clone" and replaced /var/www/ content by new files. Now any menu entry gives the following error:
If if copy old Siremis files back, everything works fine.
Hello,
you need to do a fresh installation when using git master branch, including a reset of menu.
The master version has some radical changes, including the rename of ser module to sipadmin, the serdb id in Config.xml to sipdb, etc... some of these changes were announced a while ago:
- https://www.kamailio.org/w/2017/07/siremis-ongoing-updates/
So, you cannot just replace the files and all works, more tunings are needed...
Cheers, Daniel
On 15.09.17 12:04, Yu Boot wrote:
Downloaded new Siremis version via "git clone" and replaced /var/www/ content by new files. Now any menu entry gives the following error:
If if copy old Siremis files back, everything works fine.
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
If you do not have a lot of data that needs to be recreated afterwards (like a lot of admin users), then the simplest way is to delete (make a backup before, just to be safe) and recreate it.
Otherwise, you should just update the paths and names in the tables with references to the menu and modules.
The sip (kamailio) database should not be touched at all, just leave it as it is.
In the installation wizard, select only the option to create and populate siremis database, nothing for sip database.
Cheers, Daniel
On 15.09.17 14:55, Yu Boot wrote:
Thanks you for an answer.
Do I need to delete "siremis" db from mysql to install it?
15.09.2017 15:45, Daniel-Constantin Mierla пишет:
Hello,
you need to do a fresh installation when using git master branch, including a reset of menu.
Thanks, now it is installed and working. But I can't use XMLRPC https://pastebin.com/uDxXeW52
15.09.2017 16:04, Daniel-Constantin Mierla пишет:
If you do not have a lot of data that needs to be recreated afterwards (like a lot of admin users), then the simplest way is to delete (make a backup before, just to be safe) and recreate it.
Otherwise, you should just update the paths and names in the tables with references to the menu and modules.
The sip (kamailio) database should not be touched at all, just leave it as it is.
In the installation wizard, select only the option to create and populate siremis database, nothing for sip database.
You need xml rpc extension for php.
You may also consider using jsonrpc instead of xmlrpc.
Cheers, Daniel
On 15.09.17 15:41, Yu Boot wrote:
Thanks, now it is installed and working. But I can't use XMLRPC https://pastebin.com/uDxXeW52
15.09.2017 16:04, Daniel-Constantin Mierla пишет:
If you do not have a lot of data that needs to be recreated afterwards (like a lot of admin users), then the simplest way is to delete (make a backup before, just to be safe) and recreate it.
Otherwise, you should just update the paths and names in the tables with references to the menu and modules.
The sip (kamailio) database should not be touched at all, just leave it as it is.
In the installation wizard, select only the option to create and populate siremis database, nothing for sip database.
Great! Have you sorted out xmlrpc or jsonrpc?
Cheers, Daniel
On 15.09.17 17:34, Yu Boot wrote:
Thanks you, now it works
15.09.2017 17:49, Daniel-Constantin Mierla пишет:
You need xml rpc extension for php.
You may also consider using jsonrpc instead of xmlrpc.