-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
更新至3.2.1后短链管理报错。 #327
Comments
生成短链功能么。还是后台的短链管理,点击什么功能触发的
…---原始邮件---
发件人: ***@***.***>
发送时间: 2022年2月3日(周四) 上午9:15
收件人: ***@***.***>;
抄送: ***@***.***>;
主题: [zhaojun1998/zfile] 更新至3.2.1后短链管理报错。 (Issue #327)
报错内容:
could not prepare statement; SQL [select shortlinkc0_.id as id1_2_, shortlinkc0_.create_date as create_d2_2_, shortlinkc0_."key" as key3_2_, shortlinkc0_.url as url4_2_ from short_link shortlinkc0_ where 1=1 order by shortlinkc0_.create_date desc limit ?]; nested exception is org.hibernate.exception.SQLGrammarException: could not prepare statement
从3.2.0升级至3.2.1出现此问题。
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
麻烦下载后台日志信息,发送到我邮箱: ***@***.***
…---原始邮件---
发件人: ***@***.***>
发送时间: 2022年2月3日(周四) 上午9:50
收件人: ***@***.***>;
抄送: ***@***.******@***.***>;
主题: Re: [zhaojun1998/zfile] 更新至3.2.1后短链管理报错。 (Issue #327)
在前台复制直链时也是提示同样内容。
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you commented.Message ID: ***@***.***>
|
已发送到您主页留下的邮箱。 |
应该是 48cb14b 里对key的转义引起的 |
@Yukinoshita 你更新前的版本号是多少,大概什么时候安装的,用 docker 安装还是普通方式安装的。 |
更新前为3.2版本,新装的也是3.2。 |
@zhaojun1998 我是使用普通方式安装的,版本从3.2 版本到 3.2.1,未使用mysql,更新后点击“生成短链”出现了同样的问题 |
如未使用到本地存储,可以先用3.2版本。要升级的话,可能不能保留原有数据库了。
…---原始邮件---
发件人: ***@***.***>
发送时间: 2022年2月4日(周五) 中午11:06
收件人: ***@***.***>;
抄送: ***@***.******@***.***>;
主题: Re: [zhaojun1998/zfile] 更新至3.2.1后短链管理报错。 (Issue #327)
更新前为3.2版本,新装的也是3.2。
迁移过数据库,迁移数据库前安装版本也是3.2。
回退3.2版本正常。
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you commented.Message ID: ***@***.***>
|
我使用 Docker 版本从3.2升级到3.2.1, 同样遇到这个问题, 在群晖的 Docker 内。 目前沿用3.2了, 是否能够自动修复数据库, 或者提供一个建议的解决方案。 |
@goldyard2021 |
你好, 附件中是我的数据库文件, 供参考。
发件人:"赵俊" ***@***.***>
发送日期:2022-02-04 22:30:08
收件人:zhaojun1998/zfile ***@***.***>
抄送人:goldyard2021 ***@***.***>,Mention ***@***.***>
主题:Re: [zhaojun1998/zfile] 更新至3.2.1后短链管理报错。 (Issue #327)
@goldyard2021
是否方面提供一份数据库 db 文件发到我 github 主页的邮箱中。我排查问题
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
@goldyard2021 |
好的, 已经重新发送到: ***@***.***
发件人:"赵俊" ***@***.***>
发送日期:2022-02-04 22:42:39
收件人:zhaojun1998/zfile ***@***.***>
抄送人:goldyard2021 ***@***.***>,Mention ***@***.***>
主题:Re: [zhaojun1998/zfile] 更新至3.2.1后短链管理报错。 (Issue #327)
@goldyard2021
邮件中并未包含附件,别直接回复 issue 这个邮件,而是去我 github 个人主页找到我的邮箱(因 issue 中留邮箱会被屏蔽),然后发过来。
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
已经重新发送 |
已经重新发送 |
@AMEMOES 已解决问题,但没找到触发的原因,只有部分用户有此问题。 故未发布正式版,可使用如下地址进行 https://c.jun6.net/ZFILE/zfile-3.2.1-fix-short-key.jar 且下个大版本,会完全支持 MySQL 数据库,并推荐用户优先使用 MySQL 数据库,尽力避免此类内存数据库的问题。 |
感谢 |
我也有相同问题,已通过安装该版本解决。 |
@Yukinoshita @Suansuan-Keai @AMEMOES @goldyard2021 |
报错内容:
could not prepare statement; SQL [select shortlinkc0_.id as id1_2_, shortlinkc0_.create_date as create_d2_2_, shortlinkc0_."key" as key3_2_, shortlinkc0_.url as url4_2_ from short_link shortlinkc0_ where 1=1 order by shortlinkc0_.create_date desc limit ?]; nested exception is org.hibernate.exception.SQLGrammarException: could not prepare statement
从3.2.0升级至3.2.1出现此问题。
The text was updated successfully, but these errors were encountered: