From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 15BF7E00B05; Mon, 9 Nov 2015 04:05:54 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Received: from mail-wm0-f54.google.com (mail-wm0-f54.google.com [74.125.82.54]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 2BACAE0059B for ; Mon, 9 Nov 2015 04:05:52 -0800 (PST) Received: by wmec201 with SMTP id c201so75202478wme.0 for ; Mon, 09 Nov 2015 04:05:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel_com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=sQjsupidaCUG3U5yDFPkYa8dSHOSWxPIf9H3J2WxPws=; b=J9lcLztCeBrB7eIH8d6+6vHnfywhGrlWTBxRBiefVXZ3sU/A34lMM8VkY/yGETHExp 8D07a8iQDXhJViNPl2Giow1Yy9WPrxBRJPUdNtC18n+IUHli3lGMx5sIQkyqLaolQ9jc r47oU/vfm5n23myqR7vsrEGik7EHiKjt437h4R+SktDPztyS2zqRhx6e2V6aeaz6IYmZ tKFac4RVmnljq+tXgZ4HVKgYkCRF67Ysqt5RY070WIyyRhSwdPcxtOxYGNclNE0xReG+ wqgPA6t93wv8kBYUMZGYGON2sCZPNCrzyWrdB9GkAIoqYIRZCv2wgmQ68/+yhVcZPIsR Q+hQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=sQjsupidaCUG3U5yDFPkYa8dSHOSWxPIf9H3J2WxPws=; b=JGv3mSuPjbSJqKseQgQ25Dg5PcZbpPvNLFm64lNzlLgUNWibsYbmebZ831zIKWXgD6 JtrE44YskF+8lchZN55UdyhiPD4AVCHQ+2POrKSNuHIpI2NWssoYnPSF2rUmz+/7Moe3 F5TNP4CKgIY6CBmFNSryjt9TFqTqwdngCmhd+3+LPCTS5/smE4iOj6Hb0/0/9I7lhmDs 9EXUM+6Hhfett3MAs6IhLxOuF9qgu67RuBON47RgV6U7SKAYI0LiWFiLDCwJ3goQdEYI QW0oNbDoMyjxysZqsIp4I/SMfE7eaSMQsj8MPJF5yWxHQyHsvMo7YfXWCUcY/2AJIo5v PwZg== X-Gm-Message-State: ALoCoQnrWuzPRjF6qxNf+j4iDq8HJNmzeOGJ+dETGIhtzH5hzTdVh5cVepzNGrPdnjzFnbS+lEuj X-Received: by 10.194.77.174 with SMTP id t14mr29722854wjw.23.1447070751588; Mon, 09 Nov 2015 04:05:51 -0800 (PST) Received: from [192.168.0.22] ([90.199.203.61]) by smtp.googlemail.com with ESMTPSA id jt9sm15078993wjc.24.2015.11.09.04.05.50 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Nov 2015 04:05:50 -0800 (PST) To: toaster@yoctoproject.org References: From: Michael Wood Message-ID: <56408C1E.9070105@intel.com> Date: Mon, 9 Nov 2015 12:05:50 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Subject: Re: Remote managed mode X-BeenThere: toaster@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Web based interface for BitBake List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Nov 2015 12:05:54 -0000 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit On 09/11/15 11:47, Smith, Elliot wrote: > Hello Martin. > > On 9 November 2015 at 11:36, Martin Townsend > wrote: > > I'm interested in setting up the remote managed mode, a "Hosted > Toaster". > > I followed the instructions on > https://wiki.yoctoproject.org/wiki/Setting_up_a_production_instance_of_Toaster > for setting up a production instance in interactive mode. > There were a couple of typo's in the wiki > In section 4 > | > > CREATE DATABASE toaster; > > I think should be | > > CREATE DATABASE toaster_data; > > |and in section 6. | > > WSGIProcessGroup toastern_wsgi > > doesn't work for me but removing the n to give | > > | > > WSGIProcessGroup toaster_wsgi > > gets me to the point where I can navigate to the main web page. > > | > > | > > | > > | > > > Thanks for pointing those out, I've fixed them in the wiki. > > | > > | > > | > > | > > As it's interactive mode it's expecting a build. How do I start > the web server up so it's in managed mode? > > | > > | > > | > > | > > If you start toaster from the bitbake/bin/toaster script, you get > managed mode. > Yes though bitbake/bin/toaster script is only for the 'localhost' setup, not for remote/hosted managed mode. If you're using master or jethro/2.0 I think what is missing in the wiki instructions is setting the BUILD_MODE = true in bitbake/lib/toaster/toastermain/settings.py see latest docs here http://www.yoctoproject.org/docs/latest/toaster-manual/toaster-manual.html#setting-up-a-hosted-service-and-running-in-build-mode The wiki page was just meant to be a staging place for documentation before it's official which might be a bit confusing now that I think about it, I'll put a warning/link at the top to the main documentation. Thanks > The instructions for managed mode (aka build mode) for 1.8 are here: > http://www.yoctoproject.org/docs/1.8/toaster-manual/toaster-manual.html#setting-up-a-hosted-service-and-running-in-build-mode > > Note that we've recently changed how this works in master, so we now > have a BUILD_MODE variable (for the moment, at least) to turn build > mode on. The updated docs explaining that are in progress. > > Cheers, > Elliot > > -- > Elliot Smith > Software Engineer > Intel Open Source Technology Centre > >