Hi,

I don't see any errors in the logs (You'd see a line that has ERROR in all caps 
if so).  So, at a glance, it sounds like the database upgrade worked.

You'd want to continue with the upgrade process per the documentation: 
https://wiki.lyrasis.org/display/DSDOC7x/Upgrading+DSpace

Obviously, you've already done the database upgrade portion, but you'd need to 
do any other upgrade portions that you have not yet done.

Tim
________________________________
From: [email protected] <[email protected]> on behalf of 
Night Librarian <[email protected]>
Sent: Tuesday, August 30, 2022 5:35 PM
To: DSpace Technical Support <[email protected]>
Subject: Re: [dspace-tech] Re: Database migrate problem while upgrading from 
4.0 to 7.2

Thank you, Tim!

I added the checksum_history table and ran the process again.  This time, the 
output is much shorter and it includes the magic word "Done"!   However, it 
also talks about some exception in thread-6.  I am also attaching the log.  
Should I be worrying about it and if not, what should be my next step?


$ sudo ./dspace database migrate ignored



Database URL: jdbc:postgresql://localhost:5432/dspace

Migrating database to latest version AND running previously "Ignored" 
migrations... (Check logs for details)

Done.

Exception in thread "Thread-6" java.lang.IllegalStateException: 
EntityManagerFactory is closed

   at 
org.hibernate.internal.SessionFactoryImpl.validateNotClosed(SessionFactoryImpl.java:548)

   at 
org.hibernate.internal.SessionFactoryImpl.getCache(SessionFactoryImpl.java:848)

   at 
org.hibernate.internal.AbstractSharedSessionContract.<init>(AbstractSharedSessionContract.java:153)

   at 
org.hibernate.internal.AbstractSessionImpl.<init>(AbstractSessionImpl.java:29)

   at org.hibernate.internal.SessionImpl.<init>(SessionImpl.java:223)

   at 
org.hibernate.internal.SessionFactoryImpl$SessionBuilderImpl.openSession(SessionFactoryImpl.java:1305)

   at 
org.hibernate.context.internal.ThreadLocalSessionContext.buildOrObtainSession(ThreadLocalSessionContext.java:144)

   at 
org.hibernate.context.internal.ThreadLocalSessionContext.currentSession(ThreadLocalSessionContext.java:94)

   at 
org.hibernate.internal.SessionFactoryImpl.getCurrentSession(SessionFactoryImpl.java:514)

   at 
org.dspace.core.HibernateDBConnection.isSessionAlive(HibernateDBConnection.java:114)

   at org.dspace.core.Context.isValid(Context.java:599)

   at 
org.dspace.storage.rdbms.DatabaseUtils$ReindexerThread.run(DatabaseUtils.java:1350)

--
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to a topic in the Google 
Groups "DSpace Technical Support" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/dspace-tech/UcAuyYjZiw4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/bd74e6bb-d6f9-48d1-97d1-2c1d5276be99n%40googlegroups.com<https://groups.google.com/d/msgid/dspace-tech/bd74e6bb-d6f9-48d1-97d1-2c1d5276be99n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/PH0PR22MB3274860114C19F17FD40146AED789%40PH0PR22MB3274.namprd22.prod.outlook.com.

Reply via email to