List for cgit developers and users
 help / color / Atom feed
From: roy at marples.name (Roy Marples)
Subject: Error downloading snapshots from remote sites
Date: Mon, 4 May 2020 10:45:42 +0100
Message-ID: <5ca75484-03df-38f5-f11c-3334e760e45b@marples.name> (raw)

Hi

I only get this error downloading from a remote VM.
Another user has reported the error here:
https://roy.marples.name/archives/dhcpcd-discuss/0002955.html

Error is a sample error logged by nginx:
I use uwsgi to proxy the cgi to nginx.

*248 open() "/var/db/nginx/uwsgi_temp/6/00/0000000006" failed (13: Permission 
denied) while reading upstream, client: 2001:470:a085:999::80, server: 
roy.marples.name, request: "GET /cgit/dhcpcd.git/snapshot/master.tar.xz 
HTTP/1.1", upstream: "uwsgi://unix:/var/run/uwsgi/cgit.sock:", host: 
"roy.marples.name"

Otherwise this setup works fine.
The user uwsgi/cgit runs as owns the directory /var/db/nginx/uwsgi_temp.

Any pointers on how to fix this?

Thanks

Roy


             reply index

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-04  9:45 roy [this message]
2020-05-04 13:23 ` alex_y_xu
2020-05-04 13:29   ` roy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5ca75484-03df-38f5-f11c-3334e760e45b@marples.name \
    --to= \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

List for cgit developers and users

Archives are clonable: git clone --mirror http://inbox.vuxu.org/cgit

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.cgit


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git