图片上传现在导致链接失效

现在出现了一个新问题,无法上传,我只尝试了图片,尝试了 jpg 和 webp,只显示损坏的链接。尝试了 png,可以看到它一瞬间,然后立即显示损坏的链接。对这个问题有什么想法吗?它一定是很久以前才开始的。不过我可以上传 pdf。 (现有的旧图片似乎都还可以,仍然正常显示)

image

image349×187 2.66 KB

今天早上早些时候,我尝试通过 GUI 进行升级,然后只有一个白屏,所以尝试了 CLI,结果一样,所以我从一个非常近的快照恢复了。我不确定这是否是这个问题的一部分,我可能在一周前上传了图片,没有问题。

使用 Markdown 模式(从 A 切换到 M :down_arrow:)时也会发生这种情况吗?

您能否检查浏览器控制台输出中是否有任何错误?

您的实例使用的是哪个提交版本?

您能否检查此损坏的元素并查看 HTML?

更新应该可以工作,所以这确实可能是问题的一部分。

2 个赞

很高兴我想到了 bunny。已解决,更新了 maxmind 国家/地区屏蔽,阻止了 bunny 的访问。这可能是白屏更新的相同问题。我得等到周六才能再试一次。

30 分钟前:

Markdown 中出现相同问题。

Discourse v3.6.0.beta2-latest — — Ember v6.6.0deprecated.js:62 [THEME 23 ‘Inline PDF Previews’] Deprecation notice: Accessing site.mobileView or site.desktopView during the site initialization can lead to errors and inconsistencies when the browser window is resized. Please move these checks to a component, transformer, or API callback that executes during page rendering. [deprecated since Discourse 3.5.0.beta9-dev] [deprecation id: discourse.static-viewport-initialization] [info: ]a @ deprecated.js:62get mobileView @ site.js:124(anonymous) @ compat.js:22X @ index.js:416(anonymous) @ compat.js:21(anonymous) @ initialize-for-pdf-preview.js:10eQ @ plugin-api.gjs:3485initialize @ initialize-for-pdf-preview.js:9(anonymous) @ app.js:239(anonymous) @ index.js:379e.each @ index.js:183e.walk @ index.js:112e.each @ index.js:59e.topsort @ index.js:65_runInitializer @ index.js:392runInstanceInitializers @ index.js:377_bootSync @ instance.js:116didBecomeReady @ index.js:784invoke @ index.js:262flush @ index.js:180flush @ index.js:334_end @ index.js:762(anonymous) @ index.js:499Promise.then(anonymous) @ index.js:18flush @ index.js:29_scheduleAutorun @ index.js:928_ensureInstance @ index.js:919schedule @ index.js:618f @ index.js:343waitForDOMReady @ index.js:512init @ index.js:412_ @ core.js:97create @ core.js:599(anonymous) @ start-app.js:8await in (anonymous)(anonymous) @ discourse-boot.js:13(anonymous) @ discourse-boot.js:1Understand this warningsite.js:217 ✅ Using the new ‘glimmer’ post stream!content-script-vimeo.js:11 log-init[Violation] Potential permissions policy violation: fullscreen is not allowed in this document.

Deprecation notice: Setting timezone property of user object is deprecated. Use user_option object instead [deprecated since Discourse 2.9.0.beta12] [removal in Discourse 3.0.0.beta1] [deprecation id: discourse.user.userOptions]

我不确定在检查损坏的链接时,在 HTML 方面我应该看什么。

为了不让事情更复杂,但我刚想起我使用 bunny.net 作为 CDN,这是否会产生影响,但我一年多来从未遇到过他们的问题,甚至忘了我使用他们。

1 个赞