Closed gamontoya closed 5 years ago
@rstanonik I've created the new release 4.43 for damsrepo and it was deployed to staging by the Jenkins plan. However, I am seeing the same error as what I'd seen in QA last week:
java.lang.NoSuchFieldError: CONTENT_TYPE_OVERRIDE
org.apache.tika.detect.OverrideDetector.detect(OverrideDetector.java:34)
org.apache.tika.detect.CompositeDetector.detect(CompositeDetector.java:77)
Could you delete the /usr/local/tomcat/webapps/dams folder from staging tomcat and redeploy it again? Thanks.
@rstanonik Have you got a chance to take a look at the deployment issue on staging? As what we observed in QA, I think the Jenkins plan didn't make a clean deployment and the stale jars are still there in /usr/local/tomcat/webapps/dams/WEB-INF/lib. We may need to delete the dams
folder in tomcat /usr/local/tomcat/webapps/dams. Thanks.
@lsitu I thought the problem in QA was that the branch had the stale jars. The content of WEB-INF/lib contained only the jar which came in the war. I'll check staging to see if the same thing happened.
@lsitu I just checked staging. WEB-INF/lib only contains jars which were in dams.war. It seems to have built using refs/tags/4.43. Which branch or tag should jenkins have used for staging?
@lsitu I think the problem was that jenkins had the stale jars. I change the jenkins plan to "Delete the workspace before the build starts" and I deployed again to staging. There are now fewer jars in WEB-INF/lib. Let me know if that fixed it.
I see it works now. Thanks @rstanonik.
I chnaged all of the jenkins plans to now "Delete the workspace before build starts". Buillds will be a little slower, but this problem shouldn't occur for anymore for any build.
@gamontoya I think damsrepo release 4.43 is ready for review on staging now. This will fix the PDF problem we seem eariler. @mdpeters Would you test it to see whether it works for your PDF files or not? Thank you.
@lsitu it looks like the PDF problem is fixed, at least the process we thought was being hung up by Tika isn't hanging anymore.
Thanks @mdpeters for testing it out. @gamontoya It seems like we are ready to move the new release to prod. What do you think?
@lsitu I think it's fine to push this to prod.
@gamontoya Thanks. We'll move it to prod once @mcritchlow confirms the test result of ticket https://github.com/ucsdlib/damsrepo/issues/85 on staging.
@lsitu - From the testing @mdpeters has done so far I think the fix from #85 is having a very positive effect. It's possible something else might arise in the VRR context, but I don't think you need to have that work block your deployment anymore.
@mcritchlow Okay, let's move it forward to prod then. Thanks.
@rstanonik All code changes for damsrepo release 4.43 are already in master branch and I think it's ready for prod now. Thanks.
@rstanonik Have you got a chance to deploy damsrepo release 4.43 to prod? Thanks.
Sorry, didn't notice it earlier. Deployed to prod now
Thanks @rstanonik .
Descriptive Summary
Version: 4.43
Release Manager: @lsitu
Product Owner and Reviewer: @gamontoya
Operations: @jhriv or @rstanonik
To Verify
[ ] #82 - PDF/Tika full text extraction errors
[ ] #83 - Upgrade to Tika 1.20 to fix the PDF full text extraction errors
[ ] #85 - Updated dsControlGroup with value M for content files.