Comments (5)
Haven't seen this one before. When you are using the Docker setup, all cards are searched and updated before the web server becomes available. Do you see any error messages there? Check docker-compose logs django
if you started detached. Usually, a manual python3 manage.py update_database
should not be required.
from mpc-autofill.
those are the only logs for docker-compose logs django
:
Attaching to docker_django_1
django_1 | Waiting for Postgres...
django_1 | Waiting for Elasticsearch...
django_1 | Operations to perform:
django_1 | Apply all migrations: admin, auth, blog, cardpicker, contenttypes, sessions
django_1 | Running migrations:
django_1 | No migrations to apply.
django_1 | Starting cron daemon for background updates...
django_1 | [2021-10-01 08:14:40 +0000] [1] [INFO] Starting gunicorn 20.1.0
django_1 | [2021-10-01 08:14:40 +0000] [1] [INFO] Listening at: http://0.0.0.0:8000 (1)
django_1 | [2021-10-01 08:14:40 +0000] [1] [INFO] Using worker: sync
django_1 | [2021-10-01 08:14:40 +0000] [23] [INFO] Booting worker with pid: 23
django_1 | /usr/local/lib/python3.8/dist-packages/elasticsearch/connection/base.py:208: ElasticsearchWarning: Elasticsearch built-in security features are not enabled. Without authentication, your cluster could be accessible to anyone. See https://www.elastic.co/guide/en/elasticsearch/reference/7.14/security-minimal-setup.html to enable security.
django_1 | warnings.warn(message, category=ElasticsearchWarning)
django_1 | [2021-10-01 10:29:56 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:23)
django_1 | [2021-10-01 10:29:56 +0000] [23] [INFO] Worker exiting (pid: 23)
django_1 | [2021-10-01 10:29:56 +0000] [29] [INFO] Booting worker with pid: 29
django_1 | [2021-10-01 10:54:17 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:29)
django_1 | [2021-10-01 10:54:17 +0000] [29] [INFO] Worker exiting (pid: 29)
django_1 | [2021-10-01 10:54:18 +0000] [35] [INFO] Booting worker with pid: 35
from mpc-autofill.
Looks like the first setup was already done here... Can you show the output of a fresh start with docker-compose up --build --force-recreate
?
from mpc-autofill.
This is the output from docker-compose logs django
after running docker-compose up --build -force-recreate
:
django_1 | Waiting for Postgres...
django_1 | Waiting for Elasticsearch...
django_1 | Still waiting for Elasticsearch...
django_1 | Operations to perform:
django_1 | Apply all migrations: admin, auth, blog, cardpicker, contenttypes, sessions
django_1 | Running migrations:
django_1 | No migrations to apply.
django_1 | Starting cron daemon for background updates...
django_1 | [2021-10-01 12:21:40 +0000] [1] [INFO] Starting gunicorn 20.1.0
django_1 | [2021-10-01 12:21:40 +0000] [1] [INFO] Listening at: http://0.0.0.0:8000 (1)
django_1 | [2021-10-01 12:21:40 +0000] [1] [INFO] Using worker: sync
django_1 | [2021-10-01 12:21:40 +0000] [25] [INFO] Booting worker with pid: 25
from mpc-autofill.
My bad, I though that --force-recreate
will also implicitly make sure that volumes are recreated. But seems they are persistent (have to fix this in the Readme).
If you are not using Docker for anything else, please use one of the docker_clean_all
scripts to purge your setup and force a clean start. Then docker-compose up
should rebuild everything and the logs should also contain more information.
from mpc-autofill.
Related Issues (20)
- Terminal Commands not working on MACOS HOT 5
- Left panel scrolls itself up when switching to backs for the first time in a session
- Desktop tool can't see files in OneDrive directories
- Browser stalls on image mapping step towards end of largest bracket uploads as well as paging to Backs HOT 4
- CSV format does not populate deck list HOT 1
- website card load failed HOT 4
- What servers for mpc GitHub.io HOT 1
- No images loading. Everything keeps spooling HOT 2
- JSON Error when Adding Cards HOT 1
- Inserting the image stalls at random cards. HOT 3
- Site wont let me choose card backs or add xml order HOT 2
- Card not found HOT 1
- Site seems locked in loading after submitting list HOT 2
- Website not loading card images HOT 1
- Website not working correctly. Can't search for cards. HOT 1
- Images no longer loading and Text editor submit button always disabled HOT 2
- An uncaught exception occurred: unhashable type: 'AutofillDriver' HOT 3
- Had to click on MPC Homepage before script would resume
- Can't use the tool... "invalid_grant" HOT 3
- Card Life//Death not in the database 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 mpc-autofill.