[server-admins] Forum upgrade

Troy A. Griffitts scribe at crosswire.org
Fri Feb 11 17:04:30 MST 2011


Manfred.  One of the advantages to using Firebird is that it stored it's
databases as a single portable file.  On our server these are stored in
/opt/firebird/data/ and should be accessible (maybe not).  As long as
you've stopped the forum application so no connections are open to the
database, then you can simply copy the file.  I copy and move firebird
database files around all the time.

On 02/11/2011 04:45 PM, Manfred Bergmann wrote:
> Hi.
> 
> I need to do a database upgrade for the forum database.
> Planned to do this on Sunday.
> How can I do a database backup?
> It might be enough to make a database dump of the forum database only.
> Firebird admin login data I have.
> Is there anything I need to be aware of?
> 
> 
> Manfred
>> ------------------------------------------------------------------------
>>
>> 	Manfred Bergmann <mailto:manfred.bergmann at me.com>
>> 6. Februar 2011 20:20
>>
>>
>> Great. It works now.
>>
>> Thank you,
>> Manfred
>>
>> _______________________________________________
>> server-admins mailing list
>> server-admins at crosswire.org
>> http://www.crosswire.org/mailman/listinfo/server-admins
>> ------------------------------------------------------------------------
>>
>> 	DM Smith <mailto:dmsmith at crosswire.org>
>> 6. Februar 2011 19:52
>>
>>
>> I think I've got this fixed. The problem was that tomcat sets the
>> java.io.tmpdir=$CATALINA_BASE/temp, but the directory didn't exist for
>> sites 1 - 4.
>>
>> I've created the temp directory for them.
>>
>> Let me know if it works now?
>>
>> In Him,
>> DM
>>
>>
>>
>> _______________________________________________
>> server-admins mailing list
>> server-admins at crosswire.org
>> http://www.crosswire.org/mailman/listinfo/server-admins
>> ------------------------------------------------------------------------
>>
>> 	Manfred Bergmann <mailto:manfred.bergmann at me.com>
>> 6. Februar 2011 19:27
>>
>>
>> Postponing the upgrade to early next week.
>> The procedure is unclear to whether database upgrades are necessary
>> for version 1.3 of the forum.
>> Awaiting some answers from the developers first.
>>
>> Currently we have a strange issue in the forum. The captcha image is
>> not visible. So right now no one will be able to register.
>> Found this in the logs:
>>
>> ---------------
>> 22987 ERROR [TP-Processor1] user.UserModuleProcessor - Exception in
>> UserModuleProcessor [javax.imageio.IIOException] : Can't create output
>> stream!
>> javax.imageio.IIOException: Can't create output stream!
>>     at javax.imageio.ImageIO.write(ImageIO.java:1560)
>>     at
>> com.mvnforum.common.MVNCaptchaService.writeCaptchaImage(MVNCaptchaService.java:198)
>>     at
>> com.mvnforum.user.UserModuleProcessor.process(UserModuleProcessor.java:347)
>>     at
>> com.mvnforum.user.ForumUserServlet.process(ForumUserServlet.java:185)
>>     at com.mvnforum.user.ForumUserServlet.doGet(ForumUserServlet.java:96)
>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>>     at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>>     at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>     at
>> net.myvietnam.mvncore.servlet.filter.CompressionFilter.doFilter(CompressionFilter.java:234)
>>     at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>     at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>     at
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>>     at
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>>     at
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
>>     at
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>>     at
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>>     at
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
>>     at
>> org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
>>     at
>> org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
>>     at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769)
>>     at
>> org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698)
>>     at
>> org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:891)
>>     at
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
>>     at java.lang.Thread.run(Thread.java:662)
>> Caused by: javax.imageio.IIOException: Can't create cache file!
>>     at javax.imageio.ImageIO.createImageOutputStream(ImageIO.java:397)
>>     at javax.imageio.ImageIO.write(ImageIO.java:1558)
>>     ... 24 more
>> Caused by: java.io.IOException: No such file or directory
>>     at java.io.UnixFileSystem.createFileExclusively(Native Method)
>>     at java.io.File.checkAndCreate(File.java:1704)
>>     at java.io.File.createTempFile(File.java:1792)
>>     at
>> javax.imageio.stream.FileCacheImageOutputStream.<init>(FileCacheImageOutputStream.java:71)
>>     at
>> com.sun.imageio.spi.OutputStreamImageOutputStreamSpi.createOutputStreamInstance(OutputStreamImageOutputStreamSpi.java:50)
>>     at javax.imageio.ImageIO.createImageOutputStream(ImageIO.java:393)
>>     ... 25 more
>> ---------------
>>
>>
>> Looks like the captcha image is attempted to be stored to a temp
>> folder but this fails.
>> Not sure though where mvnforum is trying to store the image.
>>
>>
>>
>> Manfred
>>
>> _______________________________________________
>> server-admins mailing list
>> server-admins at crosswire.org
>> http://www.crosswire.org/mailman/listinfo/server-admins
> 
> 
> _______________________________________________
> server-admins mailing list
> server-admins at crosswire.org
> http://www.crosswire.org/mailman/listinfo/server-admins




More information about the server-admins mailing list