Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Sep 2014 15:56:58 +0100
From:      Arthur Chance <freebsd@qeng-ho.org>
To:        Matthias Apitz <guru@unixarea.de>, freebsd-questions@freebsd.org
Subject:   Re: A lot of pkg problems
Message-ID:  <5419A13A.30301@qeng-ho.org>
In-Reply-To: <20140917134133.GA2080@tiny-r269739>
References:  <2509308.9rytrV7MvD@penguin> <5411A89B.4010707@gmail.com> <1812950.bWcWxrzvJI@penguin> <54189CD1.7070102@webrz.net> <5418A5EE.1030304@hiwaay.net> <alpine.BSF.2.11.1409161505350.93245@wonkity.com> <B2E0472020754D45B72E9B0CE35278CAB7242FCA9B@EXCHANGE.mail.starnet.cz> <541936C5.3080601@qeng-ho.org> <20140917085023.GA1534@tiny-r269739> <541967D1.90108@qeng-ho.org> <20140917134133.GA2080@tiny-r269739>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On 17/09/2014 14:41, Matthias Apitz wrote:
> El día Wednesday, September 17, 2014 a las 11:52:01AM +0100, Arthur Chance escribió:
>
>> It's probably not the most elegant way of working, but this works for
>> me. In my nginx.conf the poudriere related bits are
>>
>>           location /pkgs/ {
>>               alias /usr/local/poudriere/data/packages/;
>>               autoindex on;
>>               autoindex_exact_size off;
>>               autoindex_localtime on;
>>           }
>>
>>           location /logs/ {
>>               alias /usr/local/poudriere/data/logs/;
>>               index  index.html;
>>               autoindex on;
>>               autoindex_exact_size off;
>>               autoindex_localtime on;
>>
>>               default_type text/html;
>>               types {
>>                   text/plain log;
>>               }
>>           }
>>
>> That's with poudriere's BASEFS=/usr/local/poudriere
>
> Thanks. Is this with a recent version of poudriere. The presentation of
> the logs has changed to use 'json'. See here:

root@arthur:1# poudriere version
3.0.17

I tend to upgrade at weekends, so haven't got yesterday's 3.0.18 version.

> https://wiki.freebsd.org/internal/pkg.FreeBSD.org/PortmgrSetup

My logs are plain text and I see nothing in that link that suggests they 
should be JSON. Are you sure that's the link you meant? It was last 
updated 2013-07-16 so wouldn't contain anything new.

> As I said, I could not manage to get this to work until now. But, it is
> not so important, 'tail -f ...' does its job too :-)

Are you sure you're pointing your browser at the right place? The 
/logs/bulk/${JAIL}-default/latest/index.html page I use dynamically 
updates during a poudriere bulk build session, but you do have to have 
Javascript enabled. If you use the NoScript browser add-on like I do, 
you have to enable JS on your local server.



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?5419A13A.30301>