So, I tried creating a new admin with an even easier password. now it 
works. Maybe there is some issue with the first few created admins. I 
located the eperson table in pgadmin 3, it shows that all of the admin 
emails are correct but i dont know about the password. Thanks for your 
time, Sir!

On Wednesday, February 9, 2022 at 2:02:36 AM UTC+8 Tim Donohue wrote:

> Hi,
>
> Unfortunately, we'd need more information about your setup. That error 
> message is just saying that either your email address or password was 
> incorrect.  So, you may want to double check that your email is really 
> "myemail" (which appears to be what you entered), and make sure you typed 
> the password correctly. 
>
> As an example, if you call "create-administrator", you are prompted for an 
> email and a password.  If you enter the email "[email protected]" and 
> password "testing123", then you'd have to enter "[email protected]" and 
> "testing123" in the login form in order to authenticate.
>
> If this doesn't help, then you may want to also check your other log 
> files... maybe there's an second error in your Tomcat logs or Postgres logs 
> which is resulting in this login failure.  You also should verify that when 
> you call "create-administrator", no errors appear in your dspace.log (if 
> they do, then the administrative user is not being created successfully).
>
> Let us know on this list if you have further questions.
>
> Tim
>
> On Monday, February 7, 2022 at 11:40:20 PM UTC-6 [email protected] 
> wrote:
>
>> Im getting this in the logs: 
>>
>> 2022-02-08 13:38:30,228 INFO  unknown unknown 
>> org.dspace.authenticate.PasswordAuthentication @ 
>> anonymous::authenticate:attempting password auth of user="myemail"
>> 2022-02-08 13:38:30,230 INFO  unknown unknown 
>> org.dspace.app.rest.security.EPersonRestAuthenticationProvider @ 
>> anonymous::failed_login:email= "myemail"  , result=2
>> 2022-02-08 13:38:30,230 ERROR unknown unknown 
>> org.dspace.app.rest.security.StatelessLoginFilter @ Authentication failed 
>> (status:401)
>> org.springframework.security.authentication.BadCredentialsException: 
>> Login failed
>> at 
>> org.dspace.app.rest.security.EPersonRestAuthenticationProvider.authenticateNewLogin(EPersonRestAuthenticationProvider.java:129)
>>  
>> ~[classes/:7.2]
>>         at 
>> org.dspace.app.rest.security.EPersonRestAuthenticationProvider.authenticate(EPersonRestAuthenticationProvider.java:76)
>>  
>> ~[classes/:7.2]
>>         at 
>> org.springframework.security.authentication.ProviderManager.authenticate(ProviderManager.java:175)
>>  
>> ~[spring-security-core-5.2.2.RELEASE.jar:5.2.2.RELEASE]
>>         at 
>> org.dspace.app.rest.security.StatelessLoginFilter.attemptAuthentication(StatelessLoginFilter.java:74)
>>  
>> [classes/:7.2]
>>         at 
>> org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:212)
>>  
>> [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
>>         at 
>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
>>  
>> [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
>>         at 
>> org.dspace.app.rest.security.StatelessAuthenticationFilter.doFilterInternal(StatelessAuthenticationFilter.java:102)
>>  
>> [classes/:7.2]
>>         at 
>> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
>>  
>> [spring-web-5.2.5.RELEASE.jar:5.2.5.RELEASE]
>>         at 
>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
>>  
>> [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
>>         at 
>> org.springframework.security.web.csrf.CsrfFilter.doFilterInternal(CsrfFilter.java:141)
>>  
>> [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
>>         at 
>> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
>>  
>> [spring-web-5.2.5.RELEASE.jar:5.2.5.RELEASE]
>>         at 
>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
>>  
>> [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
>>         at 
>> org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:92)
>>  
>> [spring-web-5.2.5.RELEASE.jar:5.2.5.RELEASE]
>>         at 
>> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
>>  
>> [spring-web-5.2.5.RELEASE.jar:5.2.5.RELEASE]
>>         at 
>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
>>  
>> [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
>>         at 
>> org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:92)
>>  
>> [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
>>         at 
>> org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:77)
>>  
>> [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
>>         at 
>> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
>>  
>> [spring-web-5.2.5.RELEASE.jar:5.2.5.RELEASE]
>>         at 
>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
>>  
>> [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
>>         at 
>> org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)
>>  
>> [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
>>         at 
>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
>>  
>> [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
>>         at 
>> org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)
>>  
>> [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
>>         at 
>> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
>>  
>> [spring-web-5.2.5.RELEASE.jar:5.2.5.RELEASE]
>>         at 
>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
>>  
>> [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
>>         at 
>> org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215)
>>  
>> [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
>>         at 
>> org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178)
>>  
>> [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
>>         at 
>> org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:358)
>>  
>> [spring-web-5.2.5.RELEASE.jar:5.2.5.RELEASE]
>>         at 
>> org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:271)
>>  
>> [spring-web-5.2.5.RELEASE.jar:5.2.5.RELEASE]
>>         at 
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
>>  
>> [catalina.jar:9.0.58]
>>         at 
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
>>  
>> [catalina.jar:9.0.58]
>>         at 
>> org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
>>  
>> [spring-web-5.2.5.RELEASE.jar:5.2.5.RELEASE]
>>         at 
>> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
>>  
>> [spring-web-5.2.5.RELEASE.jar:5.2.5.RELEASE]
>>         at 
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
>>  
>> [catalina.jar:9.0.58]
>>         at 
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
>>  
>> [catalina.jar:9.0.58]
>>         at 
>> org.springframework.boot.web.servlet.support.ErrorPageFilter.doFilter(ErrorPageFilter.java:128)
>>  
>> [spring-boot-2.2.6.RELEASE.jar:2.2.6.RELEASE]
>>         at 
>> org.springframework.boot.web.servlet.support.ErrorPageFilter.access$000(ErrorPageFilter.java:66)
>>  
>> [spring-boot-2.2.6.RELEASE.jar:2.2.6.RELEASE]
>>         at 
>> org.springframework.boot.web.servlet.support.ErrorPageFilter$1.doFilterInternal(ErrorPageFilter.java:103)
>>  
>> [spring-boot-2.2.6.RELEASE.jar:2.2.6.RELEASE]
>>         at 
>> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
>>  
>> [spring-web-5.2.5.RELEASE.jar:5.2.5.RELEASE]
>>         at 
>> org.springframework.boot.web.servlet.support.ErrorPageFilter.doFilter(ErrorPageFilter.java:121)
>>  
>> [spring-boot-2.2.6.RELEASE.jar:2.2.6.RELEASE]
>>         at 
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
>>  
>> [catalina.jar:9.0.58]
>>         at 
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
>>  
>> [catalina.jar:9.0.58]
>>         at 
>> org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
>>  
>> [spring-web-5.2.5.RELEASE.jar:5.2.5.RELEASE]
>>         at 
>> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
>>  
>> [spring-web-5.2.5.RELEASE.jar:5.2.5.RELEASE]
>>         at 
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
>>  
>> [catalina.jar:9.0.58]
>>         at 
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
>>  
>> [catalina.jar:9.0.58]
>>         at 
>> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:103)
>>  
>> [spring-web-5.2.5.RELEASE.jar:5.2.5.RELEASE]
>>         at 
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
>>  
>> [catalina.jar:9.0.58]
>>         at 
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
>>  
>> [catalina.jar:9.0.58]
>>         at 
>> org.apache.logging.log4j.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:71)
>>  
>> [log4j-web-2.17.1.jar:2.17.1]
>>         at 
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
>>  
>> [catalina.jar:9.0.58]
>>         at 
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
>>  
>> [catalina.jar:9.0.58]
>>         at 
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)
>>  
>> [catalina.jar:9.0.58]
>>         at 
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
>>  
>> [catalina.jar:9.0.58]
>>         at 
>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540)
>>  
>> [catalina.jar:9.0.58]
>>         at 
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)
>>  
>> [catalina.jar:9.0.58]
>>         at 
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) 
>> [catalina.jar:9.0.58]
>>         at 
>> org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)
>>  
>> [catalina.jar:9.0.58]
>>         at 
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
>>  
>> [catalina.jar:9.0.58]
>>         at 
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:359) 
>> [catalina.jar:9.0.58]
>>         at 
>> org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399) 
>> [tomcat-coyote.jar:9.0.58]
>>         at 
>> org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
>>  
>> [tomcat-coyote.jar:9.0.58]
>>         at 
>> org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)
>>  
>> [tomcat-coyote.jar:9.0.58]
>>         at 
>> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1735)
>>  
>> [tomcat-coyote.jar:9.0.58]
>>         at 
>> org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
>>  
>> [tomcat-coyote.jar:9.0.58]
>>         at 
>> org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
>>  
>> [tomcat-util.jar:9.0.58]
>>         at 
>> org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
>>  
>> [tomcat-util.jar:9.0.58]
>>         at 
>> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
>>  
>> [tomcat-util.jar:9.0.58]
>>         at java.lang.Thread.run(Thread.java:833) [?:?]
>>
>> On Tuesday, February 8, 2022 at 9:13:42 AM UTC+8 Phillip jan wrote:
>>
>>> Hi! I tried to log in using the account created by 
>>> the [dspace]/bin/dspace create-administrator. Unfortunately, the same error 
>>> persists. Also, I tried to create a new administrator but the same thing 
>>> happened. 
>>>
>>> On Monday, February 7, 2022 at 11:29:46 PM UTC+8 Tim Donohue wrote:
>>>
>>>> If you have just installed DSpace 7, then no default credentials are 
>>>> provided.  You will need to create an initial administrator account first 
>>>> from commandline by running [dspace]/bin/dspace create-administrator.  See 
>>>> step 14 of the Backend Install Guide: 
>>>> https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace#InstallingDSpace-BackendInstallation
>>>>
>>>> Once you've created that initial admin, you can use that email & 
>>>> password to login to the DSpace frontend or backend.  If login isn't 
>>>> working for some reason, check the troubleshooting guide & common install 
>>>> issues:
>>>>
>>>> https://wiki.lyrasis.org/display/DSPACE/Troubleshoot+an+error#Troubleshootanerror-DSpace7.x(orabove)
>>>> and 
>>>>
>>>> https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace#InstallingDSpace-CommonInstallationIssues
>>>>
>>>> Tim
>>>>
>>>> On Sunday, February 6, 2022 at 11:55:07 AM UTC-6 [email protected] 
>>>> wrote:
>>>>
>>>>> my issue lies in the page: http://localhost:8080/server/login.html. I 
>>>>> do not know what credentials I should input to be authorized. Last time i 
>>>>> was able to login but i reinstalled dspace now i am having issues with 
>>>>> it.  
>>>>> Can anyone help me pls? Thanks.
>>>>> On Monday, February 7, 2022 at 1:45:33 AM UTC+8 Phillip jan wrote:
>>>>>
>>>>>> Hello! I tried to login to my dspace backend using my newly create 
>>>>>> administrator account in dir:  [dspace]/bin. But I cannot login. What 
>>>>>> username or password should I use to login to the dspace backend? Thank 
>>>>>> you 
>>>>>> in advance!
>>>>>
>>>>>

-- 
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/840392b6-2fa3-4d32-a775-31ef8d68de42n%40googlegroups.com.

Reply via email to