From owner-freebsd-questions@FreeBSD.ORG Wed Sep 17 14:57:02 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9D0754E9 for ; Wed, 17 Sep 2014 14:57:02 +0000 (UTC) Received: from blue.qeng-ho.org (blue.qeng-ho.org [217.155.128.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 19E57964 for ; Wed, 17 Sep 2014 14:57:01 +0000 (UTC) Received: from arthur.home.qeng-ho.org (arthur.home.qeng-ho.org [172.23.1.2]) by fileserver.home.qeng-ho.org (8.14.7/8.14.5) with ESMTP id s8HEuwRU029557; Wed, 17 Sep 2014 15:56:58 +0100 (BST) (envelope-from freebsd@qeng-ho.org) Message-ID: <5419A13A.30301@qeng-ho.org> Date: Wed, 17 Sep 2014 15:56:58 +0100 From: Arthur Chance User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: Matthias Apitz , freebsd-questions@freebsd.org Subject: Re: A lot of pkg problems References: <2509308.9rytrV7MvD@penguin> <5411A89B.4010707@gmail.com> <1812950.bWcWxrzvJI@penguin> <54189CD1.7070102@webrz.net> <5418A5EE.1030304@hiwaay.net> <541936C5.3080601@qeng-ho.org> <20140917085023.GA1534@tiny-r269739> <541967D1.90108@qeng-ho.org> <20140917134133.GA2080@tiny-r269739> In-Reply-To: <20140917134133.GA2080@tiny-r269739> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Sep 2014 14:57:02 -0000 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.