升级到 3.5.0.beta2 后日历出现故障

您好,我们刚刚升级到 https://meta.discourse.org/t/3-5-0-beta2-review-queue-welcome-banner-admin-interface-and-more/358151,现在我们的日历坏了:

/logs 中没有任何内容。

浏览器检查器:

Refused to apply style from '<URL>' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
/about:281 Refused to apply style from 'https://the.socialmusic.network/var/www/discourse/plugins/discourse-calendar/assets/stylesheets/vendor/fullcalendar.min.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
/about:285 Refused to apply style from 'https://the.socialmusic.network/var/www/discourse/plugins/discourse-locations/assets/lib/leaflet/MarkerCluster.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
/about:285 Refused to apply style from 'https://the.socialmusic.network/var/www/discourse/plugins/discourse-locations/assets/lib/leaflet/MarkerCluster.Default.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
/about:285 Refused to apply style from 'https://the.socialmusic.network/var/www/discourse/plugins/discourse-locations/assets/lib/leaflet/leaflet.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
13:1 Refused to apply style from 'https://the.socialmusic.network/var/www/discourse/plugins/discourse-locations/assets/lib/leaflet/leaflet.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
13:1 Refused to apply style from 'https://the.socialmusic.network/var/www/discourse/plugins/discourse-locations/assets/lib/leaflet/MarkerCluster.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
13:1 Refused to apply style from 'https://the.socialmusic.network/var/www/discourse/plugins/discourse-locations/assets/lib/leaflet/MarkerCluster.Default.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
13:1 Refused to apply style from 'https://the.socialmusic.network/var/www/discourse/plugins/discourse-calendar/assets/stylesheets/vendor/fullcalendar.min.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
index.js:78 ℹ️ Discourse v3.5.0.beta3-dev — https://github.com/discourse/discourse/commits/b1924c3524 — Ember v5.12.0
field.js:78 ✅  Using the new 'glimmer' topic list
upload.js:64 ✅  Using the new 'glimmer' post menu!

有什么关于发生了什么以及如何解决它的想法吗?我打算现在重建,但我想先报告这个问题,以防它阻止其他人也遇到这个问题。

编辑:重建后仍然损坏。

4 个赞

另一个问题:用户再也找不到“创建事件”链接了。作为管理员,我仍然可以看到它。真奇怪。

3 个赞

感谢 @icaria36 - 我也看到了问题。正在处理 :eyes:

6 个赞

已合并的修复程序,所以如果您从 /admin/upgrade 再次运行更新,应该就能解决问题 @icaria36。抱歉造成了干扰!

5 个赞

日历视图已修复! :tada:

但我从我的普通测试用户帐户一直看不到“创建事件”选项,只有从我的管理员帐户才能看到。是否引入了新的权限?

2 个赞

设置看起来是正确的:

image

2 个赞

“everyone”有点不寻常,因为它不是一个“真实”的群组。它需要插件进行特殊处理,而这里可能没有做到。

您能否尝试将其设置为“trust_level_0”看看是否有帮助?

3 个赞

好的,“trust_level_0”解决了这个问题。再次感谢!

以防万一有帮助,用户可以在升级前发布事件,并且我们在升级后没有更改“everyone”。因此,“everyone”要么在之前就有效,要么升级以某种方式将其放置在那里。

但是 TL0 有效,而且非常清晰。我们可能不会再更改此设置了。继续前进!

3 个赞

此话题在20小时后自动关闭,不再允许新回复。