General help

 
 
Picture of Lluco Pons
Files missing in moodledata
 

Hi, I've recently had to rebuild a moodle setup after a hardware failure. I restored the database and part of the moodledata directory, unfortunately there are some files that where lost for good (backup issues). As a result of this I can view all the assignments, resources... but on certain occasions where there's a file missing I'm not able to load the activity (or quiz) for editing to replace the missing file by uploading a fresh copy of that image or file.

Below are some screenshots of what I'm talking about. I would like to be able to go through the activities where there are files missing and replace the files. 

 
Average of ratings: -
James Richardson
Re: Files missing in moodledata
 

Hello Lluco!

You can try checking your error logs to see if you can get the file name and the path to the file location that is missing. See Moodle link below.

http://docs.moodle.org/dev/PHP_error_logs

If you can get the path where the image is supposed to be, you can upload an image with the same name to that folder on the server to get the spreadsheet working again. Hopefully its not alot of images that are missing.

Best Regards,

James R

 

 

 
Average of ratings: -
Picture of Lluco Pons
Re: Files missing in moodledata
 

Thanks for your reply, I found that duplicating the page or activity gave me then the opportunity to edit the new item. I am them able to replace the missing files and delete the old item.

 

Sloppy, time consuming, but effective. smile

 
Average of ratings:Useful (1)
Picture of Ken Task
Re: Files missing in moodledata
Group Particularly helpful Moodlers

Thanks for posting back.  The workaround is useful - yes, not 'clean' not sleek, but when in a pinch, good to know/try!  And if anyone gets into a similar situation, hope your workaround is found!

'spirit of sharing', Ken

 
Average of ratings: -