Package Details: kibana-xpack 8.16.1-1

Git Clone URL: https://aur.archlinux.org/kibana-xpack.git (read-only, click to copy)
Package Base: kibana-xpack
Description: Browser based analytics and search dashboard for Elasticsearch
Upstream URL: https://www.elastic.co/products/kibana
Licenses: custom:Elastic2
Conflicts: kibana
Provides: kibana
Submitter: hnws
Maintainer: ipaqmaster
Last Packager: ipaqmaster
Votes: 5
Popularity: 0.000000
First Submitted: 2019-03-27 01:53 (UTC)
Last Updated: 2024-11-22 17:41 (UTC)

Dependencies (3)

Required by (1)

Sources (4)

Pinned Comments

dwheeler commented on 2020-10-29 00:45 (UTC)

To import the PGP key:

gpg --recv-keys 46095ACC8548582C1A2699A9D27D666CD88E42B4

or

curl -sS https://artifacts.elastic.co/GPG-KEY-elasticsearch | gpg --import - 

Latest Comments

1 2 Next › Last »

ipaqmaster commented on 2024-09-27 04:11 (UTC)

In the meantime I have bought the kibana AUR package up to date while I tackle this one.

https://aur.archlinux.org/packages/kibana

ipaqmaster commented on 2024-09-21 02:55 (UTC) (edited on 2024-09-27 03:03 (UTC) by ipaqmaster)

Opened a new issue detailing some of the many ways I've tried to tackle this. Hoping for some help!

https://github.com/elastic/kibana/issues/193648

Cannot seem to get past Error: Cannot find module './polyfill' no matter what I try. Even using nvm invoke yarn kbn bootstrap throws errors. This project does not want to be built.

ipaqmaster commented on 2024-09-20 01:25 (UTC) (edited on 2024-09-20 04:22 (UTC) by ipaqmaster)

yarn kbn bootstrap had issues writing during the build.

Archlinux doesn't provide the old node version kibana is refusing to function without it.

Forcefully setting the installed version into package.json seems to let yarn install work in the package() function but the service fails to start due to: Error: Cannot find module './polyfill'

Cannot seem to figure this one out.

micsthepick commented on 2024-09-02 07:54 (UTC) (edited on 2024-09-02 08:19 (UTC) by micsthepick)

-> Copying source files needed for debug symbols...

freezing here for more than 5 minutes

That aside, I am also getting node package errors:

Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'lodash' imported from /usr/share/kibana/src/cli/cli.js

FlyInWind commented on 2024-08-28 09:48 (UTC)

@ipaqmaster In office docker image, i can find the require-in-the-middle node module at /usr/share/kibana/node_modules/require-in-the-middle dir。But it is missing in kibana-xpack aur package。My be we need yarn kbn bootstrap

ipaqmaster commented on 2024-07-17 02:37 (UTC) (edited on 2024-07-17 02:42 (UTC) by ipaqmaster)

Also experiencing this but couldn't find an obvious cause with some troubleshooting. I'll raise something upstream in case they might know what the cause is.

https://github.com/elastic/kibana/issues/188498

FlyInWind commented on 2024-06-20 01:08 (UTC)

can't startup

node:internal/modules/cjs/loader:1215
  throw err;
  ^

Error: Cannot find module 'require-in-the-middle'
Require stack:
- /usr/share/kibana/src/setup_node_env/harden/index.js
- /usr/share/kibana/src/setup_node_env/setup_env.js
- /usr/share/kibana/src/setup_node_env/dist.js
- /usr/share/kibana/src/cli/dist.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1212:15)
    at Module._load (node:internal/modules/cjs/loader:1038:27)
    at wrapModuleLoad (node:internal/modules/cjs/loader:212:19)
    at Module.require (node:internal/modules/cjs/loader:1297:12)
    at require (node:internal/modules/helpers:123:16)
    at Object.<anonymous> (/usr/share/kibana/src/setup_node_env/harden/index.js:9:12)
    at Module._compile (node:internal/modules/cjs/loader:1460:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1544:10)
    at Module.load (node:internal/modules/cjs/loader:1275:32)
    at Module._load (node:internal/modules/cjs/loader:1091:12) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/usr/share/kibana/src/setup_node_env/harden/index.js',
    '/usr/share/kibana/src/setup_node_env/setup_env.js',
    '/usr/share/kibana/src/setup_node_env/dist.js',
    '/usr/share/kibana/src/cli/dist.js'
  ]
}

Node.js v22.3.0

ipaqmaster commented on 2024-02-25 09:34 (UTC) (edited on 2024-02-25 09:35 (UTC) by ipaqmaster)

Adopted.

  • Updated to 8.12.2 (current).

  • dded ./autoUpdate, a script scheduled to run daily for bumping the version (modified from its source use in the elasticsearch AUR package).

  • Removed older nodejs requirement.

Working fine in a production stack I monitor.

ipaqmaster commented on 2023-11-05 23:01 (UTC)

Kibana does not support the current Node.js version v16.20.2. Please use Node.js v16.20.1.

Had to run pacman -U /var/cache/pacman/pkg/nodejs-lts-gallium-16.20.1-1-x86_64.pkg.tar.zst to revive kibana-xpack.

(Or pacman -U https://archive.archlinux.org/packages/n/nodejs-lts-gallium/nodejs-lts-gallium-16.20.1-1-x86_64.pkg.tar.zst if not locally sourced)

ipaqmaster commented on 2023-08-20 04:16 (UTC) (edited on 2023-08-20 04:37 (UTC) by ipaqmaster)

This package is over a year out of date. Do you have any automation in place to versionbump it? The package can't be relied in an elastic stack otherwise.

Successfully built 8.9.0 but had to set depends=("nodejs") and remove that legacy sed line. Works perfectly.