artefactual-labs / am-packbuild

Archivematica package building scripts
GNU General Public License v2.0
4 stars 6 forks source link

Problem: database is created by mcp-server deb package #129

Open sevein opened 6 years ago

sevein commented 6 years ago

The following command doesn't work for me:

$ sudo apt-get install -y archivematica-{dashboard,mcp-server,mcp-client}

But the following works:

$ sudo apt-get install -y archivematica-mcp-server
$ sudo apt-get install -y archivematica-dashboard
$ sudo apt-get install -y archivematica-mcp-client

@scollazo suspects that this is because MCPServer creates the database and Dashboard populates the schema and data. The problem could be solved by doing both from the same package.

scollazo commented 6 years ago

The current documentation shows a the order packages need to be installed, if we do things different, errors are expected to happen.

I like the idea of adding all database related tasks in the same package (the dashboard), but the title of this pr is missleading.

sevein commented 6 years ago

@scollazo please edit the title as you wish.

scollazo commented 6 years ago

Done