Saving space configs in storage service and stuck on Initalizing error

17 views
Skip to first unread message

Ruairi

unread,
Aug 8, 2024, 8:48:35 AMAug 8
to archivematica
Hello,

Whenever I want to change something in the storage service code, I'll run the steps:
docker compose up -d --force-recreate --build 
make bootstrap 
make restart-am-services

but then the dashboard gets stuck on Initalizing in the top right corner, and then can't connect to MCP server. The fix for this for me is to run:

make flush

 docker compose down --volumes

docker volume rm am-pipeline-data

docker volume rm ss-location-data

then remove .am

then make create-volumes from scratch and the rest of the steps.


This then causes the annoying problem of losing my processing configs/Space configs in the storage service. I think the issue is archivematica docker user not having the correct permissions once 'docker compose up -d -force-recreate -build' is ran, and the only way to resolve the permission issues is by deleting the volumes and making them again. It's a bit tedious to do this each time I make changes to archivematica. Is there a fix for this or a better way? Am I missing something?


Many thanks,

Ruairi

Reply all
Reply to author
Forward
0 new messages