Hello all,
I have a brand new install of Archivematica 1.18 that I am trying to do on a fresh VM of Rocky Linux 9.
I had no issues with the install itself and everything there went fine. My problem is when I then try to go to the URL of my new server on port 81 and do the initial setup. I get the initial setup page fine and fill that out, but when I hit submit I get the CSRF error.
Also when trying to access the storage portal on port 8001, I get the same error after entering the login credentials.
Everything I have read about fixing this talks about editing the production.py file, usually referenced at paths:
/usr/share/archivematica/dashboard/settings/production.py
/usr/lib/archivematica/storage-service/storage_service/settings/production.py
However neither of those files exist on my server. The only thing in /usr/share/archivematica is a subdir called virtualenvs and there is no /usr/lib/archivematica directory at all.
The only production.py files that exist are here:
/opt/archivematica/archivematica/src/archivematica/dashboard/settings/production.py
/opt/archivematica/archivematica-storage-service/src/archivematica/storage_service/storage_service/settings/production.py
They have no affect on the running site as I've tried adding the CSRF_TRUSTED_ORIGINS lines to them and restarted everything but still getting the errors.
Any suggestions on how I can fix this and start testing out the new version?
Thank you,
James