Closed crowesn closed 4 years ago
@crowesn What are the steps I should follow to spin this up so I can test it?
@hortongn I'll add more to the readme;
cd
to hyrax-docker directorydocker-compose up -d --build
@hortongn Ideas about this?
bash-4.2# /opt/fits/fits.sh -i /tmp/uploads/hyrax/uploaded_file/file/1/seanCrowe_portrait_03.jpg
Sep 03, 2020 2:26:12 PM edu.harvard.hul.ois.jhove.JhoveBase init
SEVERE: Testing SEVERE level
Exception in thread "main" edu.harvard.hul.ois.fits.exceptions.FitsToolCLIException: Error calling external command line routine (Cannot run program "file": error=2, No such file or directory)
at edu.harvard.hul.ois.fits.tools.utils.CommandLine.exec(CommandLine.java:47)
at edu.harvard.hul.ois.fits.tools.fileutility.FileUtility.<init>(FileUtility.java:76)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at java.lang.Class.newInstance(Class.java:442)
at edu.harvard.hul.ois.fits.tools.ToolBelt.init(ToolBelt.java:136)
at edu.harvard.hul.ois.fits.tools.ToolBelt.<init>(ToolBelt.java:72)
at edu.harvard.hul.ois.fits.Fits.<init>(Fits.java:239)
at edu.harvard.hul.ois.fits.Fits.<init>(Fits.java:121)
at edu.harvard.hul.ois.fits.Fits.<init>(Fits.java:110)
at edu.harvard.hul.ois.fits.Fits.main(Fits.java:290)
@crowesn What version of Fits are you using? I know there are "good" versions of Fits that work well with Samvera. See https://github.com/samvera/hyrax#prerequisites
@crowesn What version of Fits are you using? I know there are "good" versions of Fits that work well with Samvera. See https://github.com/samvera/hyrax#prerequisites
1.0.5
@crowesn So far I've been able to reproduce your Cannot run program "file"
error, but have not beed able to figure it out.
Also, user and work data was preserved even after I deleted the containers and did a fresh build. So it must be using an external location to store the content.
Fixes #70
Add .dotenv file with variables for dev-mode docker build. Updated hyrax-docker submodule with directive to copy docker dotenv at build time.