[Spce-user] Upgrade problem

Sergey Kharlamov mentax at bk.ru
Mon Sep 22 10:07:25 EDT 2014


 Thanks! That fix my issue.


Wed, 17 Sep 2014 14:10:41 +0200 от Alex Lutay <alutay at sipwise.com>:
>Dear Sergey,
>
>The fix for you:
>> So, to fix your issue just check that you have file "/etc/ngcp_nodename" with content "spce" and update DB:
>>> mysql -u root ngcp -e 'update db_schema set node = "spce"; update cfg_schema set node = "spce";'
>>
>> and retry the DB/CFG upgrade part + apply new configs
>>> ngcp-update-db-schema &&  ngcp-update-cfg-schema &&   ngcpcfg apply
>
>I suppose "panel" is your server hostname, right?
>
>I have reinstalled on plain debian wheezy:
>  - mr3.4.1 (ngcp-installer-ce (0.15.1.2+0~mr3.4.1.2))
>  - mr3.4.2 (ngcp-installer-ce (0.15.2.1+0~mr3.4.2.1))
>but always have correct results for tables db_schema/cfg_schema:
>> mysql> select distinct node from db_schema;
>> +------+
>> | node |
>> +------+
>> | spce |
>> +------+
>> 1 row in set (0.01 sec)
>
>Please provide detailed steps to reproduce the issue if possible.
>
>On 17/09/14 06:02, Sergey Kharlamov wrote:
>> I use NGCP installer method.
>>
>> Here is an output from mysql command:
>>
>> #mysql -u root -p ngcp -e 'select * from db_schema; select * from
>> cfg_schema;'
>>
>> +-----+----------+-------+---------------------+
>> | id  | revision | node  | applied_at          |
>> +-----+----------+-------+---------------------+
>> |   1 |       10 | panel | 2014-08-10 00:29:41 |
>> |   2 |       20 | panel | 2014-08-10 00:30:04 |
>
>-- 
>Alexander Lutay
>Head of Quality Assurance
>Sipwise GmbH, Campus 21/Europaring F15
>AT-2345 Brunn am Gebirge
>
>Office: +43(0)13012036
>Email:  alutay at sipwise.com
>Website:  http://www.sipwise.com


-- 
Sergey Kharlamov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20140922/9737d04e/attachment-0001.html>


More information about the Spce-user mailing list