unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Tobias Geerinckx-Rice via Bug reports for GNU Guix <bug-guix@gnu.org>
To: Raghav Gururajan <rg@raghavgururajan.name>
Cc: 49205@debbugs.gnu.org
Subject: bug#49205: [services]: nginx doesn't restart after guix system reconfigure
Date: Thu, 24 Jun 2021 20:30:21 +0200	[thread overview]
Message-ID: <87v963ru82.fsf@nckx> (raw)
In-Reply-To: <ce7f75aa-9902-c0f0-c739-8939cfc713c9@raghavgururajan.name>

[-- Attachment #1: Type: text/plain, Size: 890 bytes --]

Raghav Gururajan via Bug reports for GNU Guix 写道:
> Throw to key `%exception' with args `("#<&invoke-error program:
> \"/gnu/store/g6nhdp7i1sr51anq86hd6adrsm5ha857-nginx-1.21.0/sbin/nginx\" 
> arguments: (\"-c\"
> \"/gnu/store/2igpjf27rm92np6jn6hfrxzx5m55a468-nginx.conf\" 
> \"-p\" 
> \"/var/run/nginx\") exit-status: 1 term-signal: #f stop-signal: 
> #f>")'.

The shortest answer is to run this command manually and see what 
it prints out.  So

  $ sudo /gnu/store/g6n…/sbin/nginx -c /gnu/store/… -p 
  /var/run/nginx

in a terminal.

I saw you mention nginx and certbot in #guix.  It's unfortunately 
common to end up in a catch-22 with Guix's nginx and certbot 
services when using HTTP authentication, where nginx needs to be 
running to receive your first certificate but refuses to start 
because of missing certificates…

Kind regards,

T G-R

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

  reply	other threads:[~2021-06-24 18:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-24 11:35 bug#49205: [services]: nginx doesn't restart after guix system reconfigure Raghav Gururajan via Bug reports for GNU Guix
2021-06-24 18:30 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix [this message]
2022-12-09  9:14   ` Ludovic Courtès
2023-07-01  2:38 ` bug#49205: Closing Bug#49205: Usually caused by misconfigurations of Nginx Felix Lechner via Bug reports for GNU Guix

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=87v963ru82.fsf@nckx \
    --to=bug-guix@gnu.org \
    --cc=49205@debbugs.gnu.org \
    --cc=me@tobias.gr \
    --cc=rg@raghavgururajan.name \
    /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).