lot of data missing on initial setup with `update_all`
When I try to populate a new instance with ./bin/update_all
, a lot of data is missing compared to the sources and official memopol instance.
It may be that I am doing something wrong when trying to set up my instance however. I created a small project based on docker-compose
that reproduces the issue. The project is available here.
To reproduce the issue, clone the project and run docker-compose up
(or preferably docker-compose up > output.log
given the output size). This will create an empty database, clone the master
of memopol, and try to run what I believe to be a valid project setup for populating the DB.
The relevant section can be seen on the CMD part of the dockerfile. Please do tell me if something is wrong here that could explain the discrepancy.
Since the process is rather long, I uploaded the logfile I obtained when running the project here (please note that I intend to delete this when the issue is closed). The file is rather large (34MB, 225698 lines long) so be careful to use a decent editor when trying to open it (like vim or emacs
For comparison here are the differences in number of entries between https://memopol.lqdn.fr and my instance:
table | lqdn | mine |
---|---|---|
chambers | 3 | 3 |
constituencies | 718 | 677 |
dossiers | 16272 | 14536 |
groups | 1636 | 540 |
mandates | 83013 | 16596 |
proposals | 9337 | 7977 |
representatives | 4934 | 3660 |
votes | 161471 | 29460 |