A lot of pkg problems

Arthur Chance freebsd at qeng-ho.org
Wed Sep 17 14:57:02 UTC 2014


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 at 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.


More information about the freebsd-questions mailing list