Bug 245750
Summary: | Automatic backup in moodle does not work | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Leopold Aichinger <linuxtrainer> |
Component: | moodle | Assignee: | Gwyn Ciesla <gwync> |
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 6 | CC: | junk |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 1.9.4-3.fc10 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-08-06 17:58:12 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Leopold Aichinger
2007-06-26 13:55:19 UTC
Check the 1.8.2-1 build in rawhide, it addresses this issue. moodle-1.8.2-1.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report. The problem with the cron file mentioned in "Additional info" in the original bug report is still there in moodle-1.9.4 The current moodle-cron on all versions is the following: #!/bin/sh [ -f /var/lock/subsys/moodle ] && [ -f /var/lock/subsys/httpd ] && /usr/bin/php /var/www/moodle/web/admin/cron.php Does this not work? Update coming for F-10 and F-9. #!/bin/sh [ -f /var/lock/subsys/moodle ] && [ -f /var/lock/subsys/httpd ] && /usr/bin/php /var/www/moodle/web/admin/cron.php This would not work, because moodle will not generate a file /var/lock/subsys/moodle (This is true for version 1.6.5-5.fc6, which I use) Perhaps newer versions will? - but I don't think so, because moodle is not a daemon and therefor not an independent process and will not be started through a SystemV-Script. (see: "Why do init scripts require lock files? by Bradford Hinson": http://www.redhat.com/magazine/008jun05/departments/tips_tricks/) The file /var/lock/subsys/httpd will generated when httpd starts, and this file will removed when httpd is stopped through the SystemV-Start/StopScript. so #!/bin/sh [ -f /var/lock/subsys/httpd ] && /usr/bin/php /var/www/moodle/web/admin/cron.php will work! moodle-1.9.4-3.fc10 has been submitted as an update for Fedora 10. http://admin.fedoraproject.org/updates/moodle-1.9.4-3.fc10 moodle-1.9.4-3.fc9 has been submitted as an update for Fedora 9. http://admin.fedoraproject.org/updates/moodle-1.9.4-3.fc9 moodle-1.9.4-3.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report. moodle-1.9.4-3.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report. |