Moodle

Prepare web portal for the new language translation interface

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 2.0
  • Fix Version/s: 2.0
  • Component/s: Language
  • Labels:
    None
  • Affected Branches:
    MOODLE_20_STABLE
  • Fixed Branches:
    MOODLE_20_STABLE

Description

Hi Jordan,

I am working on the new translation interface for Moodle, called AMOS. Shortly, that will be a customized Moodle 2.0 installation, MNet'd with moodle.org as usually. I propose URL http://lang.moodle.org but this should be approved by Martin D. I will need shell access to the machine in a similar way to what I already have for that http://test.moodle.net/workshop site.
I will need git installed. I would like to have access to a crontab as there are scripts that must be executed regularly via command line.

Details to be discussed via Jabber. Thanks in advance.

Activity

Hide
Jordan Tomkinson added a comment -

David,

I have set up the virtual host and linked the server root path to your home directory on server 8 ( along side your workshop test site )
You should already have access to git inside your jail, if not let me know.

Show
Jordan Tomkinson added a comment - David, I have set up the virtual host and linked the server root path to your home directory on server 8 ( along side your workshop test site ) You should already have access to git inside your jail, if not let me know.
Hide
David Mudrak added a comment -

Jordan, please help

I am trying to set up a trivial HTTP authentication wall in front of this new site so that only selected testers will be able to access it (it is Moodle 2.0 you know so I do not want to have it public). Whatever I am trying, I am not able to authenticate. Can you please check the files I added? I can't see anything wrong ... TIA

Show
David Mudrak added a comment - Jordan, please help I am trying to set up a trivial HTTP authentication wall in front of this new site so that only selected testers will be able to access it (it is Moodle 2.0 you know so I do not want to have it public). Whatever I am trying, I am not able to authenticate. Can you please check the files I added? I can't see anything wrong ... TIA
Hide
Jordan Tomkinson added a comment -

Fixed as per our dev chat conversation

Show
Jordan Tomkinson added a comment - Fixed as per our dev chat conversation
Hide
David Mudrak added a comment -

Hi Jordan, me again (sorry)

/usr/bin/git-ls-remote: line 30: expr: command not found
/usr/bin/git-ls-remote: line 101: sort: command not found

apparently a jail issue. Is it solvable?

Show
David Mudrak added a comment - Hi Jordan, me again (sorry)
/usr/bin/git-ls-remote: line 30: expr: command not found
/usr/bin/git-ls-remote: line 101: sort: command not found
apparently a jail issue. Is it solvable?
Hide
Jordan Tomkinson added a comment -

Added expr and sort to jail.

sorry about that =)

Show
Jordan Tomkinson added a comment - Added expr and sort to jail. sorry about that =)
Hide
David Mudrak added a comment -

Thanks Jordan. Let me be annoying and ask you to install "screen" there for me yet. I am going to run some CLI scripts. Also, I will nee to run some cront jobs. Would it be possible using the standared user crontabs?

Show
David Mudrak added a comment - Thanks Jordan. Let me be annoying and ask you to install "screen" there for me yet. I am going to run some CLI scripts. Also, I will nee to run some cront jobs. Would it be possible using the standared user crontabs?
Hide
Jordan Tomkinson added a comment -

I have installed screen in the jail, but it has the setuid root bit removed so im not sure how well it will work
I have done extension research into running crontab via chroot and it seems a no-goer.
if its the moodle cron you want running i can put that in with the other sites

Show
Jordan Tomkinson added a comment - I have installed screen in the jail, but it has the setuid root bit removed so im not sure how well it will work I have done extension research into running crontab via chroot and it seems a no-goer. if its the moodle cron you want running i can put that in with the other sites
Hide
David Mudrak added a comment -

Jordan, I am running into various issues with running AMOS scripts at server8.moodle.com

  • php+cli does not seem to be set up (mysqli driver not present) so I can't test my scripts now. I need unlimited execution time there for some initial tasks
  • because Apache sees the $CFG->dirroot other than I do, it is a bit difficult to prepare the environment for both CLI and web interface
  • AMOS was tuned at Postgres and I can't guarantee performance at MySQLi at the moment
  • as discussed above, I am unable to control my crontabs manually on my own

Can you think of some ways around? Thanks and sorry for annoying requests (I'll buy you a beer once we meet )

Show
David Mudrak added a comment - Jordan, I am running into various issues with running AMOS scripts at server8.moodle.com
  • php+cli does not seem to be set up (mysqli driver not present) so I can't test my scripts now. I need unlimited execution time there for some initial tasks
  • because Apache sees the $CFG->dirroot other than I do, it is a bit difficult to prepare the environment for both CLI and web interface
  • AMOS was tuned at Postgres and I can't guarantee performance at MySQLi at the moment
  • as discussed above, I am unable to control my crontabs manually on my own
Can you think of some ways around? Thanks and sorry for annoying requests (I'll buy you a beer once we meet )
Hide
David Mudrak added a comment -

ah, and that screen thing does not work Maybe creating /var/run could help as it creates /var/run/screen directory for own purposes

Show
David Mudrak added a comment - ah, and that screen thing does not work Maybe creating /var/run could help as it creates /var/run/screen directory for own purposes
Hide
David Mudrak added a comment -

I will need more recent git installed on that machine. I have 1.6.4.4 on my laptop and AMOS import scripts work there. server8 has 1.5.x and "git-whatchanged" does not understand my --format option.

Also, I realized that AMOS is much much slower when running at MySQL 5.0.84 compared to my Postgres 8.3. I can't report performance of server8 yet because of th git issue (without git I am unable to import strings into DB)

Show
David Mudrak added a comment - I will need more recent git installed on that machine. I have 1.6.4.4 on my laptop and AMOS import scripts work there. server8 has 1.5.x and "git-whatchanged" does not understand my --format option. Also, I realized that AMOS is much much slower when running at MySQL 5.0.84 compared to my Postgres 8.3. I can't report performance of server8 yet because of th git issue (without git I am unable to import strings into DB)
Hide
David Mudrak added a comment -

BTW I would like to talk about that jail thing at server8. I am not sure it really works...

Show
David Mudrak added a comment - BTW I would like to talk about that jail thing at server8. I am not sure it really works...
Hide
David Mudrak added a comment -

ping! how are we with the new server for AMOS?

Show
David Mudrak added a comment - ping! how are we with the new server for AMOS?
Hide
Jordan Tomkinson added a comment -

New server is up and running

Show
Jordan Tomkinson added a comment - New server is up and running

People

Vote (0)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: