Right order of steps for upgrading from 6.8.00 to 6.8.01

Hi,

I wanted to ask about the right oder of the following steps for an upgrade from 6.8.00 to 6.8.01.

  1. Copy the config directory to a tempoary directoy
  2. Install 6.8.01 to the location of 6.8.00
  3. Copy the contents of the config directory back under the newly installed 6.8.01
  4. Start Specify and perform the upgrade of the database schema
  • OR -
  1. Copy the config directory to a tempoary directoy
  2. Install 6.8.01 to the location of 6.8.00
  3. Start Specify and perform the upgrade of the database schema
  4. Copy the contents of the config directory back under the newly installed 6.8.01

(Steps 3 and 4 are switched)

My gut feeling says that the first variant is the right one, but whith this I’m getting a stack trace when trying to update the database schema (see below).

Which order of steps is the right one? The first one or the secone one (for which the error needs to be avoided).

Note: The tables deaccessionAgent , deaccessionPreparation, and deaccession are all empty.

Kind regards && many thanks in advance,

Falko Fleßner, MfN Berlin

Stack trace:

class_name: edu.ku.brc.af.core.db.DBRelationshipInfo
comments: 

stack_trace: 


java.lang.ClassNotFoundException: edu.ku.brc.specify.datamodel.DeaccessionPreparation
	at java.net.URLClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Unknown Source)
	at edu.ku.brc.af.core.db.DBRelationshipInfo.<init>(DBRelationshipInfo.java:75)
	at edu.ku.brc.af.core.db.DBTableIdMgr.initialize(DBTableIdMgr.java:244)
	at edu.ku.brc.af.core.db.DBTableIdMgr.initialize(DBTableIdMgr.java:132)
	at edu.ku.brc.af.core.db.DBTableIdMgr.getInstance(DBTableIdMgr.java:109)
	at edu.ku.brc.specify.config.SpecifyAppContextMgr.setContext(SpecifyAppContextMgr.java:1268)
	at edu.ku.brc.specify.config.SpecifyAppContextMgr.setContext(SpecifyAppContextMgr.java:1222)
	at edu.ku.brc.specify.Specify.restartApp(Specify.java:2501)
	at edu.ku.brc.specify.Specify.loggedIn(Specify.java:2950)
	at edu.ku.brc.ui.UIHelper$1DBListener.loggedIn(UIHelper.java:1859)
	at edu.ku.brc.af.ui.db.DatabaseLoginPanel.loginOK(DatabaseLoginPanel.java:1066)
	at edu.ku.brc.af.ui.db.DatabaseLoginPanel$17.finished(DatabaseLoginPanel.java:1460)
	at edu.ku.brc.helpers.SwingWorker$1.run(SwingWorker.java:127)
	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$500(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)

task_name: 
title: 
id: 20e42f7b-db91-57aa-16d1-825d52d25811--1725cd9b0f0
os_name: Windows 10
os_version: 10.0
java_version: 1.8.0_191
java_vendor: Oracle Corporation
max_memory: 3817865216
used_memory: 2765864960
user_name: Falko.Flessner
ip: 192.168.178.39
app_version: 6.8.01
collection: No Collection
discipline: No Discipline
division: No Division
institution: No Institution
Collection_number: No Collection Number
Discipline_number: No Discipline Number
Division_number: No Division Number
Institution_number: No Institution Number

Hi @FalkoFlessner,

You cannot copy the entire config directory and override the one created by Specify 6.8.01. Because this update introduces schema changes, you need to copy over the files that were modified in previous versions individually as to not override important files like the specify_datamodel.xml, specify_localization.xml for new strings introduced in the update, and several others.

Can you try to copy just the modified files from your previous installation into the new config folder after installing 6.8.01?