<?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[SYS_DB_QUERY_FAILED @ CentOS + NetXMS 4.5.6 + Timescaledb]]></title><description><![CDATA[<p dir="auto">Hello team!</p>
<p dir="auto">We've facing new error after upgrade to 4.5.6<br />
It says:</p>
<pre><code>netxmsd[739160]: [db.drv            ] SQL query failed (Query = "INSERT INTO object_properties (name,status,is_deleted,inherit_access_rights,last_modified,status_calc_alg,status_prop_alg,status_fixed_val,status_shift,status_translation,status_single_threshold,status_thresholds,comments,is_system,location_type,latitude,longitude,location_accuracy,location_timestamp,guid,map_image,drilldown_object_id,country,region,city,district,street_address,postcode,maint_event_id,state_before_maint,state,flags,creation_time,maint_initiator,alias,name_on_map,category,comments_source,asset_id,object_id) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) ON CONFLICT (object_id) DO UPDATE SET name=excluded.name,status=excluded.status,is_deleted=excluded.is_deleted,inherit_access_rights=excluded.inherit_access_rights,last_modified=excluded.last_modified,status_calc_alg=excluded.status_calc_alg,status_prop_alg=excluded.status_prop_alg,status_fixed_val=excluded.status_fixed_val,status_shift=excluded.status_shift,status_translation=excluded.status_translation,status_single_threshold=excluded.status_single_threshold,status_thresholds=excluded.status_thresholds,comments=excluded.comments,is_system=excluded.is_system,location_type=excluded.location_type,latitude=excluded.latitude,longitude=excluded.longitude,location_accuracy=excluded.location_accuracy,location_timestamp=excluded.location_timestamp,guid=excluded.guid,map_image=excluded.map_image,drilldown_object_id=excluded.drilldown_object_id,country=excluded.country,region=excluded.region,city=excluded.city,district=excluded.district,street_address=excluded.street_address,postcode=excluded.postcode,maint_event_id=excluded.maint_event_id,state_before_maint=excluded.state_before_maint,state=excluded.state,flags=excluded.flags,creation_time=excluded.creation_time,maint_initiator=excluded.maint_initiator,alias=excluded.alias,name_on_map=excluded.name_on_map,category=excluded.category,comments_source=excluded.comments_source,asset_id=excluded.asset_id"): 22P02 ERROR:  invalid input syntax for type integer: "-("
</code></pre>
<p dir="auto">How could we determine which 'flag' caused this error?</p>
<p dir="auto">Thanks in advance!</p>
<p dir="auto">--<br />
Best regards, Igor</p>
]]></description><link>https://forum.netxms.org/topic/7946/sys_db_query_failed-@-centos-netxms-4.5.6-timescaledb</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 09:25:50 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/7946.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 14 May 2024 18:13:20 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to SYS_DB_QUERY_FAILED @ CentOS + NetXMS 4.5.6 + Timescaledb on Wed, 15 May 2024 09:09:16 GMT]]></title><description><![CDATA[<p dir="auto">you can turn on sql trace for some time, from linux command line</p>
<p dir="auto">nxadm -c "debug sql on"<br />
and<br />
nxadm -c "debug sql off"<br />
afterwards.</p>
<p dir="auto">This will turn on detailed sql query logging, log will be huge, but there will be more detailed information.</p>
<p dir="auto">object_properties table is updated when objects are updated (renamed, custom attributes changed, etc). Changes are saved into db once per minute.</p>
]]></description><link>https://forum.netxms.org/post/33498</link><guid isPermaLink="true">https://forum.netxms.org/post/33498</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Wed, 15 May 2024 09:09:16 GMT</pubDate></item></channel></rss>