failed upgrade to 2.0 (sqlite)
-
I try upgrade (sqlite) to ver. 2.0 on Debian Wheezy and get next errors:
Upgrading database... Upgrading from version 349 to 350 SQL query failed (no such function: char): UPDATE object_properties SET comments = comments || char(13,10) || (SELECT description FROM ap_common WHERE ap_common.id = object_properties.object_id) WHERE EXISTS (SELECT description FROM ap_common WHERE ap_common.id = object_properties.object_id AND description IS NOT NULL AND description <> '') Rolling back last stage due to upgrade errors... Database upgrade failedDebian Wheezy use sqlite3 Version: 3.7.13-1+deb7u2
But "The char function was added in 3.7.16" -
Hi,
you have few options here:
- Run nxdbmgr with -X option so it will skip failing queries;
- Install newer sqlite from backports;
- Build NetXMS from sources and specify --with-internal-sqlite option to configure to use bundled sqlite;
- Migrate to another database (actually, recommended option).
Please note that in the future SQLite support as backend database will be dropped completely.
Best regards,
Victor -
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login