Comments (7)
I can confirm: With the current updated images, the scheduler is started as expected.
from docker-erpnext.
Hello @paulator ,
Thank you for reporting this.
It's very possible that the issue is more related to the ERPNext migration itself than this docker container, but I will try to help you find out the root cause.
First thing that comes to my mind might be a silly question, but better safe than sorry: when you updated the docker-compose.yml
, you updated all the containers version and not just the erpnext_app
, right ? I'm not sure how ERPNext would behave if the app is in v11 but the schedulers in v10.
Next, is it possible for you to share the logs of the containers with docker-compose logs
?
If the scheduler is not running, I'm expecting to see an error message in the docker logs explaining the reason why it crashed.
Looking forward to your answer.
from docker-erpnext.
Regarding your questions:
Yes, all images are at the same version.
After resetting my complete test, I started with a blank v10 image / database and started the system with docker-compose up. In the logfile I found the following message from erpnext_app at the end of the initialization:
[app] [2019-10-21T18:58:24] Apps python packages installed
[app] [2019-10-21T18:58:24] Setup logs folders and files owner to frappe...
[app] [2019-10-21T18:58:24] Checking diagnostic info...
-----Checking scheduler status-----
Scheduler disabled for my.site
Workers online: 0
-----None Jobs-----
[app] [2019-10-21T18:58:32] Everything seems to be good with your Frappe environment and background workers.
[app] [2019-10-21T18:58:32] Starting app on port 8000...
from the scheduler I got the following logs:
[scheduler] [2019-10-21T18:58:17] Waiting apps...
[scheduler] [2019-10-21T18:58:27] Waiting for docker container init...
[scheduler] [2019-10-21T18:58:27] Waiting for frappe current site to be set...
[scheduler] [2019-10-21T18:58:27] Starting scheduler...
from docker-erpnext.
One more information: with the command
docker-compose run --rm erpnext_app bench --site all enable-scheduler
I'm able to start the scheduler...
from docker-erpnext.
Hello @paulator ,
Thank you for your answers.
We have been trying to reproduce this issue with the steps you provided without any success so far, but (luckily) we've had a test environment this week that had the exact same behavior.
We are currently testing a fix that should enable schedulers automatically after a successful bench doctor
and call it after backup, restore and migrate.
We will let you know as soon as the fix as been deployed to the docker containers.
from docker-erpnext.
I will reopen this until we can add enhancements for the custom restore function that allow to set the private and public files and automatically execute bench doctor and enable schedulers.
from docker-erpnext.
Hello @paulator,
The restore
function in the docker-frappe
has been improved to accept to set the full path of the SQL, private and public files, so everything should be good now:
docker-compose run --rm erpnext_app bench restore /path/to/backup.sql /path/to/public.zip /path/to/private.zip
I'm closing this issue but feel free to report any new issues you may find.
from docker-erpnext.
Related Issues (17)
- Adding Custom Domains to your Site HOT 1
- Please update, such as V12.6, thank you!
- Installation fails HOT 1
- [BUG] ERPNext Setup with Debian image failed HOT 6
- [Question] about bench operations HOT 1
- Database error Alpine Image HOT 1
- [HELP] connect to server from public ip is rejected HOT 1
- Authentication error after installing HOT 3
- [BUG] Site xxx does not exist HOT 1
- «Sorry! We will be back soon.» after install HOT 2
- Custom app & Multi tenancy? HOT 1
- [BUG] Redis connection to localhost:12000 failed and redis.exceptions.ConnectionError: Error 99 connecting to localhost:11000. Cannot assign requested address HOT 1
- [BUG] Module import failed for Naming Series (erpnext.setup.doctype.naming_series.naming_series Error: cannot import name 'validate_series' HOT 2
- [BUG] Bug #46: Environment variables REDIS_* are not applied to site_config.json
- Installation Instructions HOT 1
- Installation Instructions HOT 5
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 docker-erpnext.