Help with OpenMOOC in Wheezy

185 views
Skip to first unread message

pav5088

unread,
May 17, 2013, 1:01:27 PM5/17/13
to open...@googlegroups.com
I wrote some scripts to install OpenMOOC, Cyrus & Postfix in Debian Wheezy...  and also install OpenLDAP and FusionDirectory - an LDAP web GUI.  (FusionDirectory is a fork of GOsa if anyone is familiar with that).  I don't have OpenMOOC working, although I believe the IdP is working.  I'm stuck on the easy_install part which doesn't seem to work for me.  Can anyone help me get further?

Google wouldn't let me attach my scripts, but they are in my git repo.  I should also mention that the scripts only work in Wheezy even though they are called squeeze-*.  :-/  Also, my repo contains many other scripts mostly for installing LDAP-controlled services such as Samba, OPSI, FAI, SOGo, DHCP, DNS, Squid etc...  all controlled via the FusionDirectory GUI.  They were written as documentation for my own benefit, but if anyone is interested : git clone git://wfstt.git.sourceforge.net/gitroot/wfstt/wfstt

pav5088

unread,
May 21, 2013, 6:41:11 AM5/21/13
to open...@googlegroups.com
I don't have things working, but perhaps I've found some problems (but perhaps they are my own mistakes) :

1)  The celeryd init.d script doesn't seem to work on Debian Wheezy.

2) django-admin-sortable==1.3.8 doesn't work...  the earliest available seems to be 1.4

3) I get a "maximum recursion depth" error when running python setup.py develop (for moocng).  If I simply run it again it works(???)  I guess something broke here?

4)    django-admin.py syncdb --settings=moocng.settings --migrate
       works for a few steps then fails :
       Error in migration: courses:0010_optimize_activity

       Perhaps this is due to an earlier problem?

My scripts are here :
http://wfstt.git.sourceforge.net/git/gitweb.cgi?p=wfstt/wfstt;a=tree;h=d209205082869e0577782e8eb679eb53c52adb4b;hb=d209205082869e0577782e8eb679eb53c52adb4b

I run them in the following order to install openmooc:
squeeze-install-FusionDirectory
wheezy-install-openmooc

ingenierofelipeurrego

unread,
May 21, 2013, 6:42:35 AM5/21/13
to open...@googlegroups.com
Hi please tell me if you run virtual appliance for vbox or vmware, give me support please

Tnks

Sixto Martin

unread,
May 21, 2013, 6:53:41 AM5/21/13
to open...@googlegroups.com
OpenMOOC works in a CentOS environment.  Never tested on Debian.



2013/5/21 pav5088 <pav...@gmail.com>

I don't have things working, but perhaps I've found some problems (but perhaps they are my own mistakes) :

1)  The celeryd init.d script doesn't seem to work on Debian Wheezy.

That script is for centOS only. Sorry

 
2) django-admin-sortable==1.3.8 doesn't work...  the earliest available seems to be 1.4

It seems like the author removed the egg. Try updating the dependence version
 

3) I get a "maximum recursion depth" error when running python setup.py develop (for moocng).  If I simply run it again it works(???)  I guess something broke here?

No idea, this does not happen in centOS
 

4)    django-admin.py syncdb --settings=moocng.settings --migrate
       works for a few steps then fails :
       Error in migration: courses:0010_optimize_activity

       Perhaps this is due to an earlier problem?

The 10&11 migrations require some fixing sorrry  (They don't work with an empty database)
Skip them with --fake option

 

My scripts are here :
http://wfstt.git.sourceforge.net/git/gitweb.cgi?p=wfstt/wfstt;a=tree;h=d209205082869e0577782e8eb679eb53c52adb4b;hb=d209205082869e0577782e8eb679eb53c52adb4b

I run them in the following order to install openmooc:
squeeze-install-FusionDirectory
wheezy-install-openmooc

--
You received this message because you are subscribed to the Google Groups "OpenMOOC" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openmooc+u...@googlegroups.com.
To post to this group, send email to open...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openmooc/b9fd6bfd-88f6-4bbd-9173-d8ed5d869a8e%40googlegroups.com?hl=en.

For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Sixto Pablo Martín García
Ingeniero Informático
Yaco Sistemas SL
Teléfono +34 954 50 00 57
C/Rioja 5-1ª Planta
41001 Sevilla

pav5088

unread,
May 21, 2013, 1:15:47 PM5/21/13
to open...@googlegroups.com

 3) I get a "maximum recursion depth" error when running python setup.py develop (for moocng).  If I simply run it again it works(???)  I guess something broke here?

No idea, this does not happen in centOS
 
It's strange...  if I install mathjax with pip (mathjax setup has the infinite recursion problem) then everything is fine.  Also, if I repeat the moocng setup after it errors out then this also gets past the problem.  Weird.
 

4)    django-admin.py syncdb --settings=moocng.settings --migrate
       works for a few steps then fails :
       Error in migration: courses:0010_optimize_activity

       Perhaps this is due to an earlier problem?

