Skip to content
This repository has been archived by the owner on Feb 21, 2020. It is now read-only.

Resetting an aelection vote

David Ruescas edited this page Jul 2, 2014 · 10 revisions
  • First follow the instructions on Resetting a tally

  • Cancel any previous existing votes

root@acbox:~# su - agora
agora@acbox:~$ workon agora-ciudadana
(agora-ciudadana) agora@acbox:~$ cd agora-ciudadana/
(agora-ciudadana) agora@acbox:~/agora-ciudadana$ ./manage.py cancel_all_votes <electionname> (this is the name that appears on the url for the election)
  • Then reset the aelection user list
root@acbox:/home/aelection# su - aelection
aelection@acbox:~$ workon agora-election
(agora-election) aelection@acbox:~$ cd agora-election/
(agora-election) aelection@acbox:~/agora-election$ cd agora_election/
(agora-election) aelection@acbox:~/agora-election/agora_election$ ./app.py --resetdb

If the last command hangs, try restarting postgresql (service postgresql restart) and then running the command again