+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 20

Thread: Importing Content into Moodle Problem

  Share/Bookmark
  1. #1

    Reputation
    barney's Avatar
    Join Date
    Jan 2009
    Location
    Surrey
    Posts
    35
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default 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

    Reputation

    Join Date
    Mar 2007
    Posts
    25
    Thank Post
    0
    Thanked 2 Times in 2 Posts
    Rep Power
    8

    Default Rere

    Exceeding the max php file size?

  3. #3

    Reputation
    barney's Avatar
    Join Date
    Jan 2009
    Location
    Surrey
    Posts
    35
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    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

    Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation
    ICTNUT's Avatar
    Join Date
    Jul 2005
    Location
    Hereford
    Posts
    1,146
    Thank Post
    133
    Thanked 185 Times in 71 Posts
    Rep Power
    43

    Default

    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

    Reputation
    barney's Avatar
    Join Date
    Jan 2009
    Location
    Surrey
    Posts
    35
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    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

    Reputation Reputation Reputation Reputation

    Join Date
    Dec 2007
    Location
    Preston
    Posts
    237
    Thank Post
    12
    Thanked 47 Times in 42 Posts
    Rep Power
    16

    Default

    why can you not just ftp the folder into the relevant moodle directory rather than thinking in terms of webdav?

  7. #7

    Reputation Reputation Reputation
    monkeyx's Avatar
    Join Date
    Nov 2006
    Posts
    352
    Thank Post
    8
    Thanked 48 Times in 37 Posts
    Rep Power
    17

    Default

    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

    Reputation
    barney's Avatar
    Join Date
    Jan 2009
    Location
    Surrey
    Posts
    35
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    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

    Reputation
    Reputation Reputation Reputation Reputation Reputation Reputation

    Join Date
    Feb 2007
    Location
    Northamptonshire
    Posts
    3,865
    Thank Post
    253
    Thanked 579 Times in 530 Posts
    Rep Power
    134

    Default

    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 (24-11-2009)

  11. #10

    Reputation
    barney's Avatar
    Join Date
    Jan 2009
    Location
    Surrey
    Posts
    35
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    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

    Reputation
    Reputation Reputation Reputation Reputation Reputation Reputation

    Join Date
    Feb 2007
    Location
    Northamptonshire
    Posts
    3,865
    Thank Post
    253
    Thanked 579 Times in 530 Posts
    Rep Power
    134

    Default

    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

    Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation
    apoth0r's Avatar
    Join Date
    Apr 2007
    Location
    Northants
    Posts
    1,148
    Thank Post
    119
    Thanked 173 Times in 125 Posts
    Rep Power
    42

    Default

    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

    Reputation
    barney's Avatar
    Join Date
    Jan 2009
    Location
    Surrey
    Posts
    35
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    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

    Reputation
    Reputation Reputation Reputation Reputation Reputation Reputation

    Join Date
    Feb 2007
    Location
    Northamptonshire
    Posts
    3,865
    Thank Post
    253
    Thanked 579 Times in 530 Posts
    Rep Power
    134

    Default

    Do you have a scheduled task in place running the cron.php ?

  16. #15

    Reputation
    barney's Avatar
    Join Date
    Jan 2009
    Location
    Surrey
    Posts
    35
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    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?

+ Reply to Thread
Page 1 of 2 1 2 LastLast

Thread Information

Users Browsing this Thread

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

     

Similar Threads

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

Posting Permissions

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