[Server-devel] getting the archive

2014-05-31 Thread Sameer Verma
Looking to see what the quickest and easiest way is, of getting a copy
of the full archive of IIAB. Thoughts? Ideas? Pointers?

cheers,
Sameer
-- 
Sameer Verma, Ph.D.
Professor, Information Systems
San Francisco State University
http://verma.sfsu.edu/
http://commons.sfsu.edu/
http://olpcsf.org/
http://olpcjamaica.org.jm/
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] XO Visualization Feature

2014-05-31 Thread Anish Mangal
Hi Martin,

Thanks for submitting the feature. I was experimenting with trying to
install the xovis system through the ansible task. The first time, it got
stuck here...

TASK: [xovis | Install Couchdb and other necessary packages]
**
changed: [127.0.0.1] = (item=couchdb,curl)

TASK: [xovis | Allow access to Couchdb from other hosts]
**
changed: [127.0.0.1]

TASK: [xovis | Enable Couchdb service]

changed: [127.0.0.1]

TASK: [xovis | Add admin user]

failed: [127.0.0.1] = {changed: true, cmd: [curl, -X, PUT, 
127.0.0.1:5984/_config/admins/admin, -d, \admin\], delta:
0:00:00.556050, end: 2014-06-01 06:00:26.021649, item: , rc: 7,
start: 2014-06-01 06:00:25.465599}
stderr:   % Total% Received % Xferd  Average Speed   TimeTime
Time  Current
 Dload  Upload   Total   SpentLeft
 Speed
  0 00 00 0  0  0 --:--:-- --:--:-- --:--:--
  0curl: (7) couldn't connect to host

FATAL: all hosts have already failed -- aborting

I ran it again, and the playbook went beyond this step fine, but now is
stuck while trying to fetch the database dump getting a 403 ... log below...

TASK: [xovis | Add admin user]

changed: [127.0.0.1]

TASK: [xovis | Remove Couch database if it already exists]

changed: [127.0.0.1]

TASK: [xovis | Create Couchdb database]
***
changed: [127.0.0.1]

TASK: [xovis | Install the latest XOstats script]
*
changed: [127.0.0.1]

TASK: [xovis | Install xovis and xostats python dependencies]
*
changed: [127.0.0.1]

TASK: [xovis | Fetch database dump to the server]
*
failed: [127.0.0.1] = {changed: true, cmd: [wget, -O,
/opt/xovis/xovis.json, https://s3.amazonaws.com/xovis/xovis.json;],
delta: 0:00:06.945208, end: 2014-06-01 06:06:41.045964, item: ,
rc: 8, start: 2014-06-01 06:06:34.100756}
stderr: --2014-06-01 06:06:34--  https://s3.amazonaws.com/xovis/xovis.json
Resolving s3.amazonaws.com (s3.amazonaws.com)... 207.171.185.200
Connecting to s3.amazonaws.com (s3.amazonaws.com)|207.171.185.200|:443...
connected.
HTTP request sent, awaiting response... 403 Forbidden
2014-06-01 06:06:41 ERROR 403: Forbidden.

FATAL: all hosts have already failed -- aborting


Any pointers would help.

Best,
Anish



On Mon, Apr 21, 2014 at 8:45 PM, Martin Dluhos mar...@gnu.org wrote:

 Hi everyone,

 I would like to give you an update about XOvis, XO data visualization
 application that I would like to integrate with XSCE. What is XOvis? It's
 so-called couchapp- an HTML/Js application that stored and served from a
 Couch
 database. The app uses HighCharts Javascript library to create charts from
 data
 gathered from XO Journal backups on XS.

 Recently, I have published a blog post on OLE's blog about deploying the
 app on
 schoolservers in Nepali schools:

 http://blog.olenepal.org/index.php/archives/842

 There are two main parts of the application. First, there is a python
 script
 process_journal_stats.py, which access raw Journal backup data from
 /library/users and loads them into a couch database. This script lives in

 http://github.com/martasd/xo-stats

 Then there is the HTML/JS app itself, which visualizes the data stored in
 the
 browser. This is the couch app which is also stored in the database
 itself. To
 install the app, one simply needs to install CouchDB and then get the
 database
 either through so-called replication or loaded from a db dump.

 Thus far, I've been using Cloudant to host the database with the
 application,
 but have run into errors when trying to replicate it from there. I am
 currently
 in the process of setting up the publicly accessible instance on sunjammer,
 where much of Sugarlabs infrastructure is hosted, but before that's
 available
 the best option for installing the database is to load it from a db dump
 (which
 I fetch from my GitHub repo).

 To install the application, I've written deploy_xovis.sh, which I have now
 translated into ansible's language, so that it can be integrated with
 XSCE. I
 have tested it on 64 bit Fedora 18 and made sure it can be run idempotently
 there. Currently, I don't have access to other machines to test the
 feature on.

 I've added XOvis as a feature to

 http://wiki.laptop.org/go/XS_Community_Edition/Features#Features_Planned

 and just created a pull request on GitHub which includes the ansible role
 'xovis' as well as its corresponding tag. I am looking forward to working
 to
 integrate this change with you!

 Cheers,
 Martin
 ___
 Server-devel mailing list
 Server-devel@lists.laptop.org
 http://lists.laptop.org/listinfo/server-devel

___
Server-devel mailing list
Server-devel@lists.laptop.org