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 ...
-
23rd November 2009, 02:15 PM #1 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
-
-
23rd November 2009, 02:22 PM #2
- Rep Power
- 10
Rere
Exceeding the max php file size?
-
-
23rd November 2009, 02:25 PM #3 
Originally Posted by
Marc
Exceeding the max php file size?
Pretty sure it doesn't but surely that would have prevented me uploading it in the first place?
-
-
23rd November 2009, 02:30 PM #4 
Originally Posted by
barney
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.
-
-
23rd November 2009, 02:34 PM #5 
Originally Posted by
ICTNUT
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.
-
-
23rd November 2009, 06:46 PM #6 why can you not just ftp the folder into the relevant moodle directory rather than thinking in terms of webdav?
-
-
23rd November 2009, 08:46 PM #7 
Originally Posted by
secretlife
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
-
-
24th November 2009, 11:24 AM #8 
Originally Posted by
monkeyx
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.
-
-
24th November 2009, 11:27 AM #9 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.
-
Thanks to kmount from:
barney (24th November 2009)
-
24th November 2009, 11:34 AM #10 
Originally Posted by
kmount
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?
-
-
24th November 2009, 11:52 AM #11 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
-
-
24th November 2009, 12:13 PM #12 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)
-
-
24th November 2009, 12:26 PM #13 
Originally Posted by
apoth0r
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
-
-
24th November 2009, 12:34 PM #14 Do you have a scheduled task in place running the cron.php ?
-
-
24th November 2009, 12:36 PM #15 
Originally Posted by
kmount
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:
Similar Threads
-
By beaagledave in forum Network and Classroom Management
Replies: 4
Last Post: 2nd October 2009, 07:51 PM
-
By _techie_ in forum Virtual Learning Platforms
Replies: 5
Last Post: 25th June 2009, 04:02 PM
-
By Ric_ in forum Virtual Learning Platforms
Replies: 16
Last Post: 23rd January 2007, 09:34 AM
-
By wesleyw in forum Virtual Learning Platforms
Replies: 12
Last Post: 11th November 2006, 05:06 PM
-
By Ric_ in forum Virtual Learning Platforms
Replies: 6
Last Post: 9th October 2006, 10: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
-
Forum Rules