Skip to content

Commit

Permalink
Note about missing mod_zip
Browse files Browse the repository at this point in the history
As I wasted too much time in figuring out what's wrong with anonymous link downloads, I thought it would be handy to summarize my lessons learned for others
  • Loading branch information
sjanssen2 committed May 16, 2024
1 parent 13eafdf commit 5317b8e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,9 @@ If you are using [NGINX](https://www.nginx.com/) via conda, you are going to nee
mkdir -p ${CONDA_PREFIX}/var/run/nginx/
```

Note that the shipped nginx version from conda, does **not** contain the mod_zip module: https://github.com/evanmiller/mod_zip
This leads to unexpected behaviour when generating a download link for anonymous artefact sharing, i.e. Qiita returns a flat file listing artifact filepaths instead of generating a ZIP archive that contains those files. You need to compile nginx with the additional mod_zip module yourself. (I've invested multiple hours to realize that the configure routine does not properly link shared libraries to the nginx binary. Try adding `--with-ld-opt=" -Wl,-rpath,/home/foo/lib "` to the `./auto/configure` call.)

## Start Qiita

Start postgres (instructions vary depending on operating system and install method).
Expand Down

0 comments on commit 5317b8e

Please sign in to comment.