aggregate icon indicating copy to clipboard operation
aggregate copied to clipboard

Improve the virtualbox Cloud-Config

Open ggalmazor opened this issue 7 years ago • 0 comments

Problem description

Aggregate WAR

The VirtualBox Cloud-Config stack should install a freshly compiled Aggregate using the -cu and -cv args of the aggregate-cli install operation.

Instead of that, we are currently pulling the latest pre-release.

Force rebuild When working locally, it's a good idea to have a freshly compiled aggregated deployed each time the server is built.

cloud-config/local-virtualbox/build.sh will build the project only if the aggregate.war file is not present.

Maybe there's no need for the clean gradle task, tough.

PostgreSQL access from the host to load db dumps

Also, it should configure PostgreSQL to allow connections from the host computer:

  - echo "listen_addresses = '*'" >> /etc/postgresql/10/main/postgresql.conf
  - echo "host    all             all             samenet               md5" >> /etc/postgresql/10/main/pg_hba.conf
  - service postgresql restart

Failure to boot after shutdown

The virtualbox vm fails to boot after shutdown

Other information

Remember to follow the instructions at https://github.com/opendatakit/aggregate/tree/master/cloud-config/virtualbox

ggalmazor avatar Feb 05 '19 11:02 ggalmazor