<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[db upgrade 1.1.4]]></title><description><![CDATA[<p dir="auto">hi,</p>
<p dir="auto">how can i import sqlite exported db from version 1.0.12 to sqlite db in version 1.1.4 ?<br />
i have installed version 1.0.12,imported the db and everything worked fine.<br />
i have uninstalled the 1.0.12 and installed version 1.1.4 and tolled it to use the old db with out initializing it and i got errors.<br />
when i tried to upgrade the db through command line it says it had a problem with the syntax in "drop table network_maps drop column background"</p>
<p dir="auto">what can i do ? i do not want to reconfigure everything again.</p>
<p dir="auto">10x,<br />
Lindeamon</p>
]]></description><link>https://forum.netxms.org/topic/1349/db-upgrade-1.1.4</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 06:23:13 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/1349.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 11 Sep 2011 16:31:03 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to db upgrade 1.1.4 on Wed, 14 Sep 2011 16:19:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lindeamon" aria-label="Profile: lindeamon">@<bdi>lindeamon</bdi></a> said in <a href="/post/5949">db upgrade 1.1.4</a>:</p>
<blockquote>
<p dir="auto">what version of the sql.ddr patches do i have to save for now ? the latest one ?</p>
</blockquote>
<p dir="auto">Yes.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/5953</link><guid isPermaLink="true">https://forum.netxms.org/post/5953</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 14 Sep 2011 16:19:07 GMT</pubDate></item><item><title><![CDATA[Reply to db upgrade 1.1.4 on Wed, 14 Sep 2011 14:03:02 GMT]]></title><description><![CDATA[<p dir="auto">hi victor,</p>
<p dir="auto">i found a way to export with no data.here is the v1.1.4 schema</p>
<hr />
<p dir="auto"><a href="/assets/uploads/files/smf/0000000000609-netxms_db_export_v1.1.4_no_data.sql">netxms_db_export_v1.1.4_no_data.sql</a></p>
]]></description><link>https://forum.netxms.org/post/5952</link><guid isPermaLink="true">https://forum.netxms.org/post/5952</guid><dc:creator><![CDATA[lindeamon]]></dc:creator><pubDate>Wed, 14 Sep 2011 14:03:02 GMT</pubDate></item><item><title><![CDATA[Reply to db upgrade 1.1.4 on Wed, 14 Sep 2011 13:48:43 GMT]]></title><description><![CDATA[<p dir="auto">regarding the schema,is there any quick way to export it without any records ? if it is not possible then i will not be able to send it to you.<br />
but there is something the makes me wonder,after each installation i tried with the different patches you gave me i have restored the databse to the one that worked with v1.1.3 so why would it give me errors ?<br />
maybe i will try to make a clean install and check it.</p>
<p dir="auto">10x,<br />
lindeamon</p>
]]></description><link>https://forum.netxms.org/post/5950</link><guid isPermaLink="true">https://forum.netxms.org/post/5950</guid><dc:creator><![CDATA[lindeamon]]></dc:creator><pubDate>Wed, 14 Sep 2011 13:48:43 GMT</pubDate></item><item><title><![CDATA[Reply to db upgrade 1.1.4 on Wed, 14 Sep 2011 13:41:43 GMT]]></title><description><![CDATA[<p dir="auto">ok victor,</p>
<p dir="auto">it worked.<br />
what version of the sql.ddr patches do i have to save for now ? the latest one ?</p>
<p dir="auto">Best Regards,<br />
Lindeamon</p>
]]></description><link>https://forum.netxms.org/post/5949</link><guid isPermaLink="true">https://forum.netxms.org/post/5949</guid><dc:creator><![CDATA[lindeamon]]></dc:creator><pubDate>Wed, 14 Sep 2011 13:41:43 GMT</pubDate></item><item><title><![CDATA[Reply to db upgrade 1.1.4 on Wed, 14 Sep 2011 12:48:00 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">Looks like database was messed up during all these upgrades. Can you please run</p>
<p dir="auto">nxdbmgr upgrade -X</p>
<p dir="auto">(it will ignore errors), and then try to run server. Also, if possible, export and send to me database schema - I'll check it for correctness.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/5947</link><guid isPermaLink="true">https://forum.netxms.org/post/5947</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 14 Sep 2011 12:48:00 GMT</pubDate></item><item><title><![CDATA[Reply to db upgrade 1.1.4 on Wed, 14 Sep 2011 12:13:01 GMT]]></title><description><![CDATA[<p dir="auto">hi victor,</p>
<p dir="auto">i have tried to delete the table mentioned in the former post and failed with other tables like node_links.<br />
fyi</p>
<p dir="auto">lindeamon</p>
]]></description><link>https://forum.netxms.org/post/5946</link><guid isPermaLink="true">https://forum.netxms.org/post/5946</guid><dc:creator><![CDATA[lindeamon]]></dc:creator><pubDate>Wed, 14 Sep 2011 12:13:01 GMT</pubDate></item><item><title><![CDATA[Reply to db upgrade 1.1.4 on Wed, 14 Sep 2011 11:54:29 GMT]]></title><description><![CDATA[<p dir="auto">hi victor,</p>
<p dir="auto">to cut the story short i did everything as i mentioned in the last time and everything went fine but service did not came up.running the service from command line told that my db has a version of 232 and the server is compiled for version 240.<br />
i did an upgrade and it failed and the error message said :" sql query failed (table 'business_services' already exists): " and then it writes the sql command: "create table business_services........" and all of it's data.</p>
<p dir="auto">Best Regards,<br />
Lindeamon</p>
]]></description><link>https://forum.netxms.org/post/5945</link><guid isPermaLink="true">https://forum.netxms.org/post/5945</guid><dc:creator><![CDATA[lindeamon]]></dc:creator><pubDate>Wed, 14 Sep 2011 11:54:29 GMT</pubDate></item><item><title><![CDATA[Reply to db upgrade 1.1.4 on Wed, 14 Sep 2011 11:32:54 GMT]]></title><description><![CDATA[<p dir="auto">ok</p>
<p dir="auto">i will give it a try and tell you if it worked.</p>
]]></description><link>https://forum.netxms.org/post/5944</link><guid isPermaLink="true">https://forum.netxms.org/post/5944</guid><dc:creator><![CDATA[lindeamon]]></dc:creator><pubDate>Wed, 14 Sep 2011 11:32:54 GMT</pubDate></item><item><title><![CDATA[Reply to db upgrade 1.1.4 on Wed, 14 Sep 2011 09:21:31 GMT]]></title><description><![CDATA[<p dir="auto">Could you please try this driver?</p>
<p dir="auto">Best regards,<br />
Victor</p>
<hr />
<p dir="auto"><a href="/assets/uploads/files/smf/0000000000608-mysql.ddr">mysql.ddr</a></p>
]]></description><link>https://forum.netxms.org/post/5940</link><guid isPermaLink="true">https://forum.netxms.org/post/5940</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 14 Sep 2011 09:21:31 GMT</pubDate></item><item><title><![CDATA[Reply to db upgrade 1.1.4 on Wed, 14 Sep 2011 07:55:32 GMT]]></title><description><![CDATA[<p dir="auto">i forgot to say that i did not initialized the databse.</p>
]]></description><link>https://forum.netxms.org/post/5938</link><guid isPermaLink="true">https://forum.netxms.org/post/5938</guid><dc:creator><![CDATA[lindeamon]]></dc:creator><pubDate>Wed, 14 Sep 2011 07:55:32 GMT</pubDate></item><item><title><![CDATA[Reply to db upgrade 1.1.4 on Wed, 14 Sep 2011 07:52:19 GMT]]></title><description><![CDATA[<p dir="auto">hi victor,</p>
<p dir="auto">i have installed version 1.1.3 and let it work for a day or two and it worked ok.i have uninstalled it and installed version 1.1.4.<br />
i have gone through all the steps of the setup and when the server configuration wizard came up i have replaced the mysql.ddr file with the one you gave me in this post and finished the wizard and nothing works.<br />
i have tried to upgrade the db through command line and it says the db version is the latest.<br />
i invoked the netxmsd in command line with debug 9 and it said it had connected to the database but failed with this message "error initializing component locks table"</p>
<p dir="auto">best regards,<br />
lindeamon</p>
]]></description><link>https://forum.netxms.org/post/5937</link><guid isPermaLink="true">https://forum.netxms.org/post/5937</guid><dc:creator><![CDATA[lindeamon]]></dc:creator><pubDate>Wed, 14 Sep 2011 07:52:19 GMT</pubDate></item><item><title><![CDATA[Reply to db upgrade 1.1.4 on Tue, 13 Sep 2011 06:49:09 GMT]]></title><description><![CDATA[<p dir="auto">sorry victor,</p>
<p dir="auto">i have remmebered why we needed the <a href="http://patch.to" rel="nofollow ugc">patch.to</a> replace the old one after the db upgrade.<br />
just ignore my former post.</p>
<p dir="auto">thank you,<br />
lindeamon</p>
]]></description><link>https://forum.netxms.org/post/5931</link><guid isPermaLink="true">https://forum.netxms.org/post/5931</guid><dc:creator><![CDATA[lindeamon]]></dc:creator><pubDate>Tue, 13 Sep 2011 06:49:09 GMT</pubDate></item><item><title><![CDATA[Reply to db upgrade 1.1.4 on Tue, 13 Sep 2011 06:44:54 GMT]]></title><description><![CDATA[<p dir="auto">thank you victor.</p>
<p dir="auto">there is something not clear to me yet.how can i do a replace if the installation is a new one ?<br />
do i have to do an installation without configuring the server,replace the driver and then do the server configuration part ?</p>
<p dir="auto">10x,<br />
lindeamon</p>
]]></description><link>https://forum.netxms.org/post/5930</link><guid isPermaLink="true">https://forum.netxms.org/post/5930</guid><dc:creator><![CDATA[lindeamon]]></dc:creator><pubDate>Tue, 13 Sep 2011 06:44:54 GMT</pubDate></item><item><title><![CDATA[Reply to db upgrade 1.1.4 on Mon, 12 Sep 2011 22:13:49 GMT]]></title><description><![CDATA[<p dir="auto">MySQL driver patch for 1.1.4. Just replace existing mysql.ddr with attached one.</p>
<p dir="auto">Best regards,<br />
Victor</p>
<hr />
<p dir="auto"><a href="/assets/uploads/files/smf/0000000000607-mysql.ddr">mysql.ddr</a></p>
]]></description><link>https://forum.netxms.org/post/5928</link><guid isPermaLink="true">https://forum.netxms.org/post/5928</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Mon, 12 Sep 2011 22:13:49 GMT</pubDate></item><item><title><![CDATA[Reply to db upgrade 1.1.4 on Mon, 12 Sep 2011 13:01:46 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">Same problem as here: <a href="https://www.netxms.org/forum/installation/1-1-4-database-upgrade-error/" rel="nofollow ugc">https://www.netxms.org/forum/installation/1-1-4-database-upgrade-error/</a>. In short, try to run manually</p>
<p dir="auto">ALTER TABLE business_services DROP CONSTRAINT DF__business___paren__09746778;</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/5916</link><guid isPermaLink="true">https://forum.netxms.org/post/5916</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Mon, 12 Sep 2011 13:01:46 GMT</pubDate></item><item><title><![CDATA[Reply to db upgrade 1.1.4 on Mon, 12 Sep 2011 12:44:32 GMT]]></title><description><![CDATA[<p dir="auto">Hi Victor,</p>
<p dir="auto">I'm getting this error upgrading to version 1.1.4 (from 1.1.3):</p>
<p dir="auto">C:\Program Files\NetXMS\bin&gt;nxdbmgr.exe upgrade<br />
NetXMS Database Manager Version 1.1.4</p>
<p dir="auto">Upgrading database...<br />
Upgrading from version 236 to 237<br />
SQL query failed ([Microsoft][SQL Native Client][SQL Server]The object 'DF__business___paren__09746778' is dependent on column 'parent_id'.):<br />
ALTER TABLE business_services DROP COLUMN parent_id<br />
Rolling back last stage due to upgrade errors...<br />
Database upgrade failed</p>
<p dir="auto">Now I rolled back to version 1.1.3, any hints?</p>
<p dir="auto">Another question: where can I find the mobile client for Android?</p>
<p dir="auto">Thank you very much for your support.</p>
<p dir="auto">Marco.</p>
]]></description><link>https://forum.netxms.org/post/5913</link><guid isPermaLink="true">https://forum.netxms.org/post/5913</guid><dc:creator><![CDATA[Jmp_3f8h]]></dc:creator><pubDate>Mon, 12 Sep 2011 12:44:32 GMT</pubDate></item><item><title><![CDATA[Reply to db upgrade 1.1.4 on Sun, 11 Sep 2011 19:49:21 GMT]]></title><description><![CDATA[<p dir="auto">Yes, unfortunately there is a bug in MySQL driver in 1.1.4. I'll try to made a patch tomorrow. Other DB engines should work fine. I do most of the development using Oracle and PostgreSQL, and at some point forgot to make necessary tests at MySQL.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/5906</link><guid isPermaLink="true">https://forum.netxms.org/post/5906</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Sun, 11 Sep 2011 19:49:21 GMT</pubDate></item><item><title><![CDATA[Reply to db upgrade 1.1.4 on Sun, 11 Sep 2011 19:17:40 GMT]]></title><description><![CDATA[<p dir="auto">so what you are saying is that will not be able to use this new vesrion ?<br />
bummer<br />
ok, i will wait for the patch.<br />
b.t.w - i have restored everything to version 1.1.3 and everything is working fine again.</p>
]]></description><link>https://forum.netxms.org/post/5905</link><guid isPermaLink="true">https://forum.netxms.org/post/5905</guid><dc:creator><![CDATA[lindeamon]]></dc:creator><pubDate>Sun, 11 Sep 2011 19:17:40 GMT</pubDate></item><item><title><![CDATA[Reply to db upgrade 1.1.4 on Sun, 11 Sep 2011 19:15:07 GMT]]></title><description><![CDATA[<p dir="auto">I have replicated this issue on my system. Looks like a bug in MySQL driver. I'll post a patch when I fix it.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/5904</link><guid isPermaLink="true">https://forum.netxms.org/post/5904</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Sun, 11 Sep 2011 19:15:07 GMT</pubDate></item><item><title><![CDATA[Reply to db upgrade 1.1.4 on Sun, 11 Sep 2011 19:04:13 GMT]]></title><description><![CDATA[<p dir="auto">you are right.i have changed the service config and i got the messages i wrote in my last post</p>
<p dir="auto">i hope you have the answer to the problem.</p>
]]></description><link>https://forum.netxms.org/post/5903</link><guid isPermaLink="true">https://forum.netxms.org/post/5903</guid><dc:creator><![CDATA[lindeamon]]></dc:creator><pubDate>Sun, 11 Sep 2011 19:04:13 GMT</pubDate></item><item><title><![CDATA[Reply to db upgrade 1.1.4 on Sun, 11 Sep 2011 19:02:05 GMT]]></title><description><![CDATA[<p dir="auto">If you run netxmsd.exe from command line, you should omit -d switch, like this:</p>
<p dir="auto">netxmsd.exe -D 9</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/5902</link><guid isPermaLink="true">https://forum.netxms.org/post/5902</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Sun, 11 Sep 2011 19:02:05 GMT</pubDate></item><item><title><![CDATA[Reply to db upgrade 1.1.4 on Sun, 11 Sep 2011 18:34:08 GMT]]></title><description><![CDATA[<p dir="auto">ok victor.</p>
<p dir="auto">i have installed everything from the start.</p>
<ol>
<li>installed the mysql</li>
<li>installed version 1.0.12</li>
<li>imported the db export i had.</li>
</ol>
<p dir="auto">up to here everything worked fine.</p>
<ol start="4">
<li>uninstalled the 1.0.12</li>
<li>installed version 1.1.4 and pointed him to the mysql server and did not tell him to initialize.</li>
<li>the setup upgraded the db successfully.</li>
</ol>
<p dir="auto">the core service does not come up and the eventlog indicates this malfunctions:</p>
<ol>
<li>event id:46, error initializing component locks table</li>
<li>event id:43, sql query failed (query = "select var_value from config where var_name=?"):</li>
</ol>
<p dir="auto">i have tried to run the services through command line and added the -D 9 at the end for debug mode but got the error: "startservicecontroldispatcher() failed: the service process could not connect to the service controller."</p>
<p dir="auto">what do you think is wrong ?</p>
<p dir="auto">10x,<br />
lindeamon</p>
]]></description><link>https://forum.netxms.org/post/5901</link><guid isPermaLink="true">https://forum.netxms.org/post/5901</guid><dc:creator><![CDATA[lindeamon]]></dc:creator><pubDate>Sun, 11 Sep 2011 18:34:08 GMT</pubDate></item><item><title><![CDATA[Reply to db upgrade 1.1.4 on Sun, 11 Sep 2011 18:29:57 GMT]]></title><description><![CDATA[<p dir="auto">You should not initialize database if it already contains data. Initialization is for fresh installation on empty database.</p>
<p dir="auto">Generally I do not recommend to use SQLite in production. It has both performance and upgrade issues, although performance can be insufficient only for relatively large installations. Upgrade problems are related to the fact that SQLite does not support DROP COLUMN operation - so if database upgrade requires column removal from the table, it will fail. It is possible to do upgrade manually in these cases, but it is time consuming and requires digging into the source code of nxdbmgr to see what SQL queries should be executed.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/5900</link><guid isPermaLink="true">https://forum.netxms.org/post/5900</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Sun, 11 Sep 2011 18:29:57 GMT</pubDate></item><item><title><![CDATA[Reply to db upgrade 1.1.4 on Sun, 11 Sep 2011 17:34:27 GMT]]></title><description><![CDATA[<p dir="auto">do i have to do initialize ?<br />
when do i have to do initialize ?</p>
<p dir="auto">10x again</p>
]]></description><link>https://forum.netxms.org/post/5899</link><guid isPermaLink="true">https://forum.netxms.org/post/5899</guid><dc:creator><![CDATA[lindeamon]]></dc:creator><pubDate>Sun, 11 Sep 2011 17:34:27 GMT</pubDate></item></channel></rss>