Index | Thread | Search

From:
Landry Breuil <landry@openbsd.org>
Subject:
Re: influxdb not starting after upgrade to 7.5
To:
ports@openbsd.org
Date:
Tue, 23 Apr 2024 11:12:49 +0200

Download raw body.

Thread
Le Tue, Apr 23, 2024 at 10:59:30AM +0200, Landry Breuil a écrit :
> Le Tue, Apr 23, 2024 at 09:42:26AM +0100, Stuart Henderson a écrit :
> > On 2024/04/22 23:26, Zé Loff wrote:
> > > 
> > > Hi all
> > > 
> > > After upgrading an amd64 machine to 7.5-stable, influxdb fails to start,
> > > saying:
> > > 
> > > 2024-04-22T22:07:42.599907Z     info    Welcome to InfluxDB {"log_id": "0oiySb1l000", "version": "2.7.3", "commit": "none", "build_date": "2024-04-22T22:07:42Z", "log_level": "info"}
> > > 2024-04-22T22:07:42.601348Z     error   Failed opening bolt {"log_id": "0oiySb1l000", "error": "function not implemented"}
> > > 
> > > Starting with a clean /var/influxdb doesn't help, nor does doing it as
> > > root (which also starts with a clean slate, at /root/.influxdbv2).
> > > Removing and reinstalling the package didn't help either.
> > > 
> > > Has anyone else seen the same thing and/or has any advice?
> > > 
> > > Thanks in advance
> > > 
> > > -- 
> > >  
> > > 
> > 
> > OpenBSD was changed so that syscalls can only be made by libc. However
> > some software (especially software written in Go) still relies on being
> > able to call syscalls directly from the main program and this will no
> > longer run on OpenBSD.
> 
> rejoice ! influxdb 3 is written in rust !
> 
> > I'm not too familiar with influxdb but it seems bolt/bbolt is a required
> > part of it, so I think we might as well mark it broken for now, it's not
> > going to magically start working unless changes are made.
> 
> seconded. i'm tired of this ecosystem.

after a quick look, it'd need bbolt 1.3.8 (cf
https://github.com/etcd-io/bbolt/pull/406) and as for modernc.org/sqlite
im not even sure its fixed as
https://gitlab.com/cznic/sqlite/-/issues/140 leads to
https://gitlab.com/cznic/libc/-/issues/29 and
https://gitlab.com/cznic/libc/-/merge_requests/13 that only got recently
merged. soooo....