There appears to be a return of the problem encountered in December when the script to automatically change URLs of images etc from schoolmaster to school. Perhaps this is due to recent changes made to the demo sites? I am linking to the original bug report. Here is an example: http://school.demo.moodle.net/course/view.php?id=141
Matt found the trouble in the reset script (tty needed to execute purge_caches.php via sudo) and made a correction today. I am seeing correct urls now. Resolving.
David Mudrak
12 March 2014 at 20:55
@Matthew Spurrier, the following line in demoreset.sh does not seem to work as expected
I can confirm that some places (like the course section images in the course Mary reported) have wrong URL after reset. However, it's only the cache issue. Once I ran purge_caches.php manually, they are ok.
I tried to redirect the output of the script to a file rather than /dev/null but it seems to be puppetized. The other thing i noticed was that the pid file is still there even if the demoreset.sh should remove it. Which makes me think that something is not going on well with this demoreset.sh
Mary Cooch
11 March 2014 at 12:59
Assigning to @David Mudrakas he investigated it last time.
There appears to be a return of the problem encountered in December when the script to automatically change URLs of images etc from schoolmaster to school. Perhaps this is due to recent changes made to the demo sites? I am linking to the original bug report. Here is an example: http://school.demo.moodle.net/course/view.php?id=141