Closed sevein closed 6 years ago
I've been testing this out. One thing which caused it to not build was references to mysqlpool engine in the default config in the three settings files. Once this was corrected to django.db.backends.mysql
it built. I've been running it on the sample multimedia transfer and while it overall succeeded and created the AIP/DIP, a few of the jobs failed:
Validate preservation derivatives failed due to mediaconch not being installed
Characterize and extract metadata on submission documentation: java.io.FileNotFoundException: /var/archivematica/sharedDirectory/tmp/fits.sl9zrU/fits.xml (Read-only file system)
bindPid fails:
bind_pid.py: INFO 2018-01-31 11:27:23,026 archivematica.mcp.client.bind_pid:<module>:155: bind_pid called with args: {'file_uuid': 'bac397e6-c9dc-49e5-928b-96fa8f1b3a7a', 'bind_pids_switch': True}
A value for parameter naming_authority is required
bind_pid.py: INFO 2018-01-31 11:27:23,051 archivematica.mcp.client.bind_pid:main:142: A value for parameter naming_authority is required
bindPids fails:
bind_pids.py: INFO 2018-01-31 11:27:26,173 archivematica.mcp.client.bind_pids:<module>:231: bind_pids called with args: {'shared_path': '/var/archivematica/sharedDirectory/', 'bind_pids_switch': True, 'sip_uuid': '401eb2d2-eb6f-4ebc-aa7e-d7b3d7619003'}
Traceback (most recent call last):
File "/src/MCPClient/lib/clientScripts/bind_pids.py", line 232, in <module>
sys.exit(main(**vars(args)))
File "/src/MCPClient/lib/clientScripts/bind_pids.py", line 83, in wrapped
func(*_args, **kwargs)
File "/src/MCPClient/lib/clientScripts/bind_pids.py", line 215, in main
_bind_pid_to_model(mdl, shared_path, handle_config)
File "/src/MCPClient/lib/clientScripts/bind_pids.py", line 188, in _bind_pid_to_model
mdl, is_sip, shared_path, config['handle_archive_pid_source'])
KeyError: 'handle_archive_pid_source'
I am using this branch alongside the upgrade branch on storage service and built using make all ENV=dev
. I don't know if there is anything else I'm missing that might explain any of these?
@helenst that's weird, I also run into those issues and I fixed them. Maybe I didn't push -f? I've been working on this from two different computers. I'll take a look today. I've never seen that issue with FITS before. I'll take a look! Thank you. I'll keep you posted.
@sevein Could have been that I didn't update recently enough. I just pulled in the latest copy of the branch and it seemed to update so I'll try rebuilding and seeing what it does this time...
@helenst ok, building here too! Thank you.
@sevein I am still getting all of those errors after pulling in the latest version of the branch and rebuilding.
@helenst, these are my findings:
Regarding to the engine setting when I run git grep "engine ="
I only see entries using django.db.backends.mysql
. Is that different for you?
I've added e6f0a68 which installs the missing MediaConch deps. This commit was added to vanilla after I started the merge work so that's why we missed it. Once AM17 is released I will do it again to see what's missing.
bindPids: when you're prompted just respond No. It's only going to work if you pass the right config under the admin tab. Perhaps the error is a bit misleading but I believe this feature is going to be disabled once we set up the processing configuration documents again for JiscRDSS.
FITS: this should fix it! https://github.com/JiscRDSS/rdss-archivematica/pull/178
Thank you!
:+1: I think the mysql backends setting is fine now, and MediaConch installs correctly. The FITS fix also works.
RDSSARK-377 RDSSARK-434