Skip to content
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

2.7.2 前端修改设置后无法保存,提示:Setting save failed: [object Object] #708

Closed
dianso opened this issue Dec 20, 2023 · 21 comments
Labels
bug Something isn't working

Comments

@dianso
Copy link

dianso commented Dec 20, 2023

2.7.2 前端修改设置后无法保存,提示:Setting save failed: [object Object]

@qwqcode
Copy link
Member

qwqcode commented Dec 20, 2023

看看控制台报什么错

@dianso
Copy link
Author

dianso commented Dec 20, 2023

是这样的,升级新版本后,sidebar页面的导航栏又变成英文了,我打开前段,选择其他语言保存,就提示这个。

控制台,是看这个吗?

image

@qwqcode
Copy link
Member

qwqcode commented Dec 20, 2023

image

看看这里有没有红色的字

@qwqcode
Copy link
Member

qwqcode commented Dec 20, 2023

你可以手动检查一下配置文件 artalk.yml,你有做过修改吗 🤔️

@dianso
Copy link
Author

dianso commented Dec 20, 2023

配置文件没修改,我用# docker compose pull && docker compose up -d升级artalk2.7.2后,sidebar那就变成英文的了,我打算切换语言,再换回来试试,就成这样。

image

@qwqcode
Copy link
Member

qwqcode commented Dec 20, 2023

😅 这又是个新bug,哎,升级我先撤回一下

@dianso
Copy link
Author

dianso commented Dec 20, 2023

image
image

配置文件里面是zh-CN,但是sidebar里面是英文

@qwqcode
Copy link
Member

qwqcode commented Dec 20, 2023

重启 docker 了吗

@dianso
Copy link
Author

dianso commented Dec 20, 2023

重启 docker 了吗

试了不管用,我退回旧版了

@bibicadotnet
Copy link

升级到 2.7.2 后出现一些错误,我什至无法返回到 2.7.1 版本

NdAr533JJc

@dianso
Copy link
Author

dianso commented Dec 20, 2023

升级到 2.7.2 后出现一些错误,我什至无法返回到 2.7.1 版本

NdAr533JJc

DOCKGE最近的版本有问题,你需要做的是备份artalk文件夹,然后去DOCKGE里面删除artalk项目。

记得提前备份好数据,然后重新将artalk文件夹上传

修改docker-compose.yml

将版本号退回2.7.1

image: artalk/artalk-go:2.7.1

保存文件

cd artalk

docker compose pull && docker compose up -d

这样就可以解决

@bibicadotnet
Copy link

6dmmdRoEIv

我对 DOCKGE 没有任何问题

我降级到2.6.4,它再次正常工作:(

@qwqcode
Copy link
Member

qwqcode commented Dec 20, 2023

问题已找到并修复,之前的的 v2.7.2 (d81715b) 保存配置会污染已有的配置项 🥲,正在重新编译修复后的 v2.7.2 (0a89426) 版本并发布。

如果有操作过升级 docker 镜像的请重新 pull 并确保进入后台页面是:

image

The issue has been identified and fixed. In the previous version, v2.7.2 (d81715b), saving configurations was causing contamination of existing configuration items 🥲. We are currently recompiling the fixed version, v2.7.2 (0a89426), and will release it shortly.

If you have performed a Docker update, please re-pull and ensure that when you access the backend page, it displays as follows: [IMAGE]

@dianso
Copy link
Author

dianso commented Dec 20, 2023

问题已找到并修复,之前的的 v2.7.2 (d81715b) 保存配置会污染已有的配置项 🥲,正在重新编译修复后的 v2.7.2 (0a89426) 版本并发布。

如果有操作过升级 docker 镜像的请重新 pull 并确保进入后台页面是:

image The issue has been identified and fixed. In the previous version, v2.7.2 ([d81715b](https://github.com/ArtalkJS/Artalk/commit/d81715b9a421ce96738f78b424860fa3fe9d8d8e)), saving configurations was causing contamination of existing configuration items 🥲. We are currently recompiling the fixed version, v2.7.2 ([0a89426](https://github.com/ArtalkJS/Artalk/commit/0a89426c935e0897f401750979ee07277a861b3a)), and will release it shortly.

If you have performed a Docker update, please re-pull and ensure that when you access the backend page, it displays as follows: [IMAGE]

感谢,辛苦了,这么晚还修复bug。

@bibicadotnet
Copy link

好吧,我会等待 docker hub 更新到版本 2.7.2,然后重试

@qwqcode
Copy link
Member

qwqcode commented Dec 20, 2023

😭 代码写懵了,错了几个单词 7a026ef

我睡觉了,明天还要上早八的课

@qwqcode
Copy link
Member

qwqcode commented Dec 20, 2023

I plan to introduce a nightly build for testing purposes (potentially unstable) going forward. After comprehensive testing, we will then release the official version to ensure its stability as much as possible. This way, hope to avoid last-minute errors and recompiling before the release! 🤣 Thanks for testing and submitting issues.

@bibicadotnet
Copy link

祖国功劳 :D

@dianso dianso closed this as completed Dec 20, 2023
@qwqcode qwqcode added the bug Something isn't working label Dec 20, 2023
@eallion
Copy link

eallion commented Dec 20, 2023

有个新问题,前端提示:

Artalk Error
TypeError: t.getCommentList is not a function,无法获取评论列表数据
点击重新获取

@qwqcode
Copy link
Member

qwqcode commented Dec 21, 2023

有个新问题,前端提示:


Artalk Error

TypeError: t.getCommentList is not a function,无法获取评论列表数据

点击重新获取

你的主题代码有使用 Artalk.use 吗,如果是主题,可以试试改一下,改为 ctx.get('list').getCommentNodes().forEach(comment => {

@eallion
Copy link

eallion commented Dec 21, 2023

定位到问题了,是因为开启了 artalk-plugin-lightbox.js 插件,但插件版本没升级导致的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants