[Spce-user] Upgrade problem
Alex Lutay
alutay at sipwise.com
Wed Sep 17 08:10:41 EDT 2014
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
More information about the Spce-user
mailing list