Thanks Tim. This worked for me as well. I started Tomcat before I could migrate the database or create the administrator. Cheers!
On Thursday, 10 September 2015 00:15:01 UTC+3, Tim Donohue wrote: > > Hi Chris, > > This is a known issue that occurs when you start Tomcat prior to running > 'create-administrator' when doing a fresh install of DSpace 5.x. It's a > "race condition" that only occurs when certain webapps (namely OAI, REST or > RDF) load prior to the Administrator group being created. It's described > in more detail here: > > https://jira.duraspace.org/browse/DS-2408 > > A fix is already posted at https://github.com/DSpace/DSpace/pull/1008. > There's also an easy workaround. Simply do the following: > 1. Stop Tomcat > 2. Clean the database (./dspace database clean)...which resets it to an > entirely empty database. (Warning, this will wipe all data from your > database, but since this is a fresh install, there shouldn't be anything in > there yet) > 3. Create the Administrator account first (./dspace create-administrator) > 4. Then restart Tomcat > > This bug should be fixed in the next release of DSpace. > > - Tim > > On 9/9/2015 4:02 PM, Chris Gray wrote: > > I'm having the same error on a fresh install of DSpace 5.3 after > downloading > https://github.com/DSpace/DSpace/releases/download/dspace-5.3/dspace-5.3-src-release.zip. > > I get no errors until I try to create an administrator. > > I've run bin/dspace database migrate (twice, just to be sure). In psql I > see the tables, but the epersongroup table is empty. > > Which file in the distribution does the initial population of the database > tables? The last_value of epersongroup_seq is 0, so the first group was > never created and it hasn't been deleted. > > Chris Gray > > On Wednesday, August 26, 2015 at 1:46:43 PM UTC-4, Alain Tschanz wrote: >> >> I successfully installed DSpace 5 RC 3 on CentOS 6.5 (x64) when I try to >> create an administrator account I get the following error message: >> >> >> >> ./dspace create-administrator >> Creating an initial administrator account >> E-mail address: [email protected] >> First name: John >> Last name: Doe >> Password will not display on screen. >> Password: >> Again to confirm: >> Is the above data correct? (y or n): y >> Exception: Error, no admin group (group 1) found >> java.lang.IllegalStateException: Error, no admin group (group 1) found >> at >> org.dspace.administer.CreateAdministrator.createAdministrator(CreateAdministrator.java:238) >> at >> org.dspace.administer.CreateAdministrator.negotiateAdministratorDetails(CreateAdministrator.java:206) >> at >> org.dspace.administer.CreateAdministrator.main(CreateAdministrator.java:82) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >> at java.lang.reflect.Method.invoke(Method.java:483) >> at >> org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:225) >> at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:77) >> >> >> >> >> >> Alain Tschanz >> >> >> > -- > 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] <javascript:>. > To post to this group, send email to [email protected] > <javascript:>. > Visit this group at http://groups.google.com/group/dspace-tech. > For more options, visit https://groups.google.com/d/optout. > > > -- > Tim Donohue > Technical Lead for DSpace & DSpaceDirect > DuraSpace.org | DSpace.org | DSpaceDirect.org > > -- 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 post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.
