Updating openhabian, should i update Influx and Grafana as well?

Hi Guys,

i am updating my openhabian 2.4 (on a raspb.) to the current version incl. InfluxDB and Grafana.
now i am being asked to install a new package for Influx or to keep the current version. i will probably get more of this questions as i go further in the process. should i pick YES or NO ? don’t want to break something. :woozy_face:

Thanks guys!

Configuration file '/etc/influxdb/influxdb.conf'
 ==> Modified (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
 The default action is to keep your current version.
*** influxdb.conf (Y/I/N/O/D/Z) [default=N] ?

i tagged this thread openhabian to get more help.

Be sure you read the 2.5.0 release notes before upgrading, especially the breaking changes. There were some major architectural changes between 2.4 & 2.5.

thank you!
i already looked into the release notes, should be fine.
any answer to my question ? :relaxed: thanks

Sorry, I do not use those so I cannot comment.

1 Like

as far as I know there is no openhabian 2.4.
You most probably refer to OH 2.4.
If your OH installation is based on openhabian image resp. openhabian-config and you manage the installation of influx / grafana via the openhabian menu then you use more recent versions of influx / grafana than your OS might have in the repositories.

Installation via openhabian does modifications to the influxdb.conf file so you need to keep the existing configuration to not loose these modifications.
Did you install influx via openhabian ? Have a look to option D and check for the differences.

Double post :exploding_head:

1 Like

A year ago when someone installed OpenHABian they installed OpenHAB 2.4. Let’s not split hairs. They are updating OpenHAB using OpenHABian.

1 Like

thanks wolfgang, i kept the old files and i installed InfluxDB & Grafana with this “Tutorial”

looks like a successful update so far. but i have some hickups here and there, need to look closer into this the next few days.

thanks for your help

i am sorry :frowning: later i thought i will get into more troubles and didn’t wanted to crash the other post.

1 Like

==> /var/log/openhab2/openhab.log <==

2020-09-24 17:38:11.088 [ERROR] [e.internal.WriterInterceptorExecutor] - MessageBodyWriter not found for media type=text/event-stream, type=class org.glassfish.jersey.media.sse.OutboundEvent, genericType=class org.glassfish.jersey.media.sse.OutboundEvent.

how can i fix this error ?

Try clearing browser cache? Chrome is very bad that way.

did not help :frowning:

1 Like

we have this thread:

Cleaning OH cache solved it for several persons in one of the threads.

1 Like

thanks, but after cleaning OH cache i get the same weird results as i had after update.


many of my items look like they aren’t linked … and when i go into the .items file and save it again , fixed it for me after the update. i think its the same again. but this can’t be correct !!!

How to fix that ? i already fixed permissions - Thanks

EDIT:
After another restart its fixed again. weird anyway…

Openhab-Bridge under HomeKit is still “Not Supported” ??? any Help please ?

sorry, but as I do not have a HomeKit installation I do not exactly know/understand what you mean with this. Could you describe the problem a bit more in detail please ? What are the errors and what is the behavior of the system ?

i mean this here:
image

and my iphone is the HomeKit “Master” and i always get some log messages according to the iphone of my girlfriend …

my iPhone: 192.168.1.10
Girlfriend: 192.168.1.12

my router gives them fixed ip’s via MAC-Address

2020-09-27 19:42:32.851 [TRACE] [rver.impl.http.impl.AccessoryHandler] - New HomeKit connection from /192.168.1.12:49778
2020-09-27 19:42:33.000 [TRACE] [server.impl.http.impl.LoggingHandler] - READ PooledUnsafeDirectByteBuf(ridx: 0, widx: 158, cap: 1024) [/192.168.1.12:49778]:
2020-09-27 19:42:33.197 [TRACE] [server.impl.http.impl.LoggingHandler] - WRITE PooledUnsafeDirectByteBuf(ridx: 0, widx: 244, cap: 256) [/192.168.1.12:49778]:
2020-09-27 19:42:35.315 [TRACE] [server.impl.http.impl.LoggingHandler] - READ PooledUnsafeDirectByteBuf(ridx: 0, widx: 247, cap: 1024) [/192.168.1.12:49778]:
2020-09-27 19:42:35.341 [TRACE] [server.impl.http.impl.LoggingHandler] - WRITE PooledUnsafeDirectByteBuf(ridx: 0, widx: 101, cap: 232) [/192.168.1.12:49778]:
2020-09-27 19:42:36.711 [TRACE] [rver.impl.http.impl.AccessoryHandler] - Terminated HomeKit connection from /192.168.1.12:49778