The 10&11 migrations require some fixing sorrry  (They don't work with an empty database)
Skip them with --fake option

What --fake option?  I've searched online, and also looked at the options for django-admin.py, and I can't find a --fake option.

I've also found some other issues :

* I have to setup django-tastypie before moocng...  otherwise the install doesn't go correctly.

* If I install in the following way:
  python setup.py sdist
  easy_install /var/www/moocng/moocng/dist/moocng-0.0.tar.gz

...then the /var/www/moocng/lib/python2.7/site-packages/moocng-0.0-py2.7.egg directory is not created, and I get a :
/var/www/moocng/lib/python2.7/site-packages/moocng.egg-link file instead with the contents :
/var/www/moocng/moocng
.

python setup.py develop gives me the correct directory.

* Also my moocng.settings don't seem to be in my path (???).  I somehow managed that last time, but I can't remember what I did...  I've followed the instructions more exactly this time.

Sixto Martin

unread,
May 21, 2013, 2:44:13 PM5/21/13
to open...@googlegroups.com


El 21/05/2013 19:15, "pav5088" <pav...@gmail.com> escribió:
>
>
>>  3) I get a "maximum recursion depth" error when running python setup.py develop (for moocng).  If I simply run it again it works(???)  I guess something broke here?
>>
>> No idea, this does not happen in centOS
>>  
>
> It's strange...  if I install mathjax with pip (mathjax setup has the infinite recursion problem) then everything is fine.  Also, if I repeat the moocng setup after it errors out then this also gets past the problem.  Weird.

The mathjax is a library added to the moocng not much time ago. Maybe really exists a installation problem. We may investigate it.


 
>>>
>>>
>>> 4)    django-admin.py syncdb --settings=moocng.settings --migrate
>>>        works for a few steps then fails :
>>>        Error in migration: courses:0010_optimize_activity
>>>
>>>        Perhaps this is due to an earlier problem?
>>
>>
>> The 10&11 migrations require some fixing sorrry  (They don't work with an empty database)
>> Skip them with --fake option
>>
> What --fake option?  I've searched online, and also looked at the options for django-admin.py, and I can't find a --fake option.

The --fake is an option of the migrate command. This option flag a migration step as executed.

> I've also found some other issues :
>
> * I have to setup django-tastypie before moocng...  otherwise the install doesn't go correctly.
>
> * If I install in the following way:
>   python setup.py sdist
>   easy_install /var/www/moocng/moocng/dist/moocng-0.0.tar.gz
>
> ...then the /var/www/moocng/lib/python2.7/site-packages/moocng-0.0-py2.7.egg directory is not created, and I get a :
> /var/www/moocng/lib/python2.7/site-packages/moocng.egg-link file instead with the contents :
> /var/www/moocng/moocng
> .
> python setup.py develop gives me the correct directory.
>
> * Also my moocng.settings don't seem to be in my path (???).  I somehow managed that last time, but I can't remember what I did...  I've followed the instructions more exactly this time.

That is also weird, never happened to us.

> --
> You received this message because you are subscribed to the Google Groups "OpenMOOC" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to openmooc+u...@googlegroups.com.
> To post to this group, send email to open...@googlegroups.com.

> To view this discussion on the web visit https://groups.google.com/d/msgid/openmooc/51979e99-4ae2-4698-944d-fa0ae02aef75%40googlegroups.com?hl=en.

pav5088

unread,
May 23, 2013, 11:24:48 AM5/23/13
to open...@googlegroups.com
 Well...   it kinda almost works with the script/doc I've written.  I thought I'd post it anyway just in case anyone is motivated to make the last steps to fix it for Debian Wheezy.  I don't know Python well, and definitely don't know Django...  so I can't get any further myself.

Michael the Aussie

unread,
May 25, 2013, 9:08:30 PM5/25/13
to open...@googlegroups.com
Hi guys.  I also feel it would help to have OpenMOOC functioning on Debian.  CentOS is a major server distro - and a very good one - but in the long term it might be helpful to also support Debian, which is the other major server distro of the world.  

Alejandro Blanco

unread,
May 27, 2013, 2:28:31 AM5/27/13
to open...@googlegroups.com
We would love to have a guide to deploy OpenMOOC running in Debian too. But right now the development team have hands full with new features, we don't even have a complete guide for CentOS, which is the supported distro!

We intent to release installers for CentOS (rpm packages probably), and a complete guide to deploy OpenMOOC with them. It will be a good time to write a generic deploy guide for any distro too, we will have a frozen version then. But first, we need to finish the features we are dealing with now.

On the other hand, if any of you guys want to write a guide explaining how to deploy OpenMOOC in Debian, it will be much appreciated and it would be included in the project's documentation.

2013/5/26 Michael the Aussie <mike....@gmail.com>
Hi guys.  I also feel it would help to have OpenMOOC functioning on Debian.  CentOS is a major server distro - and a very good one - but in the long term it might be helpful to also support Debian, which is the other major server distro of the world.  


On Friday, May 24, 2013 1:24:48 AM UTC+10, pav5088 wrote:
 Well...   it kinda almost works with the script/doc I've written.  I thought I'd post it anyway just in case anyone is motivated to make the last steps to fix it for Debian Wheezy.  I don't know Python well, and definitely don't know Django...  so I can't get any further myself.

--
You received this message because you are subscribed to the Google Groups "OpenMOOC" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openmooc+u...@googlegroups.com.
To post to this group, send email to open...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Alejandro Blanco <abl...@yaco.es>

 

Yaco Sistemas S.L. <http://www.yaco.es/>

C/ Rioja 5, 41001 Sevilla
Reply all
Reply to author
Forward
0 new messages