虚拟驱动问题

正在构建一个新服务器,并遇到了一个有趣的问题。如果在 Ubuntu 中为我的 VM 创建一个新附加驱动器,并将其挂载在 /var/discourse,构建就会失败。我猜这与链接有关,或者我需要特定的挂载选项?

我甚至尝试将驱动器挂载在 /var,并尝试重新安装所有东西。

当虚拟驱动器挂载在 /var/discourse 时,启动器重建应用程序会失败,当它挂载在 /var 时……[@embroider/webpack] 会在屏幕上滚动很长时间。

[BABEL] Note: 代码生成器已对 /var/www/discourse/node_modules/@json-editor/json-editor/dist/jsoneditor.js 的样式进行了优化,因为它超过了 500KB 的最大值。
[BABEL] Note: 代码生成器已对 /var/www/discourse/node_modules/ace-builds/src-noconflict/ace.js 的样式进行了优化,因为它超过了 500KB 的最大值。
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
126:M 2024年8月27日 21:20:33.081 * 300秒内发生100次更改。正在保存...
126:M 2024年8月27日 21:20:33.082 * 后台保存由进程 1230 启动
1230:C 2024年8月27日 21:20:33.129 * DB 已保存到磁盘
1230:C 2024年8月27日 21:20:33.130 * RDB 的 Fork CoW:当前 0 MB,峰值 0 MB,平均 0 MB
126:M 2024年8月27日 21:20:33.182 * 后台保存成功终止
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]

:precompile:build'
...[ConfigLoader]
...[Babel: @ember/render-modifiers > applyPatches]
...[Babel: ember-source > applyPatches]
...[ember.js]
...[Babel: @glimmer/component > applyPatches]
...[Babel: pretty-text > applyPatches]
...[Babel: discourse-common > applyPatches]
...[Babel: ember-tracked-storage-polyfill > applyPatches]
...[Babel: @ember/legacy-built-in-components > applyPatches]
...[Babel: dialog-holder > applyPatches]
...[Babel: ember-cache-primitive-polyfill > applyPatches]
...[Babel: ember-on-resize-modifier > applyPatches]
...[Babel: float-kit > applyPatches]
...[Babel: select-kit > applyPatches]
...[@embroider/compat/app]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
[BABEL] Note: The code generator has deoptimised the styling of /var/www/discourse/node_modules/@json-editor/json-editor/dist/jsoneditor.js as it exceeds the max of 500KB.
[BABEL] Note: The code generator has deoptimised the styling of /var/www/discourse/node_modules/ace-builds/src-noconflict/ace.js as it exceeds the max of 500KB.
...[@embroider/webpack]
...[SourceMapConcat]
...[Babel: admin > applyPatches]
...[SourceMapConcat]
...[TerserWriter]
...[Babel: discourse > applyPatches]
...[SourceMapConcat]
...[TerserWriter]
...[Babel: discourse-plugins > applyPatches]
...[SourceMapConcat]
...[Babel: discourse-plugins > applyPatches]
...[SourceMapConcat]
...[Babel: discourse-plugins > applyPatches]

并且如果安装在与操作系统相同的虚拟驱动器上,它就能正常工作。