+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 20
Virtual Learning Platforms Thread, Importing Content into Moodle Problem in Technical; hello all, we are in a position now where I'm wanting to import existing learning materials into Moodle, we are ...
  1. #1
    barney's Avatar
    Join Date
    Jan 2009
    Location
    Surrey
    Posts
    53
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Importing Content into Moodle Problem

    hello all,
    we are in a position now where I'm wanting to import existing learning materials into Moodle, we are talking thousands of files in hundreds of folders.
    As a test altered the maximum upload file size, created a 700 Mb zip and uploaded it no problem. When it comes to unzipping the file Moodle seems to bum out at the same point every time, without showing any error. I have checked the validity of the ZIP file itself using Winzip and WinRAR and they both report no problem.
    Does anyone have any thoughts in this or should I be looking at WebDav and drag and drop the whole lot in that way. The problem is that I don't know where to start with WebDav

  2. #2

    Join Date
    Mar 2007
    Posts
    25
    Thank Post
    0
    Thanked 3 Times in 3 Posts
    Rep Power
    16

    Rere

    Exceeding the max php file size?

  3. #3
    barney's Avatar
    Join Date
    Jan 2009
    Location
    Surrey
    Posts
    53
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Quote Originally Posted by Marc View Post
    Exceeding the max php file size?
    Pretty sure it doesn't but surely that would have prevented me uploading it in the first place?

  4. #4
    ICTNUT's Avatar
    Join Date
    Jul 2005
    Location
    Hereford
    Posts
    1,419
    Thank Post
    196
    Thanked 249 Times in 122 Posts
    Rep Power
    63
    Quote Originally Posted by barney View Post
    Pretty sure it doesn't but surely that would have prevented me uploading it in the first place?
    IIRC the default max upload size for PHP is 64Mb but this can be over ridden by moddle in the latest version to anything upto the MAX PHP size so you may not be able to upload that much anyway.

    You could also be chewing all the resources on the server, open a command sessions on the server, assuming server is linux, and run TOP, then do the upload this should be obvoius if the server is being overwhelmed.

  5. #5
    barney's Avatar
    Join Date
    Jan 2009
    Location
    Surrey
    Posts
    53
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Quote Originally Posted by ICTNUT View Post
    IIRC the default max upload size for PHP is 64Mb but this can be over ridden by moddle in the latest version to anything upto the MAX PHP size so you may not be able to upload that much anyway.

    You could also be chewing all the resources on the server, open a command sessions on the server, assuming server is linux, and run TOP, then do the upload this should be obvoius if the server is being overwhelmed.
    I don't understand your first point? The file is successfully uploaded, I can see it within the files area of my particular course. It's the unzipping of the file that isn't working.
    This is a windows box I'm not sure how to do an equivalent. For what it's worth the server is still responsive both within Windows and to other Moodle users.

  6. #6

    Join Date
    Dec 2007
    Location
    Preston
    Posts
    369
    Thank Post
    14
    Thanked 86 Times in 79 Posts
    Rep Power
    31
    why can you not just ftp the folder into the relevant moodle directory rather than thinking in terms of webdav?

  7. #7
    monkeyx's Avatar
    Join Date
    Nov 2006
    Posts
    365
    Thank Post
    8
    Thanked 52 Times in 41 Posts
    Rep Power
    26
    Quote Originally Posted by secretlife View Post
    why can you not just ftp the folder into the relevant moodle directory rather than thinking in terms of webdav?
    I second this approach. We use scp(we host on a linux server) to copy to relevant course folder in moodle. Then unzip them and create folder structures. I too got irregular behaviour unzipping large content files within moodle.

    Tim

  8. #8
    barney's Avatar
    Join Date
    Jan 2009
    Location
    Surrey
    Posts
    53
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Quote Originally Posted by monkeyx View Post
    I second this approach. We use scp(we host on a linux server) to copy to relevant course folder in moodle. Then unzip them and create folder structures. I too got irregular behaviour unzipping large content files within moodle.

    Tim
    Thanks, I have tried this and to certain degree it works fine.

  9. #9


    Join Date
    Feb 2007
    Location
    Northamptonshire
    Posts
    4,701
    Thank Post
    352
    Thanked 805 Times in 720 Posts
    Rep Power
    348
    I wonder if its exceeding the maximum execution time for a script rather than the post/upload sizes since the file is already on there.

    I'd also go for the unzip etc on the box itself approach if I'm honest.

  10. Thanks to kmount from:

    barney (24th November 2009)

  11. #10
    barney's Avatar
    Join Date
    Jan 2009
    Location
    Surrey
    Posts
    53
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Quote Originally Posted by kmount View Post
    I wonder if its exceeding the maximum execution time for a script rather than the post/upload sizes since the file is already on there.

    .
    Now that makes total sense to me! Thanks.

    Whilst we are are talking files and Moodle, am I right in think that these files won't be indexed by Moodle's Global Search??? IF so what do people do when their users want to search for files within moodle if they don't know the particular course the files are relevant to?

  12. #11


    Join Date
    Feb 2007
    Location
    Northamptonshire
    Posts
    4,701
    Thank Post
    352
    Thanked 805 Times in 720 Posts
    Rep Power
    348
    I don't know the answer to this but I had a look in the docs and there's a tick box to index files.

    Global Search set-up - MoodleDocs

    Not sure if that's it

  13. #12
    apoth0r's Avatar
    Join Date
    Apr 2007
    Location
    Northants
    Posts
    1,221
    Thank Post
    151
    Thanked 180 Times in 132 Posts
    Rep Power
    52
    It should index them, courses are refreshed often for new files. Using the ftp doesn't make them anymore invisible.
    FTP is the way forward for us admins though, feel sorry for teachers who upload file after file, I think Moodle could really do with a 'Facebook - Upload Photo' type module, where things are uploaded, you then decide what to do with each file.
    Theres still a lot of faffing in Moodle I think (although I stand by it as the platform to use)

  14. #13
    barney's Avatar
    Join Date
    Jan 2009
    Location
    Surrey
    Posts
    53
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Quote Originally Posted by apoth0r View Post
    It should index them, courses are refreshed often for new files. Using the ftp doesn't make them anymore invisible.
    FTP is the way forward for us admins though, feel sorry for teachers who upload file after file, I think Moodle could really do with a 'Facebook - Upload Photo' type module, where things are uploaded, you then decide what to do with each file.
    Theres still a lot of faffing in Moodle I think (although I stand by it as the platform to use)
    Thanks for the reply, it makes sense to me.

    What I can't fathom out is how/when the file index is updated by moodle. I have just searched for a word document i uploaded 3 hours ago and nothing -

    Searching in ...628 documents.

    0 results returned for 'workplace'.
    It took0.001035 seconds to fetch these results.


    There are now thousands of files not just 628 from yesterday

  15. #14


    Join Date
    Feb 2007
    Location
    Northamptonshire
    Posts
    4,701
    Thank Post
    352
    Thanked 805 Times in 720 Posts
    Rep Power
    348
    Do you have a scheduled task in place running the cron.php ?

  16. #15
    barney's Avatar
    Join Date
    Jan 2009
    Location
    Surrey
    Posts
    53
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Quote Originally Posted by kmount View Post
    Do you have a scheduled task in place running the cron.php ?
    No, and I don't where I would go about doing that. Help please?



SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. iTalc and importing public key problem
    By beaagledave in forum Network and Classroom Management
    Replies: 4
    Last Post: 2nd October 2009, 08:51 PM
  2. Heinemann Go Science! - Importing into Moodle
    By _techie_ in forum Virtual Learning Platforms
    Replies: 5
    Last Post: 25th June 2009, 05:02 PM
  3. Importing Users into Moodle from SIMS
    By Ric_ in forum Virtual Learning Platforms
    Replies: 16
    Last Post: 23rd January 2007, 09:34 AM
  4. Moodle Course Content
    By wesleyw in forum Virtual Learning Platforms
    Replies: 12
    Last Post: 11th November 2006, 05:06 PM
  5. Recommendations for importing users into Moodle
    By Ric_ in forum Virtual Learning Platforms
    Replies: 6
    Last Post: 9th October 2006, 11:49 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •