New First Time Fresh Installation Unable To Login Using Default Credentials

164 views
Skip to first unread message

Karias Bolster

unread,
Nov 25, 2021, 10:08:37 AM11/25/21
to dotCMS User Group
Hi,

I am exploring dotcms and tried to run it in a k8s cluster. I am using version SERVER: F91C53C2 | COMMUNITY EDITION: 21.11 - NOVEMBER 16, 2021 - and my database is postgres. I was able to make it run however when I tried to login using the default credentials ad...@dotcms.com it returns 403 forbidden. I haven't touched anything as this is a fresh new installation. Can someone please help me.

This is what it shows in the log:
25-Nov-2021 08:49:14.324 INFO [url:POST//default/api/v1/authentication | lang:1 | ip:10.179.162.4 | Admin:false | start:11-25-2021 08:49:02 UTC  ref:http://10.179.146.252/dotAdmin/] com.dotcms.repackage.org.hibernate.validator.internal.util.Version.<clinit> HV000001: Hibernate Validator 4.3.2.Final
08:49:15.022  WARN  auth.PrincipalThreadLocal - getName anonymous
08:49:15.022  WARN  auth.PrincipalThreadLocal - getName anonymous
08:49:15.057  INFO  util.SecurityLogger - class com.dotcms.cms.login.LoginServiceAPIFactory$LoginServiceImpl : User dotcms.org.1 has successfully login from IP: 10.179.162.4 -- ip:10.179.162.4,user:Admin User [ID: dotcms.org.1][email:ad...@dotcms.com]
08:49:15.120  INFO  util.SecurityLogger - class com.dotmarketing.cms.login.factories.LoginFactory : User ad...@dotcms.com has sucessfully logged in from IP: 10.179.146.5 -- ip:10.179.146.5,user:Admin User [ID: dotcms.org.1][email:ad...@dotcms.com]
08:49:15.141  INFO  util.SecurityLogger - class com.dotmarketing.cms.login.factories.LoginFactory : User ad...@dotcms.com has sucessfully logged in from IP: 10.179.165.86 -- ip:10.179.165.86,user:Admin User [ID: dotcms.org.1][email:ad...@dotcms.com]
08:49:15.162  INFO  util.SecurityLogger - class com.dotmarketing.cms.login.factories.LoginFactory : User ad...@dotcms.com has sucessfully logged in from IP: 10.179.162.4 -- ip:10.179.162.4,user:Admin User [ID: dotcms.org.1][email:ad...@dotcms.com]
08:49:15.175  INFO  util.SecurityLogger - class com.dotmarketing.cms.login.factories.LoginFactory : User ad...@dotcms.com has sucessfully logged in from IP: 10.179.146.87 -- ip:10.179.146.87,user:Admin User [ID: dotcms.org.1][email:ad...@dotcms.com]
08:49:15.215  WARN  exception.ForbiddenException - {"error":"dotcms.api.error.forbidden: null"}
com.dotcms.rest.exception.ForbiddenException: HTTP 403 Forbidden
        at com.dotcms.rest.api.v1.menu.MenuResource.getMenus(MenuResource.java:132) ~[dotcms_21.11_999999.jar:?]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
        at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
        at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
        at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326) ~[jersey-server-2.25.1.jar:?]

Dev expert

unread,
Nov 30, 2021, 8:29:37 AM11/30/21
to dotCMS User Group
We have installed the DotCMS demo on our Linux server. But it did not work properly. I am only able to logged in into the backend, but after login It is automatically reloading. 

Please advise us which we can do any specific settings or any permission need to be set to make it work properly.

Please help me as soon as possible.

Thanks

Will Ezell

unread,
Nov 30, 2021, 9:01:06 AM11/30/21
to dot...@googlegroups.com
Make sure you run against the https port - the session/login cookies are set to secure=true and will not work unless you are accessing dotCMS via https or the https port

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dotcms+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/783677e7-8b21-4bdd-af27-2f5bcadbcf45n%40googlegroups.com.


--



382 NE 191st St #92150
Miami, Florida 33179-3899
Main: 
305-900-2001 | Direct: 978.294.9429

Dev expert

unread,
Nov 30, 2021, 1:00:05 PM11/30/21
to dotCMS User Group
Here is our setup link : 
P: admin

Its on https. When you logged in you will see the menus are just redirecting to "getting start" page.

Also the frontend is giving 404.

Dev expert

unread,
Dec 1, 2021, 1:42:44 AM12/1/21
to dotCMS User Group
Can you please advise me something. so I can check that. I am not able to make the DotCMS work on our linux server. 

Getting error it is reloading automatically after login the admin and front page is showing 404 error.

Please help us to install & configire it properly on our linux server 

Karias Bolster

unread,
Dec 2, 2021, 12:37:52 AM12/2/21
to dotCMS User Group
Hi Will,

Apologies for the late reply. I tried to connect to using https and it worked. Thank you very much for your help.

Best regards,

Dev expert

unread,
Dec 2, 2021, 1:49:35 AM12/2/21
to dotCMS User Group
Hi Guys,

Please see the attached screenshot. 
After login the URLs with 'C' in the link are not working.

Anyone can advise me?

Thanks 
WhatsApp Image 2021-12-02 at 11.35.32 AM.jpeg

Karias Bolster

unread,
Dec 14, 2021, 9:20:42 PM12/14/21
to dotCMS User Group
Hi Will,

Is there a way to set secure=false? Unfortunately in our infrastructure, we don't have https in the ingress layer since we cut off https in the layer above it and we don't want to expose it outside of ingress layer.

Best regards
Reply all
Reply to author
Forward
0 new messages