[IIAB] Fwd: [UKids] IIAB Software Install

Braddock Gaskill braddock at gmail.com
Sat Jul 12 13:45:15 PDT 2014


Hi Tim et al,
Sounds like it is working.

As for the other problems being reported, I do now know how the pip
installed version of IIAB and the RPM version will interact.  It may be
that installing both from pip and RPM that the RPM version may still be
used.

You can tell what version is running by going to the "Settings" page in the
IIAB web interface and checking "Software Version"  (ignore "Dataset
Version", it is not valid).

You can test the "correct" behavior of the latest version by going to my
server at:

http://50.1.176.31:28105/iiab

This is not how I envisioned the next release of IIAB to go.  Datasets
floating around with uncertain pedigree, running software versions which
have had no thorough testing, no manpower available from our side to
support, and two days until shipment.  There was a reason I had not
released a new version in the past nine months.

That said, this newer version has been deployed to several countries on our
IIAB appliances without any issues detected or reported.

-braddock


On Sat, Jul 12, 2014 at 8:23 AM, Tim Moody <tim at timmoody.com> wrote:

>   Just for clarity the modules directory of the version I have shows
>
> drwxr-xr-x.   2 apache apache     4096 Aug 11  2013 geonames_index
> drwxr-xr-x.   3 apache apache     4096 Jul 21  2013 gutenberg
> drwxr-xr-x. 102 apache apache     4096 Jul 21  2013 gutenberg-epub
> drwxr-xr-x. 102 apache apache     4096 Jul 21  2013 gutenberg-epub-images
> drwxr-xr-x. 102 apache apache     4096 Jul 21  2013 gutenberg-htmlz
> drwxr-xr-x. 102 apache apache     4096 Jul 21  2013 gutenberg-htmlz-images
> -rwxr-xr-x.   1 apache apache       30 Aug 11  2013 INFO.json
> drwxr-xr-x.   5 apache apache     4096 Jul 21  2013 khanacademy
> -rwxr-xr-x.   1 apache apache 37190814 Jul 21  2013 MANIFEST
> drwxr-xr-x.   3 apache apache     4096 Jul 21  2013 openstreetmap
> drwxr-xr-x.   7 apache apache     4096 Jul 21  2013 sampler
> drwxr-xr-x.   3 apache apache     4096 Jul 21  2013 ubuntu
> lrwxrwxrwx.   1 apache apache       28 Oct 15  2013 wikipedia-index ->
> wikipedia-index.with_content
> drwxr-xr-x.  43 apache apache     4096 Oct 15  2013
> wikipedia-index.titles_only
> drwxr-xr-x.  43 apache apache     4096 Dec  4  2013
> wikipedia-index.titles_only_new
> drwxr-xr-x.  43 apache apache     4096 Aug 11  2013
> wikipedia-index.with_content
> drwxr-xr-x.  43 apache apache     4096 Nov 14  2013
> wikipedia-index.with_content_new
> drwxr-xr-x.   3 apache apache     4096 Jul 21  2013 wikipedia-kiwix
> drwxr-xr-x.   2 apache apache     4096 Sep  9  2013 wikipedia-links
> drwxr-xr-x.   2 apache apache     4096 Jul 21  2013 wikipedia-zim
>
> On my test system I did
>
>
> ·         python-pip install --upgrade Internet-in-a-Box
>
> ·         rm wikipedia-index
>
> ·         ln -s wikipedia-index.with_content_new wikipedia-index
>
>
> I navigated to iiab from the portal, took wikipedia, selected Wikipedia
> (item 2), and put nacl into the search field.  I got 633 results, the top
> ones having to do with various salts.
>
> I went back and took Maps, and entered Thunder Bay into the search field.
> It put me in the right spot.
>
> Tim
>
>  *From:* Braddock Gaskill <braddock at gmail.com>
> *Sent:* Saturday, July 12, 2014 12:08 AM
> *To:* unleashkids at googlegroups.com
> *Subject:* Fwd: [IIAB] [UKids] IIAB Software Install
>
>  Forwarding this response because I don't think it made it to the unleash
> kids list from my other account.
>
> ---------- Forwarded message ----------
> From: Braddock Gaskill <braddock at braddock.com>
> Date: Fri, Jul 11, 2014 at 4:57 PM
> Subject: Re: [IIAB] [UKids] IIAB Software Install
> To: Internet In a Box Working Group <iiab at sgvhak.org>
> Cc: Braddock Gaskill <braddock at gmail.com>, Unleash Kids! <
> unleashkids at googlegroups.com>, Tony Anderson <tony_anderson at usa.net>
>
>
> The only thing wrong with that copy of the IIAB dataset is that the
> version number wasn't updated, and the symbolic link we are all talking
> about is wrong because it doesn't point to the newest search index.
>
> It will still work with the newest IIAB software as-is, except the
> wikipedia search index is not as good as the newest one.
>
> A quick fix of the infamous symbolic link and it should be identical to
> the newest dataset.
>
> -braddock
>
>
> On Fri, Jul 11, 2014 at 4:35 PM, Adam Holt <holt at laptop.org> wrote:
>
>>  On Fri, Jul 11, 2014 at 7:08 PM, Braddock Gaskill <braddock at braddock.com
>> > wrote:
>>
>>> Where did you get that drive?  From me or from Curt?  I think there was
>>> a copy without and updated version number but I didn't realize it had made
>>> it into general circulation.
>>>
>>> -braddock
>>>
>>
>> I've been circulating that copy of IIAB to Haiti/Tim (etc) since Curt
>> gave me a copy early June, our first refresh since August 2013.  George
>> then worked hard to fix file permissions, after Curt accidentally shipped
>> us a drive with permissions issues.  Since this version of IIAB has already
>> shipped to multiple schools in Haiti over the past month, is this something
>> we can fix remotely ideally?  Or worst case, is that impossible hard?
>>
>>
>>
>>>   On Fri, Jul 11, 2014 at 4:06 PM, Tim Moody <tim at timmoody.com> wrote:
>>>
>>>>   I think it’s time to start over.  The version of iiab I’m using was
>>>> billed as May2014.  However knowledge/modules/INFO.json says "version":
>>>> "20130811".
>>>>
>>>> The symlink is wikipedia-index -> wikipedia-index.with_content.
>>>>
>>>> On the bright side I ran python-pip install --upgrade
>>>> Internet-in-a-Box and search works for school wiki and maps.
>>>>
>>>> Tim
>>>>
>>>>  *From:* Braddock Gaskill <braddock at gmail.com>
>>>> *Sent:* Friday, July 11, 2014 6:22 PM
>>>> *To:* Tim Moody <tim at timmoody.com>
>>>> *Cc:* Tony Anderson <tony_anderson at usa.net> ;
>>>> unleashkids at googlegroups.com ; Curt Thompson <curtathompson at gmail.com>
>>>> ; Braddock Gaskill <braddock at braddock.com> ; iiab at sgvhak.org
>>>>  *Subject:* Re: [UKids] IIAB Software Install
>>>>
>>>>   The issue is that you have installed the IIAB software from the
>>>> rpms.  The RPMs are not supported any more.  That old version of the
>>>> software will not support the new dataset.
>>>>
>>>> The recommended way to install is pip, as per the installation guide.
>>>> This unfortunately requires gcc on the system.  We had discussed some
>>>> months ago using "wheel" but never settled on anything.
>>>>
>>>> The link should be to wikipedia.index-with_content_new for the full
>>>> text wikipedia search.  The old (not _new) versions will be removed at some
>>>> point.
>>>>
>>>> wikipedia-index -> wikipedia-index.with_content_new
>>>>
>>>> If that link is not present on the new clones of the dataset hard drive
>>>> (and please write the version number on each drive for our sanity) then
>>>> something went wrong or it was not copied correctly and we need to know.
>>>>
>>>> The use of the symlink was a bad idea, but I didn't have time.
>>>>
>>>> You can also find the dataset version number in
>>>> knowledge/modules/INFO.json
>>>>
>>>> -braddock
>>>>
>>>>
>>>> On Fri, Jul 11, 2014 at 1:34 PM, Tim Moody <tim at timmoody.com> wrote:
>>>>
>>>>>   our symlink is to wikipedia.index-with_content
>>>>>
>>>>> Other choices seem to be titles_only, titles_only_new, and
>>>>> with_content_new.
>>>>>
>>>>> Can someone confirm what the proper link should be.
>>>>>
>>>>> Is the issue the link or the fact that we installed iiab from rpms?
>>>>>
>>>>> Tim
>>>>>
>>>>>  *From:* Tony Anderson <tony_anderson at usa.net>
>>>>> *Sent:* Thursday, July 10, 2014 11:55 AM
>>>>> *To:* unleashkids at googlegroups.com
>>>>> *Subject:* Re: [UKids] IIAB Software Install
>>>>>
>>>>>  Hi
>>>>>
>>>>> In setting up iiab on the schoolserver, the install script creates the
>>>>> following symbolic
>>>>> link:
>>>>>
>>>>> #set up link
>>>>> cd /library/knowledge/modules
>>>>> ln -s wikipedia-index.titles_only wikipedia-index
>>>>>
>>>>> In this symbolic link is not set, wikipedia search fails.
>>>>>
>>>>> I also point to the knowledge/modules folder containing the iiab
>>>>> content with the following:
>>>>>
>>>>> cp iiab.wsgi /var/www
>>>>>
>>>>> where iiab.wsgi contains the following line:
>>>>>
>>>>> # WSGI interface file for Apache's mod_wsgi
>>>>>
>>>>> # If you are using a virtualenv, set this path
>>>>> path_to_virtualenv = '/library/iiab-venv'
>>>>>
>>>>> The defaults.ini is not modified so iiab searches for the knowledge
>>>>> folder
>>>>> which is at /library/knowledge. I should probably change this to
>>>>> specify the
>>>>> location.
>>>>>
>>>>> Tony
>>>>>
>>>>> On 07/10/2014 04:58 PM, Curt Thompson wrote:
>>>>>
>>>>>  You can follow some instructions here to install or update IIAB.
>>>>>
>>>>> The pip install method seems to be the recommended method for now.
>>>>>
>>>>> https://github.com/braddockcg/internet-in-a-box/blob/master/INSTALL.txt
>>>>> --
>>>>> Unsung Heroes of OLPC, interviewed live @ http://unleashkids.org !
>>>>> ---
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "Unleash Kids" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to unleashkids+unsubscribe at googlegroups.com.
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>>
>>>>> --
>>>>> Unsung Heroes of OLPC, interviewed live @ http://unleashkids.org !
>>>>> ---
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "Unleash Kids" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to unleashkids+unsubscribe at googlegroups.com.
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>  --
>>>>> Unsung Heroes of OLPC, interviewed live @ http://unleashkids.org !
>>>>> ---
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "Unleash Kids" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to unleashkids+unsubscribe at googlegroups.com.
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>> --
>>>>> Unsung Heroes of OLPC, interviewed live @ http://unleashkids.org !
>>>>>
>>>>
>
> --
> Unsung Heroes of OLPC, interviewed live @ http://unleashkids.org !
> ---
> You received this message because you are subscribed to the Google Groups
> "Unleash Kids" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to unleashkids+unsubscribe at googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
> --
> Unsung Heroes of OLPC, interviewed live @ http://unleashkids.org !
> ---
> You received this message because you are subscribed to the Google Groups
> "Unleash Kids" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to unleashkids+unsubscribe at googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sgvhak.org/mailman/private/iiab/attachments/20140712/9a086ea7/attachment-0001.html>


More information about the IIAB mailing list