We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
No response
v1.10.1-lts
开启两步验证后,我使用快照进行备份,当我在恢复的时候,两步验证状态却没有恢复过来。
(我正在做vps数据迁移)
1,开启两步验证 2,快照 3,恢复快照
两步验证可以正确恢复。
2024-03-17 09:19:52] [INFO] start to recover panel by snapshot now [2024-03-17 09:19:52] [DEBUG] tar --warning=no-file-changed --ignore-failed-read -zcf /opt/1panel_original/original_1panel_v1.10.1-lts_amd64_20240316235335/1panel/1panel_backup.tar.gz --exclude ./system --exclude ./system_snapshot --exclude .sock -C /opt/1panel/backup . [2024-03-17 09:19:52] [DEBUG] \cp -f /usr/local/bin/1panel /usr/local/bin/1pctl /etc/systemd/system/1panel.service /opt/1panel_original/original_1panel_v1.10.1-lts_amd64_20240316235335/1panel [2024-03-17 09:19:53] [DEBUG] tar --warning=no-file-changed --ignore-failed-read -zcf /opt/1panel_original/original_1panel_v1.10.1-lts_amd64_20240316235335/1panel/1panel_data.tar.gz --exclude ./tmp --exclude ./log --exclude ./cache --exclude ./db/1Panel.db- --exclude *.sock -C /opt/1panel . [2024-03-17 09:19:55] [DEBUG] handle backup before recover successful! [2024-03-17 09:19:55] [DEBUG] download snapshot file to /opt/1panel/tmp/system/1panel_v1.10.1-lts_amd64_20240316235335 successful! [2024-03-17 09:19:55] [DEBUG] tar zxvfC /opt/1panel/tmp/system/1panel_v1.10.1-lts_amd64_20240316235335/1panel_v1.10.1-lts_amd64_20240316235335.tar.gz /opt/1panel/tmp/system/1panel_v1.10.1-lts_amd64_20240316235335 [2024-03-17 09:19:57] [DEBUG] decompress snapshot file successful!/opt/1panel/tmp/system/1panel_v1.10.1-lts_amd64_20240316235335 [2024-03-17 09:19:57] [DEBUG] no such docker images in snapshot [2024-03-17 09:19:57] [DEBUG] recover app data from snapshot file successful! [2024-03-17 09:19:57] [ERROR] recover failed, err: recover docker daemon.json failed, err: error : exit status 1, output: cp: cannot stat ‘/opt/1panel/tmp/system/1panel_v1.10.1-lts_amd64_20240316235335/1panel_v1.10.1-lts_amd64_20240316235335/docker/daemon.json’: No such file or directory
The text was updated successfully, but these errors were encountered:
[2024-03-17 09:19:57] [ERROR] recover failed, err: recover docker daemon.json failed, err: error : exit status 1, output: cp: cannot stat ‘/opt/1panel/tmp/system/1panel_v1.10.1-lts_amd64_20240316235335/1panel_v1.10.1-lts_amd64_20240316235335/docker/daemon.json’: No such file or directory
已知问题:#4206
当我在恢复的时候,两步验证状态却没有恢复过来。
我们先在本地环境复现一下这个问题。
Sorry, something went wrong.
重复 #4206
wanghe-fit2cloud
No branches or pull requests
联系方式
No response
1Panel 版本
v1.10.1-lts
问题描述
开启两步验证后,我使用快照进行备份,当我在恢复的时候,两步验证状态却没有恢复过来。
(我正在做vps数据迁移)
重现步骤
1,开启两步验证
2,快照
3,恢复快照
期待的正确结果
两步验证可以正确恢复。
相关日志输出
2024-03-17 09:19:52] [INFO] start to recover panel by snapshot now
[2024-03-17 09:19:52] [DEBUG] tar --warning=no-file-changed --ignore-failed-read -zcf /opt/1panel_original/original_1panel_v1.10.1-lts_amd64_20240316235335/1panel/1panel_backup.tar.gz --exclude ./system --exclude ./system_snapshot --exclude .sock -C /opt/1panel/backup .
[2024-03-17 09:19:52] [DEBUG] \cp -f /usr/local/bin/1panel /usr/local/bin/1pctl /etc/systemd/system/1panel.service /opt/1panel_original/original_1panel_v1.10.1-lts_amd64_20240316235335/1panel
[2024-03-17 09:19:53] [DEBUG] tar --warning=no-file-changed --ignore-failed-read -zcf /opt/1panel_original/original_1panel_v1.10.1-lts_amd64_20240316235335/1panel/1panel_data.tar.gz --exclude ./tmp --exclude ./log --exclude ./cache --exclude ./db/1Panel.db- --exclude *.sock -C /opt/1panel .
[2024-03-17 09:19:55] [DEBUG] handle backup before recover successful!
[2024-03-17 09:19:55] [DEBUG] download snapshot file to /opt/1panel/tmp/system/1panel_v1.10.1-lts_amd64_20240316235335 successful!
[2024-03-17 09:19:55] [DEBUG] tar zxvfC /opt/1panel/tmp/system/1panel_v1.10.1-lts_amd64_20240316235335/1panel_v1.10.1-lts_amd64_20240316235335.tar.gz /opt/1panel/tmp/system/1panel_v1.10.1-lts_amd64_20240316235335
[2024-03-17 09:19:57] [DEBUG] decompress snapshot file successful!/opt/1panel/tmp/system/1panel_v1.10.1-lts_amd64_20240316235335
[2024-03-17 09:19:57] [DEBUG] no such docker images in snapshot
[2024-03-17 09:19:57] [DEBUG] recover app data from snapshot file successful!
[2024-03-17 09:19:57] [ERROR] recover failed, err: recover docker daemon.json failed, err: error : exit status 1, output: cp: cannot stat ‘/opt/1panel/tmp/system/1panel_v1.10.1-lts_amd64_20240316235335/1panel_v1.10.1-lts_amd64_20240316235335/docker/daemon.json’: No such file or directory
附加信息
No response
The text was updated successfully, but these errors were encountered: