Comments (6)
Hi,
Thanks for letting us know. We will try to reproduce the issue to see if the warning appears to us as well.
from bitnami-docker-moodle.
Hi,
In the first test I did, I just did this small operation inside the container.
sed -i 's|/dev/null|/tmp/test|g' /etc/cron.d/moodle
Then:
cat /tmp/test
Scheduled task complete: Incoming email pickup (tool_messageinbound\task\pickup_task)
Execute scheduled task: Cleanup event monitor events (tool_monitor\task\clean_events)
... started 10:26:02. Current memory use 25.3MB.
... used 0 dbqueries
... used 0.00020694732666016 seconds
Scheduled task complete: Cleanup event monitor events (tool_monitor\task\clean_events)
Cron script completed correctly
Cron completed at 10:26:02. Memory used 25.3MB.
Execution took 0.470763 seconds
Could you check if this is ocurring in your container as well? If so, then the problem is that the Moodle web-app is not detecting that the cron job is being executed.
from bitnami-docker-moodle.
Hi,
It would seem that the cron script is simply not running in my deployment. /tmp/test
is never created after doing what you suggest.
from bitnami-docker-moodle.
I've changed the /etc/cron.d/moodle
contents to:
*/1 * * * * echo "run" > /tmp/test2; bitnami sudo su daemon -s /bin/sh -c "/opt/bitnami/php/bin/php /opt/bitnami/moodle/admin/cli/cron.php > /tmp/test"
And even /tmp/test2
isn't created either. However, service cron status
returns cron is running
. I'm dumbfounded.
from bitnami-docker-moodle.
After some more tests, I am inclined to believe it was a permission issue due to the persistence volumes being bind-mounted rather than named volumes. Just restarting the container seems to have solved it.
To anyone that may find this issue in the future: don't try to bind-mount these volumes, and be very careful with file ownership if you do.
from bitnami-docker-moodle.
Hi,
Thanks for letting us know. Bind mounting folders is always problematic when working with docker. This is even worse in the case of non-root containers. If you find any other issues, do not hesitate to open a new ticket
from bitnami-docker-moodle.
Related Issues (20)
- Container always return error code 1 in "Running database upgrade" stage HOT 1
- Debugging moodle container using PhPStorm HOT 4
- Languages can't install HOT 9
- Cannot remove '/bitnami/moodle': Device or resource busy HOT 3
- /opt/bitnami/php/tmp is not write-able HOT 3
- Moodle - AWS - Technical issue with ports HOT 3
- Upgrade to Moodle 4 HOT 2
- Order of scripts in Dockerfile keeps swapping between revision commits HOT 3
- Issue migrating to docker HOT 3
- Update mismatch HOT 4
- Successful upgrade but restart fail HOT 3
- failed to run moodle app with External database configuration of AWS RDS from kubernetes HOT 3
- CFG->wwwroot HOT 6
- Language not suported although locale exists HOT 2
- Cannot log into web interface under login HOT 3
- Scale out activity causes users to be logged out HOT 5
- env variables have a problem HOT 3
- moodle not showing icons in Admin panel HOT 3
- Issue migrating to docker HOT 3
- File upload failed HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bitnami-docker-moodle.