GNU bug report logs - #26567
guix publish Resource not found

Previous Next

Package: guix;

Reported by: Quiliro <quiliro <at> riseup.net>

Date: Wed, 19 Apr 2017 16:53:01 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 26567 in the body.
You can then email your comments to 26567 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#26567; Package guix. (Wed, 19 Apr 2017 16:53:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Quiliro <quiliro <at> riseup.net>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 19 Apr 2017 16:53:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Quiliro <quiliro <at> riseup.net>
To: bug-guix <at> gnu.org
Subject: guix publish Resource not found
Date: Mon, 17 Apr 2017 18:45:44 -0500
I have run as root:
guix archive --generate-key
guix publish --user=quiliro
But when opening web page:
http://0.0.0.0:8080/
I get:
Resource not found: /

-- 
Saluton,
Quiliro
0987631031






Information forwarded to bug-guix <at> gnu.org:
bug#26567; Package guix. (Wed, 19 Apr 2017 17:09:01 GMT) Full text and rfc822 format available.

Message #8 received at 26567 <at> debbugs.gnu.org (full text, mbox):

From: Marius Bakke <mbakke <at> fastmail.com>
To: Quiliro <quiliro <at> riseup.net>, 26567 <at> debbugs.gnu.org
Subject: Re: bug#26567: guix publish Resource not found
Date: Wed, 19 Apr 2017 19:07:59 +0200
[Message part 1 (text/plain, inline)]
Quiliro <quiliro <at> riseup.net> writes:

> I have run as root:
> guix archive --generate-key
> guix publish --user=quiliro
> But when opening web page:
> http://0.0.0.0:8080/
> I get:
> Resource not found: /

That is expected. Note that "0.0.0.0" just means "listen on all
available IPv4 addresses", I'm surprised it works in a browser.

You should be able to use that URL from a different machine by invoking
guix with "--substitute-urls='http://x.x.x.x:8080'" where x.x.x.x
represents the IPv4 address of the machine running `guix publish`.

Note that the "client" machine also needs to authorize the key generated
in the first step. Hope this helps!
[signature.asc (application/pgp-signature, inline)]

Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Wed, 19 Apr 2017 21:49:01 GMT) Full text and rfc822 format available.

Notification sent to Quiliro <quiliro <at> riseup.net>:
bug acknowledged by developer. (Wed, 19 Apr 2017 21:49:02 GMT) Full text and rfc822 format available.

Message #13 received at 26567-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Marius Bakke <mbakke <at> fastmail.com>
Cc: Quiliro <quiliro <at> riseup.net>, 26567-done <at> debbugs.gnu.org
Subject: Re: bug#26567: guix publish Resource not found
Date: Wed, 19 Apr 2017 23:48:38 +0200
Marius Bakke <mbakke <at> fastmail.com> skribis:

> Quiliro <quiliro <at> riseup.net> writes:
>
>> I have run as root:
>> guix archive --generate-key
>> guix publish --user=quiliro
>> But when opening web page:
>> http://0.0.0.0:8080/
>> I get:
>> Resource not found: /
>
> That is expected.

Indeed, until now ‘guix publish’ did not show anything for / and
/index.html.  Fixed in commit e1bbc0e38d0c9a5d248ec8b686fdd0a972a61ff4.

Though note that ‘guix publish’ is meant to serve data to Guix clients; 
it’s not meant to serve HTML pages to human beings.  :-)

Thanks,
Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#26567; Package guix. (Thu, 20 Apr 2017 03:28:02 GMT) Full text and rfc822 format available.

Message #16 received at 26567-done <at> debbugs.gnu.org (full text, mbox):

From: Quiliro <quiliro <at> riseup.net>
To: 26567-done <at> debbugs.gnu.org
Subject: Re: bug#26567: guix publish Resource not found
Date: Wed, 19 Apr 2017 22:27:14 -0500
El Wed, 19 Apr 2017 23:48:38 +0200
ludo <at> gnu.org (Ludovic Courtès) escribió:

> Marius Bakke <mbakke <at> fastmail.com> skribis:
> 
> > Quiliro <quiliro <at> riseup.net> writes:
> >  
> >> I have run as root:
> >> guix archive --generate-key
> >> guix publish --user=quiliro
> >> But when opening web page:
> >> http://0.0.0.0:8080/
> >> I get:
> >> Resource not found: /  
> >
> > That is expected.  
> 
> Indeed, until now ‘guix publish’ did not show anything for / and
> /index.html.  Fixed in commit
> e1bbc0e38d0c9a5d248ec8b686fdd0a972a61ff4.
> 
> Though note that ‘guix publish’ is meant to serve data to Guix
> clients; it’s not meant to serve HTML pages to human beings.  :-)
> 
> Thanks,
> Ludo’.

Thank you both.

-- 
Example of rude top posting:

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

A: No.
Q: Should I leave quotations after my reply?

Saluton,
Quiliro
0987631031






bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 18 May 2017 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 353 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.