Latest round of updates failed with a few package-related issues. RHEL 9.5, latest updates, using the community repo. Looks like some changes on both the Red Hat and Grommunio ends have got in the way. All issues seem to be RHEL-specific.
Issue 1: Grommunio-Common / Redis
grommunio-common won't install due to a conflict with Redis:
Error: Transaction test error:
file /etc/redis from install of grommunio-common-26.a6f127d-40.1.x86_64 conflicts with file from package redis-6.2.7-1.el9.x86_64
Using rpmrebuild to compare old (working) + new (not working) rpms, the problematic one appears to have an additional line:
%dir %attr(0755, root, root) "/etc/redis"
I assume that is causing the problem, but spec files aren't something I am particularly knowledgeable about.
Issue 2: NGINX
RHEL's version of NGINX has changed from 1:1.20.1-16 to 2:1.20.1-20.
nginx-module-brotli
and nginx-module-vts
in the Grommunio repo require 1:1.20.1 so the update will not install.
There is an alternative NGINX update stream for v1.24. The current version on that stream is 1:1.24.0-4, but it also does not meet the 1:1.20.1 requirement.
Example:
Error:
Problem: problem with installed package nginx-module-vts-1:1.20.1.0.2.2-2.36.x86_64
- package nginx-module-vts-1:1.20.1.0.2.2-2.36.x86_64 from @System requires nginx = 1:1.20.1, but none of the providers can be installed
- package nginx-module-vts-1:1.20.1.0.2.2-2.36.x86_64 from grommunio requires nginx = 1:1.20.1, but none of the providers can be installed
- cannot install both nginx-2:1.20.1-20.el9.x86_64 from rhel-9-for-x86_64-appstream-rpms and nginx-1:1.20.1-16.el9_4.1.x86_64 from @System
- cannot install both nginx-2:1.20.1-20.el9.x86_64 from rhel-9-for-x86_64-appstream-rpms and nginx-1:1.20.1-10.el9.x86_64 from rhel-9-for-x86_64-appstream-rpms
- cannot install both nginx-2:1.20.1-20.el9.x86_64 from rhel-9-for-x86_64-appstream-rpms and nginx-1:1.20.1-13.el9.x86_64 from rhel-9-for-x86_64-appstream-rpms
- cannot install both nginx-2:1.20.1-20.el9.x86_64 from rhel-9-for-x86_64-appstream-rpms and nginx-1:1.20.1-14.el9.x86_64 from rhel-9-for-x86_64-appstream-rpms
- cannot install both nginx-2:1.20.1-20.el9.x86_64 from rhel-9-for-x86_64-appstream-rpms and nginx-1:1.20.1-14.el9_2.1.x86_64 from rhel-9-for-x86_64-appstream-rpms
- cannot install both nginx-2:1.20.1-20.el9.x86_64 from rhel-9-for-x86_64-appstream-rpms and nginx-1:1.20.1-16.el9_4.1.x86_64 from rhel-9-for-x86_64-appstream-rpms
- cannot install the best update candidate for package nginx-1:1.20.1-16.el9_4.1.x86_64
Issue 3: SQLite
Not sure if this one is recent as I haven't had need to check for a while, but I noticed a lot of errors in the "Gromox http" log about SQLite schema upgrades failing with no such function: UNIXEPOCH
.
Looks like the UNIXEPOCH function was added in SQLite 3.38 and RHEL 9 uses SQLite 3.34 so it doesn't have this function.
Example:
[2024-11-13 15:01:34.494016]: dbop_sqlite: /var/lib/gromox/user/4/2: current schema EV-14; upgrading to EV-17.
[2024-11-13 15:01:34.494099]: dbop_sqlite: upgrading /var/lib/gromox/user/4/2 to schema EV-15
[2024-11-13 15:01:34.494184]: sqlite3_exec(/var/lib/gromox/user/4/2/exmdb/exchange.sqlite3) "INSERT INTO allocated_eids (range_begin,range_end,allocate_time,is_system) VALUES ((SELECT MAX(range_end)+1 FROM allocated_eids), (SELECT MAX(range_end)+0x10000 FROM allocated_eids),UNIXEPOCH(),1)": no such function: UNIXEPOCH (1) at [<libgromox_common.so.0(_ZN6gromox11gx_sql_execEP7sqlite3PKcj+0xa4) [0x7f2a89d7ee4b]><libgromox_dbop.so.0(_ZN6gromox19dbop_sqlite_upgradeEP7sqlite3PKcNS_11sqlite_kindEj+0x430) [0x7f2a89039a97]><libgxs_exmdb_provider.so.0(+0x37c23) [0x7f2a8995ac23]><libgxs_exmdb_provider.so.0(+0x39149) [0x7f2a8995c149]><libgxs_exmdb_provider.so.0(+0x39a68) [0x7f2a8995ca68]><libgxs_exmdb_provider.so.0(+0xb3dde) [0x7f2a899d6dde]><libgxs_exmdb_provider.so.0(+0x55572) [0x7f2a89978572]><libgxs_exmdb_provider.so.0(+0x5a9d4) [0x7f2a8997d9d4]><libgxs_exmdb_provider.so.0(+0x5b095) [0x7f2a8997e095]><libgxs_exmdb_provider.so.0(+0x5d442) [0x7f2a89980442]><libc.so.6(+0x89d22) [0x7f2a88a89d22]><libc.so.6(+0x10ed40) [0x7f2a88b0ed40]>]
[2024-11-13 15:01:34.494251]: dbop_sqlite upgrade /var/lib/gromox/user/4/2: Input/output error
[2024-11-13 15:01:34.494436]: E-2105: autoupgrade /var/lib/gromox/user/4/2: -1