java - dspace create-administrator fails -


i working on installing dspace 6.1 src release. on suse 12.2. have followed installation instructions carefully, followed ideas in this post, , cleaned-reinstalled-retried create-administrator script , user script numerous times yesterday , today. same error:

dspace@mycomputer:~/dspace_install> bin/dspace create-administrator exception: schema validator returned: unable create requested  service [org.hibernate.engine.spi.cacheimplementor] org.dspace.core.exception.databaseschemavalidationexception:  schema validator returned: unable create requested service  [org.hibernate.engine.spi.cacheimplementor]     @ org.dspace.core.context.init(context.java:170)     @ org.dspace.core.context.<init>(context.java:126)     @ org.dspace.administer.createadministrator.<init> (createadministrator.java:101)     @ (org.dspace.administer.createadministrator.main(createadministrator.java:70) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:62) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:498) @ org.dspace.app.launcher.scriptlauncher.runonecommand(scriptlauncher.java:229) @ org.dspace.app.launcher.scriptlauncher.main(scriptlauncher.java:81) 

i have not found error anywhere online. closest posting 2015 above. database did not have default entries in epersongroup table, added entries suggested post above (add 'anonymous' , 'administrator' groups). still getting same error.

i grateful help!

since error reports issue database schema, recommend following.

run following command see status of database schema

bin/dspace database info 

you see output following

+----------------+-----------------------------------------------------+---------------------+---------+ | version        | description                                         | installed on        | state   | +----------------+-----------------------------------------------------+---------------------+---------+ | 1              | << flyway baseline >>                               | 2017-07-25 18:26:49 | baselin | | 1.1            | initial dspace 1.1 database schema                  | 2017-07-25 18:26:50 | success | | 1.2            | upgrade dspace 1.2 schema                        | 2017-07-25 18:26:50 | success | | 1.3            | upgrade dspace 1.3 schema                        | 2017-07-25 18:26:50 | success | | 1.3.9          | drop constraint dspace 1 4 schema               | 2017-07-25 18:26:50 | success | | 1.4            | upgrade dspace 1.4 schema                        | 2017-07-25 18:26:50 | success | | 1.5            | upgrade dspace 1.5 schema                        | 2017-07-25 18:26:51 | success | | 1.5.9          | drop constraint dspace 1 6 schema               | 2017-07-25 18:26:51 | success | | 1.6            | upgrade dspace 1.6 schema                        | 2017-07-25 18:26:51 | success | | 1.7            | upgrade dspace 1.7 schema                        | 2017-07-25 18:26:51 | success | | 1.8            | upgrade dspace 1.8 schema                        | 2017-07-25 18:26:51 | success | | 3.0            | upgrade dspace 3.x schema                        | 2017-07-25 18:26:51 | success | | 4.0            | upgrade dspace 4.x schema                        | 2017-07-25 18:26:51 | success | | 4.9.2015.10.26 | ds-2818 registry update                             | 2017-07-25 18:26:51 | success | | 5.0.2014.08.08 | ds-1945 helpdesk request copy                     | 2017-07-25 18:26:51 | success | | 5.0.2014.09.25 | ds 1582 metadata objects drop constraint    | 2017-07-25 18:26:51 | success | | 5.0.2014.09.26 | ds-1582 metadata objects                    | 2017-07-25 18:26:51 | success | | 5.6.2016.08.23 | ds-3097                                             | 2017-07-25 18:26:51 | success | | 5.7.2017.04.11 | ds-3563 index metadatavalue resource type id column | 2017-07-25 18:26:51 | success | | 5.7.2017.05.05 | ds 3431 add policies basicworkflow              | 2017-07-25 18:26:51 | success | | 6.0.2015.03.06 | ds 2701 dso uuid migration                          | 2017-07-25 18:26:51 | success | | 6.0.2015.03.07 | ds-2701 hibernate migration                         | 2017-07-25 18:26:51 | success | | 6.0.2015.08.31 | ds 2701 hibernate workflow migration                | 2017-07-25 18:26:52 | success | | 6.0.2016.01.03 | ds-3024                                             | 2017-07-25 18:26:52 | success | | 6.0.2016.01.26 | ds 2188 remove dbms browse tables                   | 2017-07-25 18:26:52 | success | | 6.0.2016.02.25 | ds-3004-slow-searching-as-admin                     | 2017-07-25 18:26:52 | success | | 6.0.2016.04.01 | ds-1955 increase embargo reason                     | 2017-07-25 18:26:52 | success | | 6.0.2016.04.04 | ds-3086-oai-performance-fix                         | 2017-07-25 18:26:52 | success | | 6.0.2016.04.14 | ds-3125-fix-bundle-bitstream-delete-rights          | 2017-07-25 18:26:52 | success | | 6.0.2016.05.10 | ds-3168-fix-requestitem item id column              | 2017-07-25 18:26:52 | success | | 6.0.2016.07.21 | ds-2775                                             | 2017-07-25 18:26:52 | success | | 6.0.2016.07.26 | ds-3277 fix handle assignment                       | 2017-07-25 18:26:52 | success | | 6.0.2016.08.23 | ds-3097                                             | 2017-07-25 18:26:52 | success | | 6.1.2017.01.03 | ds 3431 add policies basicworkflow              | 2017-07-25 18:26:52 | success | +----------------+-----------------------------------------------------+---------------------+---------+ 

if see items without status of "success" run following

bin/dspace database repair 

if not see entries include release 6.1, run following command

bin/dspace database migrate 

hopefully resolve issue.


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -