Closed lyalexzz closed 1 year ago
解决了吗,我也报错
jiaogege123 @.***>于2023年6月27日 周二21:49写道:
解决了吗,我也报错
— Reply to this email directly, view it on GitHub https://github.com/hectorqin/reader/issues/401#issuecomment-1609548949, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQJ7CXLCEBR2WVUB2G337STXNLQF5ANCNFSM6AAAAAAZT3XI2A . You are receiving this because you authored the thread.Message ID: @.***>
我降级到3.04就可以了 3.1一直不行
我的也是,我的物理机装ubuntu就没事,我的云服装ubuntu加阅读就这样,不知道那个步骤的问题
3433761908 @.***
------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2023年6月27日(星期二) 晚上9:51 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [hectorqin/reader] 3.1版本docker-compose模式部署打开报错 (Issue #401)
jiaogege123 @.***>于2023年6月27日 周二21:49写道:
> 解决了吗,我也报错 > > — > Reply to this email directly, view it on GitHub > <" rel="noopener" target="_self">https://github.com/hectorqin/reader/issues/401#issuecomment-1609548949>;, > or unsubscribe > <" rel="noopener" target="_self">https://github.com/notifications/unsubscribe-auth/AQJ7CXLCEBR2WVUB2G337STXNLQF5ANCNFSM6AAAAAAZT3XI2A>; > . > You are receiving this because you authored the thread.Message ID: > @.***> > 我降级到3.04就可以了 3.1一直不行
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
贴一下详细日志吧
[] [scheduling-1] 14:54:00.001 INFO Ext - Read file from storage name: [data, license] path: /storage/data/license.key [] [scheduling-1] 14:59:00.001 INFO Ext - Read file from storage name: [data, license] path: /storage/data/license.key [175d3a89] [DefaultDispatcher-worker-2] 15:00:00.004 INFO YueduApi - 开始检查书架书籍更新 [175d3a89] [DefaultDispatcher-worker-2] 15:00:00.004 INFO Ext - Read file from storage name: [data, default, bookshelf] path: /storage/data/default/bookshelf.json [175d3a89] [DefaultDispatcher-worker-2] 15:00:00.007 INFO Ext - Read file from storage name: [data, users] path: /storage/data/users.json [175d3a89] [DefaultDispatcher-worker-2] 15:00:00.013 INFO Ext - Read file from storage name: [data, adminpwd, bookshelf] path: /storage/data/adminpwd/bookshelf.json [175d3a89] [DefaultDispatcher-worker-2] 15:00:00.013 INFO YueduApi - 书架书籍更新检查结束 [175d3a89] [scheduling-1] 15:04:00.001 INFO Ext - Read file from storage name: [data, license] path: /storage/data/license.key [175d3a89] [scheduling-1] 15:09:00.000 INFO Ext - Read file from storage name: [data, license] path: /storage/data/license.key [60e95773] [DefaultDispatcher-worker-2] 15:10:00.004 INFO YueduApi - 开始检查书架书籍更新 [60e95773] [DefaultDispatcher-worker-2] 15:10:00.004 INFO Ext - Read file from storage name: [data, default, bookshelf] path: /storage/data/default/bookshelf.json [60e95773] [DefaultDispatcher-worker-2] 15:10:00.004 INFO Ext - Read file from storage name: [data, users] path: /storage/data/users.json [60e95773] [DefaultDispatcher-worker-2] 15:10:00.011 INFO Ext - Read file from storage name: [data, adminpwd, bookshelf] path: /storage/data/adminpwd/bookshelf.json [60e95773] [DefaultDispatcher-worker-2] 15:10:00.011 INFO YueduApi - 书架书籍更新检查结束 [60e95773] [scheduling-1] 15:14:00.000 INFO Ext - Read file from storage name: [data, license] path: /storage/data/license.key [60e95773] [scheduling-1] 15:19:00.000 INFO Ext - Read file from storage name: [data, license] path: /storage/data/license.key [33d0834f] [DefaultDispatcher-worker-2] 15:20:00.001 INFO YueduApi - 开始检查书架书籍更新 [33d0834f] [DefaultDispatcher-worker-2] 15:20:00.002 INFO Ext - Read file from storage name: [data, default, bookshelf] path: /storage/data/default/bookshelf.json [33d0834f] [DefaultDispatcher-worker-2] 15:20:00.002 INFO Ext - Read file from storage name: [data, users] path: /storage/data/users.json [33d0834f] [DefaultDispatcher-worker-2] 15:20:00.003 INFO Ext - Read file from storage name: [data, adminpwd, bookshelf] path: /storage/data/adminpwd/bookshelf.json [33d0834f] [DefaultDispatcher-worker-2] 15:20:00.004 INFO YueduApi - 书架书籍更新检查结束 [33d0834f] [scheduling-1] 15:24:00.000 INFO Ext - Read file from storage name: [data, license] path: /storage/data/license.key [33d0834f] [scheduling-1] 15:29:00.001 INFO Ext - Read file from storage name: [data, license] path: /storage/data/license.key [b391d69c] [DefaultDispatcher-worker-2] 15:30:00.001 INFO YueduApi - 开始检查书架书籍更新 [b391d69c] [DefaultDispatcher-worker-2] 15:30:00.001 INFO Ext - Read file from storage name: [data, default, bookshelf] path: /storage/data/default/bookshelf.json [b391d69c] [DefaultDispatcher-worker-2] 15:30:00.001 INFO Ext - Read file from storage name: [data, users] path: /storage/data/users.json [b391d69c] [DefaultDispatcher-worker-2] 15:30:00.003 INFO Ext - Read file from storage name: [data, adminpwd, bookshelf] path: /storage/data/adminpwd/bookshelf.json [b391d69c] [DefaultDispatcher-worker-2] 15:30:00.003 INFO YueduApi - 书架书籍更新检查结束 [94d61610] [vert.x-eventloop-thread-0] 15:31:08.143 INFO RestVerticle - POST http://reader.007.com/reader3/saveBookSources?accessToken=adminpwd:233a2d7fe14a6af13fda66d1358375dd&v=1688455865570 [94d61610] [DefaultDispatcher-worker-2] 15:31:08.508 INFO Ext - Read file from storage name: [data, users] path: /storage/data/users.json [94d61610] [DefaultDispatcher-worker-2] 15:31:08.704 INFO Ext - Read file from storage name: [data, adminpwd, bookSource] path: /storage/data/adminpwd/bookSource.json [94d61610] [DefaultDispatcher-worker-2] 15:31:08.705 INFO Ext - Read file from storage name: [data, default, bookSource] path: /storage/data/default/bookSource.json [94d61610] [DefaultDispatcher-worker-2] 15:31:08.706 ERROR Ext - 解析内容出错: io.vertx.core.json.DecodeException: Failed to decode:No content to map due to end-of-input at [Source: (String)""; line: 1, column: 0] 内容:
[94d61610] [DefaultDispatcher-worker-2] 15:31:08.706 ERROR YueduApi - onHandlerError:
io.vertx.core.json.DecodeException: Failed to decode:No content to map due to end-of-input
at [Source: (String)""; line: 1, column: 0]
at io.vertx.core.json.jackson.JacksonCodec.fromParser(JacksonCodec.java:97)
at io.vertx.core.json.jackson.JacksonCodec.fromString(JacksonCodec.java:57)
at io.vertx.core.json.JsonArray.fromJson(JsonArray.java:845)
at io.vertx.core.json.JsonArray.
看一下 /storage/data/default/bookSource.json 这个文件的内容。注意路径
/storage/data/default,这个路径下的bookSource.json是空的
root@6c434ec12688:/storage/data/adminpwd# cat bookGroup.json [{"groupId":-1,"groupName":"全部","order":-10,"show":true},{"groupId":-2,"groupName":"本地","order":-9,"show":true},{"groupId":-3,"groupName":"音频","order":-8,"show":true},{"groupId":-4,"groupName":"未分组","order":-7,"show":true},{"groupId":-5,"groupName":"更新错误","order":-6,"show":true}]
是的,bookSource.json 是空的,导致出错
已更新脚本使用的书源地址
"io.vertx.core.json.DecodeException: Failed to decode:No content to map due to end-of-input\n at [Source: (String)\"\"; line: 1, column: 0]"