memopol issueshttps://git.laquadrature.net/la-quadrature-du-net/memopol/memopol/-/issues2017-06-18T16:17:24+02:00https://git.laquadrature.net/la-quadrature-du-net/memopol/memopol/-/issues/198lot of data missing on initial setup with `update_all`2017-06-18T16:17:24+02:00jasterlot 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 crea...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](https://git.laquadrature.net/jaster/memopol-docker-test-update).
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](https://git.laquadrature.net/jaster/memopol-docker-test-update/blob/master/Dockerfile#L13-18). 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](https://cloud.jorquera.net/s/bO04giILcDzypcj) (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 :wink:).
For comparison here are the differences in number of entries between [https://memopol.lqdn.fr](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 |https://git.laquadrature.net/la-quadrature-du-net/memopol/memopol/-/issues/143Import committee votes from parltrack2017-03-23T15:24:11+01:00njoyardImport committee votes from parltrack*Created by: njoyard*
See http://parltrack.euwiki.org/dumps/ep_com_votes.json.xz
*Created by: njoyard*
See http://parltrack.euwiki.org/dumps/ep_com_votes.json.xz
2.2. New features after design v3njoyardnjoyard