Hello,
I tryy to upgrade my xwiki but migration wizard is not launched and I have this error:
....
org.hibernate.HibernateException: Failed to move deleted attachments metadata to the database
org.xwiki.store.filesystem.internal.migration.R910100XWIKI14871DataMigration$1.doInHibernate(R910100XWIKI14871DataMigration.java:119)
org.xwiki.store.filesystem.internal.migration.R910100XWIKI14871DataMigration$1.doInHibernate(R910100XWIKI14871DataMigration.java:112)
com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:904)
com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1017)
org.xwiki.store.filesystem.internal.migration.R910100XWIKI14871DataMigration.hibernateMigrate(R910100XWIKI14871DataMigration.java
I read this post: https://forum.xwiki.org/t/upgrade-9-9-to-9-10-failed-to-load-component-for-type-interface-com-xpn-xwiki-store-attachmentrecyclebinstore-for-hint-file/896/32
and I wonder if I must delete all my /xxxdata_xwiki/storage/xwiki/xxxxx/~this/deleted-attachments subdirectory and ~GLOBAL_DELETED_ATTACHMENT_ID_MAPPINGS.xml file ?
I have theses settings in xwiki.cfg:
xwiki.store.attachment.hint=file
xwiki.store.attachment.recyclebin.content.hint=file
xwiki.store.attachment.recyclebin.hint=file
xwiki.store.attachment.versioning.hint=file
Thxs for any help.
Pascal B
NB: I have this issue too but I don’t think it is the cause of my issue:
14-Mar-2018 11:11:38.226 SEVERE [xwiki-dev.dom.cp2i.i2-startStop-1] org.apache.catalina.startup.ContextConfig.processAnno
tationsJar Unable to process Jar entry [module-info.class] from Jar [jar:file:/home/xwiki-dev/xwiki/WEB-INF/lib/jaxb-api-
2.3.0.jar!/] for annotations
org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 19