halo-dev / halo

强大易用的开源建站工具。
https://www.halo.run
GNU General Public License v3.0
33.4k stars 9.61k forks source link

halo 1.5.1 升级到 2.14, 备份恢复失败 #5836

Closed tangxiaofeng7 closed 4 months ago

tangxiaofeng7 commented 5 months ago

系统信息

使用的哪种方式运行?

Docker

发生了什么?

看文档支持直接升级,全部备份完就重新部署了一下,没想到恢复没啥反应,看了一下日志。 备份压缩包解压格式: image application.yaml的配置数据库也是H2:

server:
  port: 8090

  # Response data gzip.
  compression:
    enabled: false
spring:
  datasource:

    # H2 database configuration.
    driver-class-name: org.h2.Driver
    url: jdbc:h2:file:~/.halo/db/halo
    username: admin
    password: 123456

    # MySQL database configuration.
#    driver-class-name: com.mysql.cj.jdbc.Driver
#    url: jdbc:mysql://127.0.0.1:3306/halodb?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
#    username: root
#    password: 123456

  # H2 database console configuration.
  h2:
    console:
      settings:
        web-allow-others: false
      path: /h2-console
      enabled: false

halo:

  # Your admin client path is https://your-domain/{admin-path}
  admin-path: admin

  # memory or level
  cache: memory

恢复失败是什么原因呢?

相关日志输出

2024-04-30T09:22:47.530+08:00  INFO 7 --- [    restartMain] r.h.a.e.index.IndexerFactoryImpl         : Start building index for type: /registry/content.halo.run/tags, please wait...
2024-04-30T09:22:47.530+08:00  INFO 7 --- [    restartMain] r.h.a.e.index.IndexerFactoryImpl         : Index for type: /registry/content.halo.run/tags built successfully, cost 0 ms
2024-04-30T09:22:47.585+08:00  INFO 7 --- [    restartMain] r.h.a.e.index.IndexerFactoryImpl         : Start building index for type: /registry/content.halo.run/snapshots, please wait...
2024-04-30T09:22:47.587+08:00  INFO 7 --- [    restartMain] r.h.a.e.index.IndexerFactoryImpl         : Index for type: /registry/content.halo.run/snapshots built successfully, cost 2 ms
2024-04-30T09:22:47.667+08:00  INFO 7 --- [    restartMain] r.h.a.e.index.IndexerFactoryImpl         : Start building index for type: /registry/content.halo.run/comments, please wait...
2024-04-30T09:22:47.668+08:00  INFO 7 --- [    restartMain] r.h.a.e.index.IndexerFactoryImpl         : Index for type: /registry/content.halo.run/comments built successfully, cost 1 ms
2024-04-30T09:22:47.678+08:00  INFO 7 --- [    restartMain] r.h.a.e.index.IndexerFactoryImpl         : Start building index for type: /registry/content.halo.run/replies, please wait...
2024-04-30T09:22:47.679+08:00  INFO 7 --- [    restartMain] r.h.a.e.index.IndexerFactoryImpl         : Index for type: /registry/content.halo.run/replies built successfully, cost 1 ms
2024-04-30T09:22:47.687+08:00  INFO 7 --- [    restartMain] r.h.a.e.index.IndexerFactoryImpl         : Start building index for type: /registry/content.halo.run/singlepages, please wait...
2024-04-30T09:22:47.688+08:00  INFO 7 --- [    restartMain] r.h.a.e.index.IndexerFactoryImpl         : Index for type: /registry/content.halo.run/singlepages built successfully, cost 1 ms
2024-04-30T09:22:47.700+08:00  INFO 7 --- [    restartMain] r.h.a.e.index.IndexerFactoryImpl         : Start building index for type: /registry/storage.halo.run/groups, please wait...
2024-04-30T09:22:47.701+08:00  INFO 7 --- [    restartMain] r.h.a.e.index.IndexerFactoryImpl         : Index for type: /registry/storage.halo.run/groups built successfully, cost 1 ms
2024-04-30T09:22:47.719+08:00  INFO 7 --- [    restartMain] r.h.a.e.index.IndexerFactoryImpl         : Start building index for type: /registry/storage.halo.run/policies, please wait...
2024-04-30T09:22:47.719+08:00  INFO 7 --- [    restartMain] r.h.a.e.index.IndexerFactoryImpl         : Index for type: /registry/storage.halo.run/policies built successfully, cost 0 ms
2024-04-30T09:22:47.741+08:00  INFO 7 --- [    restartMain] r.h.a.e.index.IndexerFactoryImpl         : Start building index for type: /registry/storage.halo.run/attachments, please wait...
2024-04-30T09:22:47.743+08:00  INFO 7 --- [    restartMain] r.h.a.e.index.IndexerFactoryImpl         : Index for type: /registry/storage.halo.run/attachments built successfully, cost 2 ms
2024-04-30T09:22:47.763+08:00  INFO 7 --- [    restartMain] r.h.a.e.index.IndexerFactoryImpl         : Start building index for type: /registry/storage.halo.run/policytemplates, please wait...
2024-04-30T09:22:47.763+08:00  INFO 7 --- [    restartMain] r.h.a.e.index.IndexerFactoryImpl         : Index for type: /registry/storage.halo.run/policytemplates built successfully, cost 0 ms
2024-04-30T09:22:47.774+08:00  INFO 7 --- [    restartMain] r.h.a.e.index.IndexerFactoryImpl         : Start building index for type: /registry/metrics.halo.run/counters, please wait...
2024-04-30T09:22:47.777+08:00  INFO 7 --- [    restartMain] r.h.a.e.index.IndexerFactoryImpl         : Index for type: /registry/metrics.halo.run/counters built successfully, cost 3 ms
2024-04-30T09:22:47.786+08:00  INFO 7 --- [    restartMain] r.h.a.e.index.IndexerFactoryImpl         : Start building index for type: /registry/auth.halo.run/authproviders, please wait...
2024-04-30T09:22:47.787+08:00  INFO 7 --- [    restartMain] r.h.a.e.index.IndexerFactoryImpl         : Index for type: /registry/auth.halo.run/authproviders built successfully, cost 1 ms
2024-04-30T09:22:47.805+08:00  INFO 7 --- [    restartMain] r.h.a.e.index.IndexerFactoryImpl         : Start building index for type: /registry/auth.halo.run/userconnections, please wait...
2024-04-30T09:22:47.805+08:00  INFO 7 --- [    restartMain] r.h.a.e.index.IndexerFactoryImpl         : Index for type: /registry/auth.halo.run/userconnections built successfully, cost 0 ms
2024-04-30T09:22:47.814+08:00  INFO 7 --- [    restartMain] r.h.a.e.index.IndexerFactoryImpl         : Start building index for type: /registry/security.halo.run/personalaccesstokens, please wait...
2024-04-30T09:22:47.814+08:00  INFO 7 --- [    restartMain] r.h.a.e.index.IndexerFactoryImpl         : Index for type: /registry/security.halo.run/personalaccesstokens built successfully, cost 0 ms
2024-04-30T09:22:47.822+08:00  INFO 7 --- [    restartMain] r.h.a.e.index.IndexerFactoryImpl         : Start building index for type: /registry/migration.halo.run/backups, please wait...
2024-04-30T09:22:47.822+08:00  INFO 7 --- [    restartMain] r.h.a.e.index.IndexerFactoryImpl         : Index for type: /registry/migration.halo.run/backups built successfully, cost 0 ms
2024-04-30T09:22:47.829+08:00  INFO 7 --- [    restartMain] r.h.a.e.index.IndexerFactoryImpl         : Start building index for type: /registry/notification.halo.run/reasontypes, please wait...
2024-04-30T09:22:47.830+08:00  INFO 7 --- [    restartMain] r.h.a.e.index.IndexerFactoryImpl         : Index for type: /registry/notification.halo.run/reasontypes built successfully, cost 1 ms
2024-04-30T09:22:47.841+08:00  INFO 7 --- [    restartMain] r.h.a.e.index.IndexerFactoryImpl         : Start building index for type: /registry/notification.halo.run/reasons, please wait...
2024-04-30T09:22:47.841+08:00  INFO 7 --- [    restartMain] r.h.a.e.index.IndexerFactoryImpl         : Index for type: /registry/notification.halo.run/reasons built successfully, cost 0 ms
2024-04-30T09:22:47.850+08:00  INFO 7 --- [    restartMain] r.h.a.e.index.IndexerFactoryImpl         : Start building index for type: /registry/notification.halo.run/notificationtemplates, please wait...
2024-04-30T09:22:47.851+08:00  INFO 7 --- [    restartMain] r.h.a.e.index.IndexerFactoryImpl         : Index for type: /registry/notification.halo.run/notificationtemplates built successfully, cost 1 ms
2024-04-30T09:22:47.859+08:00  INFO 7 --- [    restartMain] r.h.a.e.index.IndexerFactoryImpl         : Start building index for type: /registry/notification.halo.run/subscriptions, please wait...
2024-04-30T09:22:47.860+08:00  INFO 7 --- [    restartMain] r.h.a.e.index.IndexerFactoryImpl         : Index for type: /registry/notification.halo.run/subscriptions built successfully, cost 1 ms
2024-04-30T09:22:47.868+08:00  INFO 7 --- [    restartMain] r.h.a.e.index.IndexerFactoryImpl         : Start building index for type: /registry/notification.halo.run/notifierDescriptors, please wait...
2024-04-30T09:22:47.868+08:00  INFO 7 --- [    restartMain] r.h.a.e.index.IndexerFactoryImpl         : Index for type: /registry/notification.halo.run/notifierDescriptors built successfully, cost 0 ms
2024-04-30T09:22:47.875+08:00  INFO 7 --- [    restartMain] r.h.a.e.index.IndexerFactoryImpl         : Start building index for type: /registry/notification.halo.run/notifications, please wait...
2024-04-30T09:22:47.876+08:00  INFO 7 --- [    restartMain] r.h.a.e.index.IndexerFactoryImpl         : Index for type: /registry/notification.halo.run/notifications built successfully, cost 1 ms
2024-04-30T09:22:47.876+08:00  INFO 7 --- [    restartMain] r.h.a.e.ReactiveExtensionClientImpl      : Successfully built index in 850ms, Preparing to lunch application...
2024-04-30T09:22:47.876+08:00  INFO 7 --- [    restartMain] run.halo.app.Application                 : Started Application in 8.014 seconds (process running for 71.066)
2024-04-30T09:22:47.982+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:48.149+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:48.167+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:48.178+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:48.194+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:48.206+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:48.230+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:48.242+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:48.254+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:48.265+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:48.276+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:48.286+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:48.297+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:48.307+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:48.338+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:48.370+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:48.406+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:48.434+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:48.474+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:48.502+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:48.540+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:48.567+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:48.600+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:48.626+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:48.657+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:48.690+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:48.712+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:48.752+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:48.781+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:48.818+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:48.855+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:48.880+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:48.914+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:48.946+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:49.000+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:49.028+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:49.068+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:49.094+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:49.136+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:49.170+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:49.238+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:49.289+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:49.366+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:49.404+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:49.447+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:49.463+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:49.479+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:49.502+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:49.531+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:49.551+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:49.580+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:49.607+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:49.638+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:49.666+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:49.693+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:49.778+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:49.817+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:49.832+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:49.968+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:50.014+08:00  WARN 7 --- [    restartMain] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only
2024-04-30T09:22:50.043+08:00  INFO 7 --- [    restartMain] r.h.a.e.controller.DefaultController     : Starting controller garbage-collector-controller
2024-04-30T09:22:50.047+08:00  INFO 7 --- [    restartMain] r.h.a.e.controller.DefaultController     : Starting controller run.halo.app.core.extension.reconciler.RoleBindingReconciler
2024-04-30T09:22:50.054+08:00  INFO 7 --- [    restartMain] r.h.a.e.controller.DefaultController     : Starting controller run.halo.app.core.extension.reconciler.attachment.AttachmentReconciler
2024-04-30T09:22:50.055+08:00  INFO 7 --- [    restartMain] r.h.a.e.controller.DefaultController     : Starting controller run.halo.app.core.extension.reconciler.SystemSettingReconciler
2024-04-30T09:22:50.056+08:00  INFO 7 --- [    restartMain] r.h.a.e.controller.DefaultController     : Starting controller run.halo.app.core.extension.reconciler.MenuItemReconciler
2024-04-30T09:22:50.056+08:00  INFO 7 --- [    restartMain] r.h.a.e.controller.DefaultController     : Starting controller run.halo.app.core.extension.reconciler.CommentReconciler
2024-04-30T09:22:50.057+08:00  INFO 7 --- [    restartMain] r.h.a.e.controller.DefaultController     : Starting controller run.halo.app.core.extension.reconciler.PluginReconciler
2024-04-30T09:22:50.057+08:00  INFO 7 --- [    restartMain] r.h.a.e.controller.DefaultController     : Starting controller run.halo.app.migration.BackupReconciler
2024-04-30T09:22:50.057+08:00  INFO 7 --- [    restartMain] r.h.a.e.controller.DefaultController     : Starting controller run.halo.app.core.extension.reconciler.CategoryReconciler
2024-04-30T09:22:50.058+08:00  INFO 7 --- [    restartMain] r.h.a.e.controller.DefaultController     : Starting controller run.halo.app.core.extension.reconciler.PostReconciler
2024-04-30T09:22:50.058+08:00  INFO 7 --- [    restartMain] r.h.a.e.controller.DefaultController     : Starting controller run.halo.app.core.extension.reconciler.AnnotationSettingReconciler
2024-04-30T09:22:50.059+08:00  INFO 7 --- [    restartMain] r.h.a.e.controller.DefaultController     : Starting controller run.halo.app.core.extension.reconciler.UserReconciler
2024-04-30T09:22:50.059+08:00  INFO 7 --- [    restartMain] r.h.a.e.controller.DefaultController     : Starting controller run.halo.app.core.extension.reconciler.ReverseProxyReconciler
2024-04-30T09:22:50.060+08:00  INFO 7 --- [    restartMain] r.h.a.e.controller.DefaultController     : Starting controller run.halo.app.core.extension.reconciler.TagReconciler
2024-04-30T09:22:50.060+08:00  INFO 7 --- [    restartMain] r.h.a.e.controller.DefaultController     : Starting controller run.halo.app.core.extension.reconciler.ReplyReconciler
2024-04-30T09:22:50.061+08:00  INFO 7 --- [    restartMain] r.h.a.e.controller.DefaultController     : Starting controller run.halo.app.notification.NotificationTrigger
2024-04-30T09:22:50.061+08:00  INFO 7 --- [gReconciler-t-1] r.h.a.e.controller.DefaultController     : Controller worker run.halo.app.core.extension.reconciler.RoleBindingReconciler-worker-1 started
2024-04-30T09:22:50.061+08:00  INFO 7 --- [gReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Starting request(v1alpha1/RoleBinding) synchronizer...
2024-04-30T09:22:50.062+08:00  INFO 7 --- [gReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Started request(v1alpha1/RoleBinding) synchronizer.
2024-04-30T09:22:50.062+08:00  INFO 7 --- [-controller-t-9] r.h.a.e.controller.DefaultController     : Controller worker garbage-collector-controller-worker-9 started
2024-04-30T09:22:50.070+08:00  INFO 7 --- [-controller-t-2] r.h.a.e.controller.DefaultController     : Controller worker garbage-collector-controller-worker-2 started
2024-04-30T09:22:50.074+08:00  INFO 7 --- [controller-t-10] r.h.a.e.controller.DefaultController     : Controller worker garbage-collector-controller-worker-10 started
2024-04-30T09:22:50.075+08:00  INFO 7 --- [-controller-t-4] r.h.a.e.controller.DefaultController     : Controller worker garbage-collector-controller-worker-4 started
2024-04-30T09:22:50.075+08:00  INFO 7 --- [-controller-t-5] r.h.a.e.controller.DefaultController     : Controller worker garbage-collector-controller-worker-5 started
2024-04-30T09:22:50.075+08:00  INFO 7 --- [-controller-t-6] r.h.a.e.controller.DefaultController     : Controller worker garbage-collector-controller-worker-6 started
2024-04-30T09:22:50.075+08:00  INFO 7 --- [-controller-t-7] r.h.a.e.controller.DefaultController     : Controller worker garbage-collector-controller-worker-7 started
2024-04-30T09:22:50.075+08:00  INFO 7 --- [-controller-t-3] r.h.a.e.controller.DefaultController     : Controller worker garbage-collector-controller-worker-3 started
2024-04-30T09:22:50.076+08:00  INFO 7 --- [-controller-t-8] r.h.a.e.controller.DefaultController     : Controller worker garbage-collector-controller-worker-8 started
2024-04-30T09:22:50.103+08:00  INFO 7 --- [-controller-t-1] r.h.a.e.controller.DefaultController     : Controller worker garbage-collector-controller-worker-1 started
2024-04-30T09:22:50.105+08:00  INFO 7 --- [tReconciler-t-1] r.h.a.e.controller.DefaultController     : Controller worker run.halo.app.core.extension.reconciler.CommentReconciler-worker-1 started
2024-04-30T09:22:50.105+08:00  INFO 7 --- [tReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Starting request(content.halo.run/v1alpha1/Comment) synchronizer...
2024-04-30T09:22:50.105+08:00  INFO 7 --- [tReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Started request(content.halo.run/v1alpha1/Comment) synchronizer.
2024-04-30T09:22:50.106+08:00  INFO 7 --- [nReconciler-t-1] r.h.a.e.controller.DefaultController     : Controller worker run.halo.app.core.extension.reconciler.PluginReconciler-worker-1 started
2024-04-30T09:22:50.106+08:00  INFO 7 --- [nReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Starting request(plugin.halo.run/v1alpha1/Plugin) synchronizer...
2024-04-30T09:22:50.106+08:00  INFO 7 --- [nReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Started request(plugin.halo.run/v1alpha1/Plugin) synchronizer.
2024-04-30T09:22:50.107+08:00  INFO 7 --- [pReconciler-t-1] r.h.a.e.controller.DefaultController     : Controller worker run.halo.app.migration.BackupReconciler-worker-1 started
2024-04-30T09:22:50.107+08:00  INFO 7 --- [pReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Starting request(migration.halo.run/v1alpha1/Backup) synchronizer...
2024-04-30T09:22:50.107+08:00  INFO 7 --- [pReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Started request(migration.halo.run/v1alpha1/Backup) synchronizer.
2024-04-30T09:22:50.107+08:00  INFO 7 --- [yReconciler-t-1] r.h.a.e.controller.DefaultController     : Controller worker run.halo.app.core.extension.reconciler.CategoryReconciler-worker-1 started
2024-04-30T09:22:50.108+08:00  INFO 7 --- [yReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Starting request(content.halo.run/v1alpha1/Category) synchronizer...
2024-04-30T09:22:50.108+08:00  INFO 7 --- [yReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Started request(content.halo.run/v1alpha1/Category) synchronizer.
2024-04-30T09:22:50.108+08:00  INFO 7 --- [yReconciler-t-1] r.h.a.e.controller.DefaultController     : Controller worker run.halo.app.core.extension.reconciler.ReplyReconciler-worker-1 started
2024-04-30T09:22:50.108+08:00  INFO 7 --- [yReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Starting request(content.halo.run/v1alpha1/Reply) synchronizer...
2024-04-30T09:22:50.109+08:00  INFO 7 --- [yReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Started request(content.halo.run/v1alpha1/Reply) synchronizer.
2024-04-30T09:22:50.109+08:00  INFO 7 --- [tionTrigger-t-1] r.h.a.e.controller.DefaultController     : Controller worker run.halo.app.notification.NotificationTrigger-worker-1 started
2024-04-30T09:22:50.109+08:00  INFO 7 --- [tionTrigger-t-1] r.h.a.e.controller.RequestSynchronizer   : Starting request(notification.halo.run/v1alpha1/Reason) synchronizer...
2024-04-30T09:22:50.109+08:00  INFO 7 --- [tionTrigger-t-1] r.h.a.e.controller.RequestSynchronizer   : Started request(notification.halo.run/v1alpha1/Reason) synchronizer.
2024-04-30T09:22:50.110+08:00  INFO 7 --- [tReconciler-t-1] r.h.a.e.controller.DefaultController     : Controller worker run.halo.app.core.extension.reconciler.PostReconciler-worker-1 started
2024-04-30T09:22:50.110+08:00  INFO 7 --- [tReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Starting request(content.halo.run/v1alpha1/Post) synchronizer...
2024-04-30T09:22:50.110+08:00  INFO 7 --- [tReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Started request(content.halo.run/v1alpha1/Post) synchronizer.
2024-04-30T09:22:50.111+08:00  INFO 7 --- [gReconciler-t-1] r.h.a.e.controller.DefaultController     : Controller worker run.halo.app.core.extension.reconciler.AnnotationSettingReconciler-worker-1 started
2024-04-30T09:22:50.111+08:00  INFO 7 --- [gReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Starting request(v1alpha1/AnnotationSetting) synchronizer...
2024-04-30T09:22:50.111+08:00  INFO 7 --- [gReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Started request(v1alpha1/AnnotationSetting) synchronizer.
2024-04-30T09:22:50.111+08:00  INFO 7 --- [rReconciler-t-1] r.h.a.e.controller.DefaultController     : Controller worker run.halo.app.core.extension.reconciler.UserReconciler-worker-1 started
2024-04-30T09:22:50.112+08:00  INFO 7 --- [rReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Starting request(v1alpha1/User) synchronizer...
2024-04-30T09:22:50.112+08:00  INFO 7 --- [rReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Started request(v1alpha1/User) synchronizer.
2024-04-30T09:22:50.112+08:00  INFO 7 --- [yReconciler-t-1] r.h.a.e.controller.DefaultController     : Controller worker run.halo.app.core.extension.reconciler.ReverseProxyReconciler-worker-1 started
2024-04-30T09:22:50.112+08:00  INFO 7 --- [yReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Starting request(plugin.halo.run/v1alpha1/ReverseProxy) synchronizer...
2024-04-30T09:22:50.113+08:00  INFO 7 --- [yReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Started request(plugin.halo.run/v1alpha1/ReverseProxy) synchronizer.
2024-04-30T09:22:50.113+08:00  INFO 7 --- [gReconciler-t-1] r.h.a.e.controller.DefaultController     : Controller worker run.halo.app.core.extension.reconciler.TagReconciler-worker-1 started
2024-04-30T09:22:50.113+08:00  INFO 7 --- [gReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Starting request(content.halo.run/v1alpha1/Tag) synchronizer...
2024-04-30T09:22:50.114+08:00  INFO 7 --- [gReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Started request(content.halo.run/v1alpha1/Tag) synchronizer.
2024-04-30T09:22:50.061+08:00  INFO 7 --- [    restartMain] r.h.a.e.controller.DefaultController     : Starting controller run.halo.app.theme.router.SinglePageRoute
2024-04-30T09:22:50.115+08:00  INFO 7 --- [    restartMain] r.h.a.e.controller.DefaultController     : Starting controller run.halo.app.core.extension.reconciler.SinglePageReconciler
2024-04-30T09:22:50.115+08:00  INFO 7 --- [    restartMain] r.h.a.e.controller.DefaultController     : Starting controller run.halo.app.core.extension.reconciler.ThemeReconciler
2024-04-30T09:22:50.116+08:00  INFO 7 --- [    restartMain] r.h.a.e.controller.DefaultController     : Starting controller run.halo.app.core.extension.reconciler.RoleReconciler
2024-04-30T09:22:50.116+08:00  INFO 7 --- [    restartMain] r.h.a.e.controller.DefaultController     : Starting controller run.halo.app.core.extension.reconciler.AuthProviderReconciler
2024-04-30T09:22:50.149+08:00  INFO 7 --- [tReconciler-t-1] r.h.a.e.controller.DefaultController     : Controller worker run.halo.app.core.extension.reconciler.attachment.AttachmentReconciler-worker-1 started
2024-04-30T09:22:50.149+08:00  INFO 7 --- [tReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Starting request(storage.halo.run/v1alpha1/Attachment) synchronizer...
2024-04-30T09:22:50.150+08:00  INFO 7 --- [tReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Started request(storage.halo.run/v1alpha1/Attachment) synchronizer.
2024-04-30T09:22:50.150+08:00  INFO 7 --- [mReconciler-t-1] r.h.a.e.controller.DefaultController     : Controller worker run.halo.app.core.extension.reconciler.MenuItemReconciler-worker-1 started
2024-04-30T09:22:50.151+08:00  INFO 7 --- [mReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Starting request(v1alpha1/MenuItem) synchronizer...
2024-04-30T09:22:50.151+08:00  INFO 7 --- [mReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Started request(v1alpha1/MenuItem) synchronizer.
2024-04-30T09:22:50.151+08:00  INFO 7 --- [gReconciler-t-1] r.h.a.e.controller.DefaultController     : Controller worker run.halo.app.core.extension.reconciler.SystemSettingReconciler-worker-1 started
2024-04-30T09:22:50.152+08:00  INFO 7 --- [gReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Starting request(v1alpha1/ConfigMap) synchronizer...
2024-04-30T09:22:50.152+08:00  INFO 7 --- [gReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Started request(v1alpha1/ConfigMap) synchronizer.
2024-04-30T09:22:50.155+08:00  INFO 7 --- [rReconciler-t-1] r.h.a.e.controller.DefaultController     : Controller worker run.halo.app.core.extension.reconciler.AuthProviderReconciler-worker-1 started
2024-04-30T09:22:50.156+08:00  INFO 7 --- [rReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Starting request(auth.halo.run/v1alpha1/AuthProvider) synchronizer...
2024-04-30T09:22:50.156+08:00  INFO 7 --- [rReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Started request(auth.halo.run/v1alpha1/AuthProvider) synchronizer.
2024-04-30T09:22:50.158+08:00  INFO 7 --- [eReconciler-t-1] r.h.a.e.controller.DefaultController     : Controller worker run.halo.app.core.extension.reconciler.ThemeReconciler-worker-1 started
2024-04-30T09:22:50.159+08:00  INFO 7 --- [eReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Starting request(theme.halo.run/v1alpha1/Theme) synchronizer...
2024-04-30T09:22:50.159+08:00  INFO 7 --- [eReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Started request(theme.halo.run/v1alpha1/Theme) synchronizer.
2024-04-30T09:22:50.159+08:00  INFO 7 --- [eReconciler-t-1] r.h.a.e.controller.DefaultController     : Controller worker run.halo.app.core.extension.reconciler.SinglePageReconciler-worker-1 started
2024-04-30T09:22:50.160+08:00  INFO 7 --- [eReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Starting request(content.halo.run/v1alpha1/SinglePage) synchronizer...
2024-04-30T09:22:50.160+08:00  INFO 7 --- [eReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Started request(content.halo.run/v1alpha1/SinglePage) synchronizer.
2024-04-30T09:22:50.160+08:00  INFO 7 --- [eReconciler-t-1] r.h.a.e.controller.DefaultController     : Controller worker run.halo.app.core.extension.reconciler.RoleReconciler-worker-1 started
2024-04-30T09:22:50.160+08:00  INFO 7 --- [eReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Starting request(v1alpha1/Role) synchronizer...
2024-04-30T09:22:50.162+08:00  INFO 7 --- [eReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Started request(v1alpha1/Role) synchronizer.
2024-04-30T09:22:50.163+08:00  INFO 7 --- [lePageRoute-t-1] r.h.a.e.controller.DefaultController     : Controller worker run.halo.app.theme.router.SinglePageRoute-worker-1 started
2024-04-30T09:22:50.163+08:00  INFO 7 --- [lePageRoute-t-1] r.h.a.e.controller.RequestSynchronizer   : Starting request(content.halo.run/v1alpha1/SinglePage) synchronizer...
2024-04-30T09:22:50.188+08:00  INFO 7 --- [lePageRoute-t-1] r.h.a.e.controller.RequestSynchronizer   : Started request(content.halo.run/v1alpha1/SinglePage) synchronizer.
2024-04-30T09:22:50.213+08:00  INFO 7 --- [nReconciler-t-1] r.h.a.c.e.reconciler.PluginReconciler    : Loading plugin PluginCommentWidget
2024-04-30T09:22:50.217+08:00  INFO 7 --- [nReconciler-t-1] org.pf4j.AbstractPluginManager           : Plugin '/root/.halo2/plugins/PluginCommentWidget-1.9.0.jar' is disabled
2024-04-30T09:22:50.218+08:00  INFO 7 --- [nReconciler-t-1] org.pf4j.AbstractPluginManager           : Plugin 'PluginCommentWidget@1.9.0' resolved
2024-04-30T09:22:50.218+08:00  INFO 7 --- [nReconciler-t-1] r.h.a.c.e.reconciler.PluginReconciler    : Loaded plugin PluginCommentWidget
2024-04-30T09:22:50.218+08:00  INFO 7 --- [nReconciler-t-1] r.h.a.c.e.reconciler.PluginReconciler    : Initializing setting and config map for plugin PluginCommentWidget
2024-04-30T09:22:50.366+08:00  INFO 7 --- [   scheduling-1] r.h.a.s.a.login.impl.RsaKeyService       : Generated RSA keys. Usage: 3324 ms.
2024-04-30T09:22:50.495+08:00  WARN 7 --- [gReconciler-t-1] io.r2dbc.h2.H2Connection                 : Option{name='readOnly', sensitive=false} + isn't supported in H2 at the transaction level. You must set it on conenction URL. See http://www.h2database.com/html/features.html#read_only

附加信息

No response

ruibaby commented 5 months ago

没有看明白是如何恢复的,建议提供完整的步骤和配置。

tangxiaofeng7 commented 5 months ago

没有看明白是如何恢复的,建议提供完整的步骤和配置。

1.5.1备份,然后docker部署了2.14恢复备份 步骤和配置是指什么?

tangxiaofeng7 commented 4 months ago

后面看到了,1.x不支持2.x的升级

JohnNiang commented 4 months ago

建议参考文档:https://docs.halo.run/getting-started/migrate-from-1.x/

/kind support