4.2.2 Upgrade - Not able to access pages

35 views
Skip to first unread message

Alex

unread,
Jan 3, 2018, 10:31:05 PM1/3/18
to dotCMS User Group
Hi,

After upgrade I am unable to access the pages via the Pages (left menu) and the front end.  I get no errors.  Any idea what happened and how to fix it?  I can view all content types with their respective urls.

Or, should I run the upgrade again? I also noticed that I have 21 more pages than what I had in my original instance of 3.7.1. I learned that by looking at the number of entries that the structure has on the content type interface.

Thanks 


Alex 


Alex

unread,
Jan 3, 2018, 10:47:25 PM1/3/18
to dotCMS User Group
Sorry, I wanted to add that I get 404 errors when I try to view a page via the front end. Thank you!

Xander Steinmann

unread,
Jan 4, 2018, 2:19:46 AM1/4/18
to dotCMS User Group
Isn't that the 'Legacy pages' portlet? You can't use that any more. Try to find your pages in the browser- or in the content portlet.

Kind regards,

Xander

Op donderdag 4 januari 2018 04:47:25 UTC+1 schreef Alex:

Alex

unread,
Jan 4, 2018, 8:00:00 AM1/4/18
to dotCMS User Group
Xander,

Thank you, you are right!  I will disable that portlet then.

Now, do you know why I get 404 errors on all pages in the front end?  I check permissions on the page structure and it is set to CMS anonymous so they should display.  Any suggestions?

Thank you,

Alex

Chris Falzone

unread,
Jan 4, 2018, 10:16:56 AM1/4/18
to dot...@googlegroups.com
I take it you did a full re-index and then flushed the cache? 

--
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 post to this group, send email to dot...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/d6ef7185-b2d7-4a3a-b1f8-939de6252e3f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Alex

unread,
Jan 4, 2018, 11:04:44 AM1/4/18
to dotCMS User Group
Yes, I have done all that.  I re-indexed, deleted the dotsecure directory, rebuilt the index and I still get the 404 error.

I am getting these errors now in the tomcat logs when I access the page to edit in the back end. Part of the error states that it is a null file and does not get the title ... Any ideas?

I created a new page and I am able to access it.  It seems like the pages I can not access the pages that were imported.  But no matter what page it is I still get the error below.


ERROR business.ESContentletAPIImpl: Contentlet must not exist already

com.dotmarketing.portlets.contentlet.business.DotContentletStateException: Contentlet must not exist already

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.checkin_aroundBody98(ESContentletAPIImpl.java:2884) ~[dotcms_4.2.2_999999.jar:?]

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl$AjcClosure99.run(ESContentletAPIImpl.java:1) ~[dotcms_4.2.2_999999.jar:?]

at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149) ~[aspectjrt-1.8.10.jar:?]

at com.dotcms.aspects.aspectj.AspectJDelegateMethodInvocation.proceed(AspectJDelegateMethodInvocation.java:43) ~[dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.db.LocalTransaction.wrapReturnWithListeners(LocalTransaction.java:39) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.aspects.interceptors.WrapInTransactionMethodInterceptor.invoke(WrapInTransactionMethodInterceptor.java:23) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.aspects.aspectj.WrapInTransactionAspect.invoke(WrapInTransactionAspect.java:41) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.checkin(ESContentletAPIImpl.java:2841) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.checkin_aroundBody94(ESContentletAPIImpl.java:2800) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl$AjcClosure95.run(ESContentletAPIImpl.java:1) [dotcms_4.2.2_999999.jar:?]

at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149) [aspectjrt-1.8.10.jar:?]

at com.dotcms.aspects.aspectj.AspectJDelegateMethodInvocation.proceed(AspectJDelegateMethodInvocation.java:43) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.aspects.interceptors.CloseDBIfOpenedMethodInterceptor.invoke(CloseDBIfOpenedMethodInterceptor.java:29) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.aspects.aspectj.CloseDBIfOpenedAspect.invoke(CloseDBIfOpenedAspect.java:41) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.checkin(ESContentletAPIImpl.java:2783) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.checkin(ESContentletAPIImpl.java:2764) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.checkin_aroundBody82(ESContentletAPIImpl.java:2586) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl$AjcClosure83.run(ESContentletAPIImpl.java:1) [dotcms_4.2.2_999999.jar:?]

at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149) [aspectjrt-1.8.10.jar:?]

at com.dotcms.aspects.aspectj.AspectJDelegateMethodInvocation.proceed(AspectJDelegateMethodInvocation.java:43) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.aspects.interceptors.CloseDBIfOpenedMethodInterceptor.invoke(CloseDBIfOpenedMethodInterceptor.java:29) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.aspects.aspectj.CloseDBIfOpenedAspect.invoke(CloseDBIfOpenedAspect.java:41) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.checkin(ESContentletAPIImpl.java:2554) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.portlets.contentlet.business.ContentletAPIInterceptor.checkin(ContentletAPIInterceptor.java:165) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.portlets.calendar.business.EventFactoryImpl.findInLucene(EventFactoryImpl.java:303) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.portlets.calendar.business.EventFactoryImpl.find(EventFactoryImpl.java:133) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.portlets.calendar.business.EventAPIImpl.find(EventAPIImpl.java:89) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.portlets.calendar.viewtools.CalendarWebAPI.findEvents(CalendarWebAPI.java:141) [dotcms_4.2.2_999999.jar:?]

at sun.reflect.GeneratedMethodAccessor929.invoke(Unknown Source) ~[?:?]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_151]

at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_151]

at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:372) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:361) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:178) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:285) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:572) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:150) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:339) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:339) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.velocity.directive.DotDirective.renderTemplate(DotDirective.java:101) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.velocity.directive.DotDirective.render(DotDirective.java:81) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:216) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:339) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.Template.merge(Template.java:362) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.Template.merge(Template.java:265) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.velocity.VelocityServlet.doPreviewMode(VelocityServlet.java:830) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.velocity.VelocityServlet.service(VelocityServlet.java:239) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.velocity.ClientVelocityServlet.service(ClientVelocityServlet.java:53) [dotcms_4.2.2_999999.jar:?]

at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [servlet-api.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat-websocket.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) [catalina.jar:8.0.18]

at com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:191) [dotcms_4.2.2_999999.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:73) [dotcms_4.2.2_999999.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:73) [dotcms_4.2.2_999999.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at com.dotmarketing.cms.urlmap.filters.URLMapFilter.doFilter(URLMapFilter.java:325) [dotcms_4.2.2_999999.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at com.dotmarketing.filters.VanityURLFilter.doFilter(VanityURLFilter.java:110) [dotcms_4.2.2_999999.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at com.dotcms.repackage.org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:404) [dot.urlrewritefilter-4.0.3_2.jar:4.0.3]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:132) [dotcms_4.2.2_999999.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:90) [dotcms_4.2.2_999999.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:38) [dotcms_4.2.2_999999.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:108) [dotcms_4.2.2_999999.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) [catalina.jar:8.0.18]

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) [catalina.jar:8.0.18]

at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) [catalina.jar:8.0.18]

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142) [catalina.jar:8.0.18]

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) [catalina.jar:8.0.18]

at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610) [catalina.jar:8.0.18]

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) [catalina.jar:8.0.18]

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:516) [catalina.jar:8.0.18]

at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1086) [tomcat-coyote.jar:8.0.18]

at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:659) [tomcat-coyote.jar:8.0.18]

at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:223) [tomcat-coyote.jar:8.0.18]

at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1558) [tomcat-coyote.jar:8.0.18]

at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1515) [tomcat-coyote.jar:8.0.18]

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_151]

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_151]

at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:8.0.18]

at java.lang.Thread.run(Thread.java:748) [?:1.8.0_151]

[04/01/18 10:42:08:833 EST] ERROR business.FileAsset: null file passed in

[04/01/18 10:42:08:833 EST] ERROR business.FileAsset: null file passed in

[04/01/18 10:42:08:834 EST] ERROR business.FileAsset: Unable to get title.

[04/01/18 10:42:08:835 EST] ERROR business.FileAsset: null file passed in

[04/01/18 10:42:08:835 EST] ERROR business.FileAsset: null file passed in

[04/01/18 10:42:08:836 EST] ERROR business.FileAsset: Unable to get title.

[04/01/18 10:42:08:837 EST] ERROR business.FileAsset: null file passed in

[04/01/18 10:42:08:837 EST] ERROR business.FileAsset: null file passed in

[04/01/18 10:42:08:838 EST] ERROR business.FileAsset: Unable to get title.

Lex Medeiros

unread,
Jan 4, 2018, 11:28:43 AM1/4/18
to dot...@googlegroups.com
I also flush cache after every reindex too.

To unsubscribe from this group and stop receiving emails from it, send an email to dotcms+unsubscribe@googlegroups.com.

To post to this group, send email to dot...@googlegroups.com.

Chris Falzone

unread,
Jan 5, 2018, 10:00:25 AM1/5/18
to dot...@googlegroups.com
Were the pages old pages? You have to convert any Legacy Pages to Content Pages before the upgrade.

--
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 post to this group, send email to dot...@googlegroups.com.

Lex Medeiros

unread,
Jan 5, 2018, 10:25:42 AM1/5/18
to dot...@googlegroups.com
Chris,

When I upgraded to 3.7.1 all legacy pages were upgraded and I can see them as page content type.  How do I know is there are some that did not updated on 3.7.1?

Thanks for all your help!


Alex



To unsubscribe from this group and stop receiving emails from it, send an email to dotcms+unsubscribe@googlegroups.com.

To post to this group, send email to dot...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/7d1c0b59-3dd1-409c-b2b7-b544c0001757%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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+unsubscribe@googlegroups.com.

To post to this group, send email to dot...@googlegroups.com.

--
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+unsubscribe@googlegroups.com.

To post to this group, send email to dot...@googlegroups.com.

Chris Falzone

unread,
Jan 5, 2018, 11:57:46 AM1/5/18
to dot...@googlegroups.com
If you know 1 page that is a page asset contentlet in 3.7 and is 404ing in 4.2 then I would say that is not your problem. But you could run a sql query against the the old table in 3.7 and see if there are pages in it.  I dunno, I would suggest getting with dotCMS Support and have them assist you.  It'd be really hard to tell without getting into the DB and possibly attaching a code debugger.  

--
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 post to this group, send email to dot...@googlegroups.com.

--
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 post to this group, send email to dot...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
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 post to this group, send email to dot...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages