"[图片] [INFO ]-[2019-03-02 10:29:47]-[com.zaxxer.hikari.HikariDataSource:110]: HikariPool-1 - Starting... [INFO ]-[2019-03-02 10:29:48]-[com.zaxxer.hikari.HikariD .."

solo v3.0 升级 v3.1 失败

企业微信截图20190302104826.png

[INFO ]-[2019-03-02 10:29:47]-[com.zaxxer.hikari.HikariDataSource:110]: HikariPool-1 - Starting...
[INFO ]-[2019-03-02 10:29:48]-[com.zaxxer.hikari.HikariDataSource:123]: HikariPool-1 - Start completed.
[INFO ]-[2019-03-02 10:29:48]-[org.b3log.solo.upgrade.V300_310:60]: Upgrading from version [3.0.0] to version [3.1.0]....
[ERROR]-[2019-03-02 10:29:48]-[org.b3log.solo.upgrade.V300_310:107]: Upgrade failed!
java.sql.SQLSyntaxErrorException: Duplicate column name 'articleAbstractText'
	at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120)
	at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97)
	at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
	at com.mysql.cj.jdbc.StatementImpl.executeUpdateInternal(StatementImpl.java:1354)
	at com.mysql.cj.jdbc.StatementImpl.executeLargeUpdate(StatementImpl.java:2127)
	at com.mysql.cj.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1264)
	at com.zaxxer.hikari.pool.ProxyStatement.executeUpdate(ProxyStatement.java:120)
	at com.zaxxer.hikari.pool.HikariProxyStatement.executeUpdate(HikariProxyStatement.java)
	at org.b3log.solo.upgrade.V300_310.perform(V300_310.java:72)
	at org.b3log.solo.service.UpgradeService.upgrade(UpgradeService.java:155)
	at org.b3log.solo.service.UpgradeService_$$_jvst2d6_1f._d8upgrade(UpgradeService_$$_jvst2d6_1f.java)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.b3log.latke.ioc.JavassistMethodHandler.invoke(JavassistMethodHandler.java:116)
	at org.b3log.solo.service.UpgradeService_$$_jvst2d6_1f.upgrade(UpgradeService_$$_jvst2d6_1f.java)
	at org.b3log.solo.SoloServletListener.contextInitialized(SoloServletListener.java:97)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4744)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5206)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1439)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1429)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
	at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:953)
	at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:872)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1439)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1429)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
	at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:953)
	at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
	at org.apache.catalina.core.StandardService.startInternal(StandardService.java:422)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
	at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:793)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:655)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:355)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:243)
[ERROR]-[2019-03-02 10:29:48]-[org.b3log.solo.service.UpgradeService:163]: Upgrade failed, please contact the Solo developers or reports this issue: https://github.com/b3log/solo/issues/new
java.lang.Exception: Upgrade failed from version [3.0.0] to version [3.1.0]
	at org.b3log.solo.upgrade.V300_310.perform(V300_310.java:109)
	at org.b3log.solo.service.UpgradeService.upgrade(UpgradeService.java:155)
	at org.b3log.solo.service.UpgradeService_$$_jvst2d6_1f._d8upgrade(UpgradeService_$$_jvst2d6_1f.java)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.b3log.latke.ioc.JavassistMethodHandler.invoke(JavassistMethodHandler.java:116)
	at org.b3log.solo.service.UpgradeService_$$_jvst2d6_1f.upgrade(UpgradeService_$$_jvst2d6_1f.java)
	at org.b3log.solo.SoloServletListener.contextInitialized(SoloServletListener.java:97)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4744)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5206)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1439)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1429)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
	at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:953)
	at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:872)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1439)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1429)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
	at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:953)
	at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
	at org.apache.catalina.core.StandardService.startInternal(StandardService.java:422)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
	at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:793)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:655)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:355)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:243)
Service exit with a return value of 255

感谢    关注    收藏    赞同    反对    举报    分享
4 回帖    
请输入回帖内容...
  • 88250      

    手动删一下 article 表里面的冗余字段后再重启。

    1 回复 
    感谢    赞同    反对    举报    分享       回复
  • hanzanr123            

    AAAAAa9999.jpg 哪个是冗余字段呢

    1 回复 
    感谢    赞同    反对    举报    分享       回复
  • 88250            

    报错日志里面有提示。

    1 回复 
    感谢    赞同    反对    举报    分享       回复
  • hanzanr123 1 感谢              

    3.0 升级 3.1 的时候,我直接在新版本修改配置文件,上传发布导致出错,正错的做法是: 直接老版本的配置文件直接覆盖,就没问题了,已经解决了,谢谢老大

    感谢    赞同    反对    举报    分享       回复