[dev.icinga.com #4953] PostgreSQL Schema Update from 1.9 to 1.10 throws an error #1371
Comments
Updated by mfriedrich on 2013-10-25 16:01:51 +00:00
it's an additional value which isn't used currently, but the error is ugly. i shouldn't have typed in the upgrade sql instead of copy-pasting while only testing the main sql. but still it unveils that no-one (including myself) tests beta releases anyways, so we might just skip the extra work for that in the future. a proposed working query is like
|
Updated by dmikulski on 2013-10-28 08:10:07 +00:00 Hello Michi, thx for you response. Have a look at those entries in messagelog, please:
The first message regards the table icinga_logentries. It looks like the value order is in the wrong way. Shouldn't it look like this? INSERT INTO icinga_logentries (instance_id, logentry_time, entry_time, entry_time_usec, logentry_type, logentry_data, realtime_data, inferred_data_extracted) VALUES (1, FROM_UNIXTIME(1382947065), FROM_UNIXTIME(1382947065), 18446744069414584620, '0', E'Event broker module \'IDOMOD\' version \'1.10.0\' from \'/usr/lib64/icinga/idomod.so\' initialized successfully.', '1', '1') I don't know where those other errors come from and if they are follwing errors of the query above. |
Updated by mfriedrich on 2013-10-28 10:07:08 +00:00
|
Updated by mfriedrich on 2013-10-28 19:41:47 +00:00
|
Updated by mfriedrich on 2013-10-28 20:01:31 +00:00 18446744069414584620 seems to be the wrong int as entry_type but sourcing from a different problem. |
Updated by mfriedrich on 2013-10-28 22:37:13 +00:00
|
Updated by mfriedrich on 2014-12-08 14:36:03 +00:00
|
This issue has been migrated from Redmine: https://dev.icinga.com/issues/4953
Created by dmikulski on 2013-10-25 12:55:33 +00:00
Assignee: mfriedrich
Status: Resolved (closed on 2013-10-28 22:37:13 +00:00)
Target Version: 1.10.1
Last Update: 2014-12-08 14:36:03 +00:00 (in Redmine)
When updating the database schema for icinga from 1.9.1 to 1.10 there were errors thrown:
I've already get the information that timedevents is obsolete.
I've already created the check_source columns for testing with icinga-web 1.10 so it's okay.
As there is no unsigned in postgresql the error is thrown. I don't know how critical it is for the core to work.
Changesets
2013-10-25 16:05:47 +00:00 by (unknown) 6fbac66
2013-10-28 22:35:36 +00:00 by (unknown) 32831fd
2013-10-29 22:03:51 +00:00 by (unknown) dbd643c
The text was updated successfully, but these errors were encountered: