Blank documents after upgrade to 7.3 from 7.2

Problems with installing LogicalDOC? No problems, the solution is closer than you think.

Moderator: car031

OneLoveAmaru
Posts: 10
Joined: Thu Apr 30, 2015 3:39 pm

Blank documents after upgrade to 7.3 from 7.2

Wed Aug 19, 2015 9:59 pm

I downloaded the upgrade bundle, stopped the service, ran the mysql upgrade scripts on 01 and then 02. copied the war file into the webapps directory, started tomcat, let it finish starting, stopped it, merged the context.properties file into the new one, jdbc, etc. settings.

Everything is working fine, permissions are still there, users are still there, everything is working, EXCEPT, the 2 test files I had in there before the upgrade, download as blank documents now. I can however browse to files in the repository at the CLI and view the files just fine.

Any ideas? Did I miss something?
OneLoveAmaru
Posts: 10
Joined: Thu Apr 30, 2015 3:39 pm

Re: Blank documents after upgrade to 7.3 from 7.2

Wed Aug 19, 2015 10:01 pm

FYI, new files I upload, are not blank when I download them.
car031
Posts: 154
Joined: Tue Apr 17, 2012 8:27 am

Re: Blank documents after upgrade to 7.3 from 7.2

Fri Aug 21, 2015 6:57 am

Are you working on LogicalDOC Community or one of the commercial editions?
Please check in Administration->Settings->Repositories if the path of your repository correctly points to the folder that contains your documents
OneLoveAmaru
Posts: 10
Joined: Thu Apr 30, 2015 3:39 pm

Re: Blank documents after upgrade to 7.3 from 7.2

Mon Aug 24, 2015 4:59 pm

It's the community edition and yes the repository is pointed in the correct place.
car031
Posts: 154
Joined: Tue Apr 17, 2012 8:27 am

Re: Blank documents after upgrade to 7.3 from 7.2

Mon Aug 24, 2015 5:24 pm

click on a document, and after this look at the end of your log file repository/logs/dms.log
OneLoveAmaru
Posts: 10
Joined: Thu Apr 30, 2015 3:39 pm

Re: Blank documents after upgrade to 7.3 from 7.2

Mon Aug 24, 2015 6:26 pm

I clicked on the file and the log shows this:

/srv/LogicalDOC-Community/docs/396/493/1/doc/1.0-tile.jpg (No such file or directory)

Something is wrong because that's not the file or even the name of it.

What I did noticed is that I have /srv/LogicalDOC-Community/docs/396/493 and /srv/LogicalDOC-Community/docs/396/492. 492 has what appears to be files from before I upgraded.

I'm also seeing quite a few of these:

24.08.2015 12:45:40,355 WARN (com.logicaldoc.core.searchengine.StandardSearchEngine: 407) -- Unable to delete the index lock, this may be normal

As soon as I login, this error is being thrown:

24.08.2015 13:18:07,578 WARN (com.logicaldoc.core.security.SessionManager: 48) -- Created new session 91eb5a91-f1a0-4572-8e2d-5cad69239d29 for user 'User1'
24.08.2015 13:18:08,335 ERROR (com.logicaldoc.web.LogDownload: 83) -- java.net.SocketException: Broken pipe
org.apache.catalina.connector.ClientAbortException: java.net.SocketException: Broken pipe
at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:407)
at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:480)
at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:366)
at org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:432)
at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:420)
at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:91)
at com.logicaldoc.web.LogDownload.doGet(LogDownload.java:77)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.logicaldoc.web.CharsetFilter.doFilter(CharsetFilter.java:26)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.logicaldoc.web.SessionFilter.doFilter(SessionFilter.java:69)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:164)
"dms.log" 4959L, 598422C 4887,1 99%
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:164)
at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:141)
at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:90)
at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:417)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:957)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:620)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.net.SocketException: Broken pipe
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)
at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
at sun.security.ssl.OutputRecord.writeBuffer(OutputRecord.java:431)
at sun.security.ssl.OutputRecord.write(OutputRecord.java:417)
at sun.security.ssl.SSLSocketImpl.writeRecordInternal(SSLSocketImpl.java:876)
at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:847)
at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:123)
at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:215)
at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:480)
at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:366)
at org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWrite(InternalOutputBuffer.java:240)
at org.apache.coyote.http11.filters.IdentityOutputFilter.doWrite(IdentityOutputFilter.java:84)
at org.apache.coyote.http11.AbstractOutputBuffer.doWrite(AbstractOutputBuffer.java:192)
at org.apache.coyote.Response.doWrite(Response.java:499)
at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:402)
... 40 more
OneLoveAmaru
Posts: 10
Joined: Thu Apr 30, 2015 3:39 pm

Re: Blank documents after upgrade to 7.3 from 7.2

Mon Aug 24, 2015 6:28 pm

Obviously something is really jacked up. I can revert to 7.2 and check it out but since I am just testing, it sounds easier to just start over with a fresh install of 7.3

Return to “Installation”

Who is online

Users browsing this forum: No registered users and 2 guests