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

宿主机环境迁移后无法登录 #179

Closed
Haruhi-Suzumiya opened this issue May 16, 2024 · 5 comments
Closed

宿主机环境迁移后无法登录 #179

Haruhi-Suzumiya opened this issue May 16, 2024 · 5 comments

Comments

@Haruhi-Suzumiya
Copy link

我之前使用arm环境(linux)的orangepi作为宿主机,网页登陆和使用moe memos登录都是正常的。
昨晚在x86环境(linux)重新部署docker并使用了原有的数据
现在网页登录正常,moe memos登录提示“未能读取数据,因为它的格式不正确”
这种情况应该怎么排查和解决呢?

@Issues-translate-bot
Copy link

Issue is not in English. It has been translated automatically.


Title: Unable to log in after the host environment is migrated

I used orangepi in arm environment (linux) as the host machine before, and both web login and moe memos login were normal.
Last night, I redeployed docker in x86 environment (linux) and used the original data.
Now the web page login is normal, but the moe memos login prompts "The data could not be read because it is not in the correct format."
How should this situation be investigated and resolved?

@Haruhi-Suzumiya
Copy link
Author

Haruhi-Suzumiya commented May 16, 2024

我的问题似乎得到了解决,把解决方法写在这里供后来者参考:

环境迁移之前,我使用的docker镜像是 lincolnthalles/memos ,它打包的memos版本是v0.21.0
环境迁移之后,我是用的docker镜像是 neosmemo/memos,它打包的memos版本是最新的v0.22.0

所以我怀疑是我更换镜像导致了版本之间的数据不兼容.
在我今天重新使用lincolnthalles/memos 之后,iOS App可以正常登录了

检查release note之后,我发现iOS app好像还没有适配v0.22.0
因此这应该不是个bug,也提醒使用app的朋友们不要急着升级,等作者适配吧

以上.

@Issues-translate-bot
Copy link

Issue is not in English. It has been translated automatically.


My problem seems to have been solved, I will write the solution here for the reference of future readers:

Before the environment migration, the docker image I used was lincolnthalles/memos, and the memos version it packaged was v0.21.0
After the environment migration, the docker image I used was neosmemo/memos, and the memos version it packaged was the latest v0.22.0

So I suspect that my replacement of the image caused data incompatibility between versions.
After I reused lincolnthalles/memos today, the iOS App can log in normally.

Because it is normal on the web side, I still tend to think this is a bug
I hope the author can read it if he has time.

above.

@mudkipme
Copy link
Owner

Moe Memos doesn't support pre-release versions of Memos, as their APIs are unstable and may subject to change. If you are using Docker with Memos, please use stable tag or pin the version to 0.21.0.

You can check the latest version of Memos at https://github.com/usememos/memos/releases.

New release of Memos will be supported by Moe Memos ASAP after it is released.

@Haruhi-Suzumiya
Copy link
Author

Moe Memos doesn't support pre-release versions of Memos, as their APIs are unstable and may subject to change. If you are using Docker with Memos, please use tag or pin the version to .stable``0.21.0

You can check the latest version of Memos at https://github.com/usememos/memos/releases.

New release of Memos will be supported by Moe Memos ASAP after it is released.

很奇怪为什么官方的docker配置了预览版,不过感谢您的答复,我明白了.
本件issue就关闭吧

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants