Open dmnyu opened 3 months ago
Thank you for reporting this. I'm able to see the problem after installing both DEB and RPM packages when I try to run the collectstatic
command.
this causes the /usr/share/archivematica/virtualenvs/archivematica/bin/python manage.py collectstatic step of the package install to fail and the service to unable to start.
The installation process doesn't fail for me though. I tested with the installation scripts of the archivematica-docs
repository in new Rocky Linux 9.4 and Ubuntu 22.04 VMs.
Would you be able to share the trace of the error you get to see what I'm missing?
@replaceafill Sorry I could have described that better. The installation completes and the service starts, but I get a 502 in nginx. In nginx's error log, it's trying to load an asset. Let me reload my VM and I'll get you more thorough info. I thought it manage.py was unable to run collectstatic.
Expected behaviour owner/group /usr/lib/archivematica/storage-service/assets should be archivematica:archivematica during package installation of archivematica-storage-service
Current behaviour owner/group /usr/lib/archivematica/storage-service/assets is root:root
this causes the
/usr/share/archivematica/virtualenvs/archivematica/bin/python manage.py collectstatic
step of the package install to fail and the service to unable to start. currently using chown after install to correctSteps to reproduce install the archivematica-storage-service, view ownership /usr/lib/archivematica/storage-service/assets
Your environment (version of Archivematica, operating system, other relevant details) Tested on Rocky9.4
For Artefactual use:
Before you close this issue, you must check off the following: