# 手动备份到我的电脑不起作用

**URL:** https://meta.discourse.org/t/manual-backup-to-my-computer-not-working/219016
**Category:** Self-hosting
**Created:** [2022年二月21日 22:47 UTC](https://meta.discourse.org/t/manual-backup-to-my-computer-not-working/219016 "2022-02-21T22:47:48Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![WesPenre](https://avatars.discourse-cdn.com/v4/letter/w/4bbf92/32.png) [@WesPenre](https://meta.discourse.org/u/WesPenre)
#### Post date: [2022年二月21日 22:47 UTC](https://meta.discourse.org/t/manual-backup-to-my-computer-not-working/219016/1 "2022-02-21T22:47:48Z")

</div>

我一直能够每晚手动备份 Discourse，然后将文件下载到我的电脑上。我会收到一封包含下载链接的电子邮件，点击即可下载。直到大约三天前，这个功能一直运行良好。现在链接不再有效，当我点击下载链接时，Chrome 中会打开一个标签页，显示：

“抱歉，此备份下载链接已被使用或已过期。”

但我之前没有使用过该备份，而且这个消息以前从未出现过。是我做错了什么吗？

请提供建议。

非常感谢，  
Wes

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2022年二月21日 23:18 UTC](https://meta.discourse.org/t/manual-backup-to-my-computer-not-working/219016/2 "2022-02-21T23:18:11Z")

</div>

您是否以正确的用户身份登录？

您确定您的电子邮件客户端没有显示旧链接，而您只需要向下滚动吗？

无意冒犯，但这很可能是个简单的问题。

---

<div class="post-metadata">

### Author: ![WesPenre](https://avatars.discourse-cdn.com/v4/letter/w/4bbf92/32.png) [@WesPenre](https://meta.discourse.org/u/WesPenre)
#### Post date: [2022年二月22日 00:16 UTC](https://meta.discourse.org/t/manual-backup-to-my-computer-not-working/219016/3 "2022-02-22T00:16:09Z")

</div>

一点也没有被冒犯。是的，我一直是以管理员身份登录的，当我这样做的时候。而且我只有一个管理员账户。

在备份之前，我会删除旧的手动备份文件（如果有的话），所以它是空的。这是我的图文操作步骤：

1. 我进入备份部分并点击备份。
2. “您要开始新的备份吗？我点击是。
3. 完成后，我会看到绿色的标记，并显示“备份成功完成”。
4. 我回到管理员部分的备份并点击下载。
5. 一个链接会发送到我的电子邮件（见附图3）。
6. 我点击链接，但它没有下载文件，而是在 Chrome 中打开了一个新标签页（见图4）。我尝试过其他浏览器，但没有区别。

 ![1](https://global.discourse-cdn.com/meta/original/3X/0/b/0b8ddcb56e4d45b4984d5eae501dfda2536f2ec8.png)

---

<div class="post-metadata">

### Author: ![WesPenre](https://avatars.discourse-cdn.com/v4/letter/w/4bbf92/32.png) [@WesPenre](https://meta.discourse.org/u/WesPenre)
#### Post date: [2022年二月22日 00:16 UTC](https://meta.discourse.org/t/manual-backup-to-my-computer-not-working/219016/4 "2022-02-22T00:16:47Z")

</div>

图片 2

 ![2](https://global.discourse-cdn.com/meta/original/3X/0/5/057c2913105bdc484310a68febe6db6343eda052.png)

---

<div class="post-metadata">

### Author: ![WesPenre](https://avatars.discourse-cdn.com/v4/letter/w/4bbf92/32.png) [@WesPenre](https://meta.discourse.org/u/WesPenre)
#### Post date: [2022年二月22日 00:17 UTC](https://meta.discourse.org/t/manual-backup-to-my-computer-not-working/219016/5 "2022-02-22T00:17:19Z")

</div>

图片 3

 ![3](https://global.discourse-cdn.com/meta/original/3X/e/0/e085355efa80645b79befa8b0ed3ed4829c9f199.png)

---

<div class="post-metadata">

### Author: ![WesPenre](https://avatars.discourse-cdn.com/v4/letter/w/4bbf92/32.png) [@WesPenre](https://meta.discourse.org/u/WesPenre)
#### Post date: [2022年二月22日 00:17 UTC](https://meta.discourse.org/t/manual-backup-to-my-computer-not-working/219016/6 "2022-02-22T00:17:50Z")

</div>

图片 4

 ![4](https://global.discourse-cdn.com/meta/original/3X/9/3/934cead921a79b12ced91aaf1fc8ab61826e1d3b.png)

---

<div class="post-metadata">

### Author: ![IAmGav](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iamgav/32/235598_2.png) [@IAmGav](https://meta.discourse.org/u/IAmGav)
#### Post date: [2022年二月22日 00:32 UTC](https://meta.discourse.org/t/manual-backup-to-my-computer-not-working/219016/7 "2022-02-22T00:32:41Z")

</div>

进入 `Admin > Settings` 并搜索 `force_https`

如果找到，请启用它

---

<div class="post-metadata">

### Author: ![WesPenre](https://avatars.discourse-cdn.com/v4/letter/w/4bbf92/32.png) [@WesPenre](https://meta.discourse.org/u/WesPenre)
#### Post date: [2022年二月22日 00:48 UTC](https://meta.discourse.org/t/manual-backup-to-my-computer-not-working/219016/8 "2022-02-22T00:48:35Z")

</div>

> [@IAmGav](#):
>
> force\_https

我做了，现在无法登录。该怎么办？

---

<div class="post-metadata">

### Author: ![IAmGav](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iamgav/32/235598_2.png) [@IAmGav](https://meta.discourse.org/u/IAmGav)
#### Post date: [2022年二月22日 00:54 UTC](https://meta.discourse.org/t/manual-backup-to-my-computer-not-working/219016/9 "2022-02-22T00:54:07Z")

</div>

论坛仍然发送[http://链接而不是https](http://xn--https-ni1hz30kvierw4e703b)://。

---

<div class="post-metadata">

### Author: ![IAmGav](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iamgav/32/235598_2.png) [@IAmGav](https://meta.discourse.org/u/IAmGav)
#### Post date: [2022年二月22日 00:55 UTC](https://meta.discourse.org/t/manual-backup-to-my-computer-not-working/219016/10 "2022-02-22T00:55:58Z")

</div>

前往 `mysite.com/u/admin-login` 并从那里尝试登录。

---

<div class="post-metadata">

### Author: ![WesPenre](https://avatars.discourse-cdn.com/v4/letter/w/4bbf92/32.png) [@WesPenre](https://meta.discourse.org/u/WesPenre)
#### Post date: [2022年二月22日 01:00 UTC](https://meta.discourse.org/t/manual-backup-to-my-computer-not-working/219016/11 "2022-02-22T01:00:27Z")

</div>

我注意到我也登录了另一个浏览器，所以没问题。我再次取消勾选了 force\_https 框，这样就不会出现登录问题。

不过，在我退出登录之前，我尝试了勾选 force\_https 的备份，但遗憾的是没有任何区别……

---

<div class="post-metadata">

### Author: ![IAmGav](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iamgav/32/235598_2.png) [@IAmGav](https://meta.discourse.org/u/IAmGav)
#### Post date: [2022年二月22日 01:02 UTC](https://meta.discourse.org/t/manual-backup-to-my-computer-not-working/219016/12 "2022-02-22T01:02:22Z")

</div>

私信我备份的链接

---

<div class="post-metadata">

### Author: ![WesPenre](https://avatars.discourse-cdn.com/v4/letter/w/4bbf92/32.png) [@WesPenre](https://meta.discourse.org/u/WesPenre)
#### Post date: [2022年二月22日 01:10 UTC](https://meta.discourse.org/t/manual-backup-to-my-computer-not-working/219016/13 "2022-02-22T01:10:09Z")

</div>

也许是因为我是新用户，但当我点击你的个人资料时，找不到“消息”按钮。

---

<div class="post-metadata">

### Author: ![WesPenre](https://avatars.discourse-cdn.com/v4/letter/w/4bbf92/32.png) [@WesPenre](https://meta.discourse.org/u/WesPenre)
#### Post date: [2022年二月23日 00:32 UTC](https://meta.discourse.org/t/manual-backup-to-my-computer-not-working/219016/14 "2022-02-23T00:32:06Z")

</div>

我仍然无法弄清楚为什么文件会突然发送 http 版本而不是 https 版本，无论我是否勾选了 https 框。我一点也不懂技术，所以我联系了托管 Discourse 的 Gigenet，看看是不是他们的问题，但他们说这是 Discourse 的问题，并建议有人查看 Discourse 日志。

所以，我认为这就是 Gavin 注册为管理员想做的事情，但我还没有收到任何回复，也没有人尝试注册。当然，你可能很忙。只是想告诉你问题仍然存在……——谢谢。

---

<div class="post-metadata">

### Author: ![IAmGav](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iamgav/32/235598_2.png) [@IAmGav](https://meta.discourse.org/u/IAmGav)
#### Post date: [2022年二月23日 01:02 UTC](https://meta.discourse.org/t/manual-backup-to-my-computer-not-working/219016/15 "2022-02-23T01:02:45Z")

</div>

您的 SSL 证书未显示 Let’s Encrypt，它在 Docker 中使用。

尝试通过 SSH（命令行）运行 `./launcher rebuild app`。

---

<div class="post-metadata">

### Author: ![WesPenre](https://avatars.discourse-cdn.com/v4/letter/w/4bbf92/32.png) [@WesPenre](https://meta.discourse.org/u/WesPenre)
#### Post date: [2022年二月23日 01:10 UTC](https://meta.discourse.org/t/manual-backup-to-my-computer-not-working/219016/16 "2022-02-23T01:10:47Z")

</div>

抱歉，Gavin，这远远超出了我这个非技术人员的理解范围。我不知道如何以及在哪里运行任何东西，以及之后该做什么。

---

<div class="post-metadata">

### Author: ![IAmGav](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iamgav/32/235598_2.png) [@IAmGav](https://meta.discourse.org/u/IAmGav)
#### Post date: [2022年二月23日 01:12 UTC](https://meta.discourse.org/t/manual-backup-to-my-computer-not-working/219016/17 "2022-02-23T01:12:45Z")

</div>

请在私人消息中发送登录详细信息，我稍后会查看。

---

<div class="post-metadata">

### Author: ![WesPenre](https://avatars.discourse-cdn.com/v4/letter/w/4bbf92/32.png) [@WesPenre](https://meta.discourse.org/u/WesPenre)
#### Post date: [2022年二月23日 01:13 UTC](https://meta.discourse.org/t/manual-backup-to-my-computer-not-working/219016/18 "2022-02-23T01:13:53Z")

</div>

> [@IAmGav](#):
>
> ./launcher

谢谢！我会……

---

<div class="post-metadata">

### Author: ![umar.techboy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/umar.techboy/32/260012_2.png) [@umar.techboy](https://meta.discourse.org/u/umar.techboy)
#### Post date: [2022年五月12日 06:49 UTC](https://meta.discourse.org/t/manual-backup-to-my-computer-not-working/219016/19 "2022-05-12T06:49:09Z")

</div>

在阅读了关于 SSL/No SSL 冲突的讨论后，我尝试了以下方法，并且奏效了。

我在邮件中收到的链接是 HTTP：我手动将其更改为 HTTPS：访问，然后就成功了。

邮件链接 \> 复制链接地址 \> 粘贴到地址栏（不要按回车，否则链接会过期） \> 在开头将“HTTP”更改为“HTTPS” \> 回车。现在应该可以无误地开始下载了。

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2022年五月12日 09:02 UTC](https://meta.discourse.org/t/manual-backup-to-my-computer-not-working/219016/20 "2022-05-12T09:02:04Z")

</div>

看起来 force\_https 未开启。它通常默认开启，但你可以在设置中查找它。

[下一頁](https://meta.discourse.org/t/manual-backup-to-my-computer-not-working/219016.md?page=2)
