unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Evgeny Pisemsky <evgeny@pisemsky.com>
To: 61500@debbugs.gnu.org
Subject: bug#61500: Default cache directory of cat-avatar-generator-service
Date: Tue, 14 Feb 2023 06:10:45 +0300	[thread overview]
Message-ID: <87wn4llz62.fsf@pisemsky.com> (raw)

Hello!

The cache directory must:

1. End with a slash (due to implementation of the php script).
2. Exist or be created manually.
3. Be writeable by php-fpm.

The current default value doesn't meet these requirements and leads to
broken caching and errors in php-fpm log.

The simplest solution is to change it to /tmp/, but for obvious
reasons it is not suitable for production use.

However, since this service is described as demonstration, I would
prefer unsafe default over broken (for now).

Also the requirements above should probably be mentioned in the
documentation of the service.




             reply	other threads:[~2023-02-14  3:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-14  3:10 Evgeny Pisemsky [this message]
2023-11-30 16:38 ` bug#61500: [PATCH] services: cat-http-server: Fix cat-avatar-generator-service Evgeny Pisemsky

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=87wn4llz62.fsf@pisemsky.com \
    --to=evgeny@pisemsky.com \
    --cc=61500@debbugs.gnu.org \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).