You are not logged in.
I use nginx with webDAV module for self-hosting Zotero files. Wiki instructed to install `nginx-mainline` and `nginx-mainline-mod-dav-ext` (AUR), then configure as needed. It worked, until a full system update a couple months before, when nginx reported
[emerg] 222006#222006: module "/usr/lib/nginx/modules/ngx_http_dav_ext_module.so" version 1025002 instead of 1025003 in /etc/nginx/nginx.conf:1
However, the module's upstream has not updated since 2018, and the AUR is using that latest release.
Baffled, I tried to install nginx instead of nginx-mainline, and modified the PKGBUILD of the AUR accordingly to use nginx and nginx-src, but upon starting nginx (it did without errors), webDAV seems to be dead. I guess the `nginx` package is installed without the `./configure --with-http_dav_module` option, based on the observation that wiki specified the nginx-mainline and did not mention nginx (the stable release), but I do not know how to confirm.
I would like to know if there is any solution, or I'm doing something wrong - it seems the only mention of the error message indexed by google is exactly one post: this forum post, where the distro or the ecosystem fixed the OP's problem but did not mention what change in nginx 1.25 caused the issue & what to do in other linux settings (I used auto translation to read the post, hopefully this is somewhat ok interpretation).
Thank you!
Last edited by strayhay (2024-01-19 02:45:33)
Offline
Rebuild the dav module against the new nginx version. Whenever you install things from the AUR and the soname of a dependency bumps, you need to rebuild said package against the new soname, hoping it's still compatible (only minor version bump, chances that this is a "yes" are high).
Note the pinned comment: https://aur.archlinux.org/packages/ngin … ent-798632
Moving to AUR issues.
Last edited by V1del (2024-01-15 13:02:05)
Offline
Oh i'm dumb, it was right there in the discussion. I went to github repos to search for answer too quickly. Thank you V1del, and sorry.
Fixed, will close.
Offline