Package Details: openlinkhub-git 0.9999-2

Git Clone URL: https://aur.archlinux.org/openlinkhub-git.git (read-only, click to copy)
Package Base: openlinkhub-git
Description: Open source Linux interface for iCUE LINK Hub and other Corsair AIOs, Hubs. [Latest Commit - source]
Upstream URL: https://github.com/jurkovic-nikola/OpenLinkHub
Licenses: GPL3
Conflicts: openlinkhub
Provides: openlinkhub
Submitter: jrdn
Maintainer: jrdn
Last Packager: jrdn
Votes: 3
Popularity: 1.25
First Submitted: 2024-12-05 12:40 (UTC)
Last Updated: 2025-02-18 20:54 (UTC)

Latest Comments

jrdn commented on 2025-07-08 16:06 (UTC)

@snowjaeger

Thanks for the suggestion, I will be modifying these packages as I update them. I will include one of those methods for this particularly. Thank you

snowjaeger commented on 2025-06-22 23:50 (UTC)

Why is the pkgver() function in the PKGBUILD commented out? Shouldn't the function be active to override the placeholder pkgver? AUR helpers like paru or octopi could then compare versions and decide when to rebuild, no?

pokropow commented on 2025-03-19 13:17 (UTC) (edited on 2025-03-19 13:38 (UTC) by pokropow)

Hi, when trying to open openlinkhub after installing this package i get panic: open /home/pokropow/database/rgb.json: no such file or directory

It tries to open this file from my home directory instead from /opt/openlinkhub/database/rgb.json

Edit: I guess I just used this in wrong way. After activating service Web UI works. Instead I am getting an error: {"error":"Failed to open a device with path '/dev/hidraw12': Permission denied","level":"error","msg":"Unable to open HID device","productId":3088,"serial":"09050305140B0A24","time":"2025-03-19T14:28:08+01:00","vendorId":6940} this leads to my corsair commander pro to not be detected. Some permission issues?

jrdn commented on 2025-02-18 20:51 (UTC)

@s00pcan I need more context in order to help, please review your arch install configuration. If this was widespread I think there would be more reports. Thanks.

s00pcan commented on 2025-02-17 18:45 (UTC)

Couldn't get any of these to work (tried all three packages). Also noticed that /usr/lib/debug/usr/bin/openlinkhub.debug is not removed after uninstalling any of these packages.

jrdn commented on 2024-12-10 06:14 (UTC) (edited on 2024-12-14 05:53 (UTC) by jrdn)

@mydongistiny -

I appreciate your reply and thanks for your quality insight.

Your package fails to install onto a fresh system. Please clean your test environment of all remnants of previous builds (users, files, services) before running makepkg again.

# Before makepkg -si, clean env
systemctl disable --now OpenLinkHub.service \
&& pacman -R openlinkhub-git
&& rm -rf /opt/OpenLinkHub \
&& userdel openlinkhub

The result of makepkg -si against yourPKGBUILDfrom your commit ( #19bf130 ):

chown: invalid user: ‘openlinkhub:openlinkhub’
error: command failed to execute correctly
:: Running post-transaction hooks...
(1/4) Creating system user accounts...
Creating group 'openlinkhub' with GID 932.
Creating user 'openlinkhub' (OpenLinkHub interface for iCUE LINK) with UID 932 and GID 932.
(2/4) Reloading system manager configuration...
(3/4) Arming ConditionNeedsUpdate...
(4/4) Refreshing PackageKit..

GNU Installdoes not effect the target system until well after the .install file is finished, let alone the PKGBUILD. This means yourpost_install() of chown -R openlinkhub:openlinkhub /opt/OpenLinkHub is attempting to reference a user on the target system that does not exist yet.

mydongistiny commented on 2024-12-10 01:12 (UTC)

There are better ways of adding a user than assigning a uid,gid. Here is my local repo I've been using: https://github.com/mydongistiny/openlinkhub-git

I'm sure there are other ways as well.

jrdn commented on 2024-12-09 13:17 (UTC) (edited on 2024-12-09 14:04 (UTC) by jrdn)

Installation user issue resolved. This package release should not require manual intervention for a fresh install, nor upgrading.

Please report any issues.

Note and Changes(s):
  1. The service no longer requires root privileges to run.
  2. A service user openlinkhub has been created and assigned the uid:gid of 473:473. [1]
  3. The systemd service is not automatically enabled. Users are required to manually enable and start the service (e.g. systemctl enable --now openlinkhub)
  4. Update required package dependencies (lm_sensors, i2c-tools, systemd)