{"id":6221,"date":"2026-09-18T23:56:57","date_gmt":"2026-09-18T14:56:57","guid":{"rendered":"https:\/\/eternalsphere.net\/echoes\/?p=6221"},"modified":"2026-09-19T21:26:19","modified_gmt":"2026-09-19T12:26:19","slug":"tgj80vyet9hjjrn","status":"publish","type":"post","link":"https:\/\/blog.eternalsphere.net\/index.php\/2026\/09\/18\/tgj80vyet9hjjrn\/","title":{"rendered":"\u4e00\u6b21\u6301\u7eed\u8fd1\u4e00\u5468\u7684 Nextcloud \u540e\u53f0\u6570\u636e\u5e93\u8fc1\u79fb\uff1aPreviewMigrationJob \u7684\u8d44\u6e90\u5931\u63a7\u3001\u9650\u901f\u6267\u884c\u4e0e\u6700\u7ec8\u5b8c\u6210"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u5728\u4e00\u6b21 Nextcloud \u5927\u7248\u672c\u5347\u7ea7\u4e4b\u540e\uff0c\u7cfb\u7edf\u8868\u9762\u4e0a\u5df2\u7ecf\u5b8c\u6210\u7248\u672c\u66f4\u65b0\uff0c\u7ef4\u62a4\u6a21\u5f0f\u4e5f\u5df2\u7ecf\u89e3\u9664\uff0c\u4f46\u6570\u636e\u5e93\u548c\u5b58\u50a8\u5c42\u4ecd\u7136\u5b58\u5728\u4e00\u4e2a\u6301\u7eed\u8fd0\u884c\u7684\u540e\u53f0\u8fc1\u79fb\u4efb\u52a1\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>OC\\Core\\BackgroundJobs\\PreviewMigrationJob<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u4e2a\u4efb\u52a1\u6700\u7ec8\u6301\u7eed\u4e86\u63a5\u8fd1\u4e00\u5468\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5b83\u5e76\u4e0d\u662f\u4f20\u7edf\u610f\u4e49\u4e0a\u201c\u6570\u636e\u5e93 Schema \u5347\u7ea7\u8dd1\u4e86\u4e00\u4e2a\u661f\u671f\u201d\uff0c\u800c\u662f Nextcloud \u628a\u4e00\u90e8\u5206\u5386\u53f2\u6570\u636e\u8fc1\u79fb\u62c6\u6210\u4e86\u540e\u53f0\u4efb\u52a1\uff0c\u4f7f\u4e3b\u7248\u672c\u5347\u7ea7\u53ef\u4ee5\u63d0\u524d\u7ed3\u675f\uff0c\u800c\u5927\u89c4\u6a21\u5386\u53f2\u6570\u636e\u8f6c\u6362\u5219\u5728\u670d\u52a1\u6062\u590d\u4e4b\u540e\u7ee7\u7eed\u8fdb\u884c\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u7c7b\u8bbe\u8ba1\u53ef\u4ee5\u7f29\u77ed\u7ef4\u62a4\u7a97\u53e3\uff0c\u4f46\u4e5f\u5e26\u6765\u4e86\u4e00\u4e2a\u5bb9\u6613\u88ab\u5ffd\u7565\u7684\u95ee\u9898\uff1a<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">\u5347\u7ea7\u5b8c\u6210\uff0c\u4e0d\u4ee3\u8868\u5347\u7ea7\u76f8\u5173\u7684\u6240\u6709\u6570\u636e\u8fc1\u79fb\u90fd\u5df2\u7ecf\u7ed3\u675f\u3002<\/p>\n<\/blockquote>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e00\u3001\u8fc1\u79fb\u7684\u5b9e\u9645\u89c4\u6a21<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u8be5\u5b9e\u4f8b\u79ef\u7d2f\u4e86\u5927\u91cf\u5386\u53f2 Preview \u6570\u636e\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f53\u65f6\u7edf\u8ba1\u5230\u7684\u8fc1\u79fb\u89c4\u6a21\u5927\u81f4\u4e3a\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u5f85\u5904\u7406\u8bb0\u5f55\uff1a\u7ea6 16 \u4e07\n\u5df2\u8fc1\u79fb\u8bb0\u5f55\uff1a\u6570\u767e\n\u5386\u53f2 Preview \u6587\u4ef6\uff1a\u7ea6 130 \u4e07\n\u5386\u53f2 Preview \u6570\u636e\u89c4\u6a21\uff1a\u7ea6 108 GiB<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u56e0\u6b64\uff0c\u8fd9\u5e76\u4e0d\u662f\u4e00\u4e2a\u51e0\u5341\u79d2\u80fd\u591f\u7ed3\u675f\u7684\u666e\u901a\u540e\u53f0\u4efb\u52a1\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Nextcloud \u4f1a\u8ba9 <code>PreviewMigrationJob<\/code> \u5206\u6279\u5904\u7406\u6570\u636e\uff0c\u800c\u4e0d\u662f\u5728\u7248\u672c\u5347\u7ea7\u8fc7\u7a0b\u4e2d\u4e00\u6b21\u6027\u5b8c\u6210\u5168\u90e8\u8fc1\u79fb\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u4e5f\u662f\u4e3a\u4ec0\u4e48\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>occ upgrade<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u5df2\u7ecf\u6267\u884c\u6210\u529f\uff0c<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>maintenance: false\nneedsDbUpgrade: false<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e5f\u90fd\u5df2\u7ecf\u6062\u590d\u6b63\u5e38\uff0c<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4f46\u540e\u53f0\u4ecd\u7136\u6301\u7eed\u8fdb\u884c\u6570\u636e\u8fc1\u79fb\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e8c\u3001\u771f\u6b63\u7684\u95ee\u9898\u4e0d\u662f\u201c\u6162\u201d\uff0c\u800c\u662f\u666e\u901a cron \u8c03\u5ea6\u4e0b\u51fa\u73b0\u8d44\u6e90\u5931\u63a7<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u6700\u5f00\u59cb\uff0c\u8fd9\u9879\u4efb\u52a1\u5b8c\u5168\u4ea4\u7ed9 Nextcloud \u6b63\u5e38\u7684 cron \u673a\u5236\u8fd0\u884c\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4f8b\u5982\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>*\/5 * * * * php -f &lt;NEXTCLOUD_ROOT&gt;\/cron.php --define apc.enable_cli=1<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u6b63\u5e38\u60c5\u51b5\u4e0b\uff0c\u8fd9\u79cd\u65b9\u5f0f\u6ca1\u6709\u95ee\u9898\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4f46\u5bf9\u4e8e\u4e00\u4e2a\u89c4\u6a21\u8fbe\u5230\u5341\u4e07\u7ea7\u6570\u636e\u5e93\u8bb0\u5f55\u3001\u767e\u4e07\u7ea7\u5386\u53f2 Preview \u6587\u4ef6\u7684\u8fc1\u79fb\u4efb\u52a1\u6765\u8bf4\uff0c\u95ee\u9898\u5f00\u59cb\u51fa\u73b0\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u540e\u53f0 PHP \u4efb\u52a1\u9010\u6e10\u5806\u79ef\uff0c\u90e8\u5206\u8fdb\u7a0b\u8fdb\u5165\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>D<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e5f\u5c31\u662f Linux \u4e2d\u7684\u4e0d\u53ef\u4e2d\u65ad I\/O \u7b49\u5f85\u72b6\u6001\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u968f\u540e\u7cfb\u7edf\u51fa\u73b0\u4e86\u660e\u663e\u5f02\u5e38\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>load average \u8d85\u8fc7 200\n\u5927\u91cf PHP \u8fdb\u7a0b\u5806\u79ef\n\u90e8\u5206\u8fdb\u7a0b\u5904\u4e8e D-state\n\u7cfb\u7edf\u51fa\u73b0 soft lockup\n\u51fa\u73b0\u5185\u5b58\u538b\u529b\njournald \u4e5f\u53d7\u5230\u5f71\u54cd<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">CPU \u672c\u8eab\u5e76\u4e0d\u662f\u4e3b\u8981\u74f6\u9888\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u771f\u6b63\u7684\u95ee\u9898\u66f4\u63a5\u8fd1\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u5927\u91cf\u957f\u65f6\u95f4\u8fd0\u884c\u7684\u540e\u53f0\u4efb\u52a1\n        +\n\u5b58\u50a8 I\/O\n        +\n\u6570\u636e\u5e93\u64cd\u4f5c\n        +\n\u666e\u901a cron \u5468\u671f\u7ee7\u7eed\u89e6\u53d1<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u6700\u7ec8\u5f62\u6210\u8d44\u6e90\u7ade\u4e89\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u8bf4\u660e\u4e00\u4e2a\u91cd\u8981\u4e8b\u5b9e\uff1a<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">Background Job \u4e0d\u7b49\u4e8e\u4f4e\u6210\u672c\u4efb\u52a1\u3002<\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">\u201c\u540e\u53f0\u6267\u884c\u201d\u53ea\u610f\u5473\u7740\u5b83\u4e0d\u963b\u585e Web \u8bf7\u6c42\u6216\u7248\u672c\u5347\u7ea7\uff0c\u5e76\u4e0d\u610f\u5473\u7740\u5b83\u4e0d\u4f1a\u6d88\u8017\u5927\u91cf I\/O\u3001\u6570\u636e\u5e93\u548c\u7cfb\u7edf\u8d44\u6e90\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e09\u3001\u6ca1\u6709\u76f4\u63a5\u5220\u9664\u4efb\u52a1\uff0c\u4e5f\u6ca1\u6709\u76f4\u63a5\u4fee\u6539\u6570\u636e\u5e93<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u9762\u5bf9\u8fd9\u79cd\u60c5\u51b5\uff0c\u6700\u5371\u9669\u7684\u65b9\u6cd5\u901a\u5e38\u6709\u4e24\u79cd\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e00\u79cd\u662f\u76f4\u63a5\u4ece\u540e\u53f0\u4efb\u52a1\u8868\u4e2d\u5220\u9664\u5bf9\u5e94 Job\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u53e6\u4e00\u79cd\u662f\u76f4\u63a5\u4fee\u6539 Nextcloud \u5185\u90e8\u6570\u636e\u5e93\u4e2d\u7684\u8fc1\u79fb\u72b6\u6001\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u4e24\u79cd\u65b9\u6cd5\u90fd\u53ef\u80fd\u8ba9\u5e94\u7528\u8bef\u4ee5\u4e3a\u8fc1\u79fb\u5df2\u7ecf\u5b8c\u6210\uff0c\u4ece\u800c\u7559\u4e0b\u4e0d\u5b8c\u6574\u7684\u6570\u636e\u72b6\u6001\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u56e0\u6b64\uff0c\u5904\u7406\u65b9\u5411\u5e76\u4e0d\u662f\u201c\u8df3\u8fc7\u4efb\u52a1\u201d\uff0c\u800c\u662f\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u8ba9\u5b83\u7ee7\u7eed\u6267\u884c\n\u4f46\u63a7\u5236\u5b83\u7684\u6267\u884c\u8282\u594f<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u9996\u5148\u786e\u8ba4\u4e86\u51e0\u4e2a\u5173\u952e\u4e8b\u5b9e\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u4efb\u52a1\u786e\u5b9e\u4ecd\u7136\u5728\u63a8\u8fdb\n\u4e0d\u662f\u6b7b\u5faa\u73af\n\u6570\u636e\u5e93\u672c\u8eab\u6ca1\u6709\u635f\u574f\n\u8fc1\u79fb\u5b58\u5728\u660e\u786e\u7684\u5b8c\u6210\u72b6\u6001\n\u4efb\u52a1\u5141\u8bb8\u5206\u6279\u6301\u7eed\u6267\u884c<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u56e0\u6b64\u6700\u7ec8\u91c7\u7528\u4e86\u5355\u72ec\u8c03\u5ea6\u65b9\u5f0f\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">\u56db\u3001\u628a PreviewMigrationJob \u4ece\u666e\u901a cron \u4e2d\u9694\u79bb\u51fa\u6765<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u968f\u540e\u521b\u5efa\u4e86\u4e00\u4e2a\u72ec\u7acb\u7684\u4e34\u65f6 systemd \u670d\u52a1\uff0c\u7528\u4e8e\u4e13\u95e8\u6267\u884c\u8fd9\u9879\u8fc1\u79fb\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u670d\u52a1\u6982\u5ff5\u4e0a\u7c7b\u4f3c\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;Service]\nUser=&lt;WEB_USER&gt;\nNice=19\nIOSchedulingClass=idle<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u5176\u4e2d\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Nice=19<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u8868\u793a\u628a CPU \u8c03\u5ea6\u4f18\u5148\u7ea7\u964d\u5230\u5f88\u4f4e\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u800c\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>IOSchedulingClass=idle<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u8868\u793a\u53ea\u6709\u5728\u5176\u4ed6\u8fdb\u7a0b\u6ca1\u6709\u660e\u663e I\/O \u9700\u6c42\u65f6\uff0c\u624d\u4f18\u5148\u8ba9\u8be5\u4efb\u52a1\u4f7f\u7528\u78c1\u76d8\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u76ee\u6807\u5e76\u4e0d\u662f\u8ba9\u8fc1\u79fb\u66f4\u5feb\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6070\u6070\u76f8\u53cd\uff0c\u76ee\u6807\u662f\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u8ba9\u5b83\u6162\u4e00\u70b9\n\u4f46\u4e0d\u8981\u5f71\u54cd\u6b63\u5e38 Nextcloud \u670d\u52a1<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e94\u3001\u6bcf\u6267\u884c\u4e00\u8f6e\uff0c\u4e3b\u52a8\u4f11\u7720<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u72ec\u7acb\u670d\u52a1\u91c7\u7528\u5faa\u73af\u65b9\u5f0f\u8fd0\u884c\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u903b\u8f91\u5927\u81f4\u5982\u4e0b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u68c0\u67e5\u8fc1\u79fb\u662f\u5426\u5b8c\u6210\n        \u2193\n\u6267\u884c\u4e00\u6b21 PreviewMigrationJob\n        \u2193\n\u8bb0\u5f55\u6267\u884c\u7ed3\u679c\n        \u2193\nsleep 60\n        \u2193\n\u518d\u6b21\u68c0\u67e5<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u5b9e\u9645\u65e5\u5fd7\u4e2d\u53ef\u4ee5\u770b\u5230\u7c7b\u4f3c\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Job executed!\nLast duration: &lt;DURATION&gt;\nRound finished; sleeping 60 seconds.<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u6837\u505a\u6709\u51e0\u4e2a\u4f18\u70b9\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u9996\u5148\uff0c\u4e00\u8f6e\u4efb\u52a1\u7ed3\u675f\u4e4b\u540e\u4e0d\u4f1a\u7acb\u523b\u7ee7\u7eed\u538b\u78c1\u76d8\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5176\u6b21\uff0c\u5373\u4f7f\u8fc1\u79fb\u8fc7\u7a0b\u5f88\u957f\uff0c\u4e5f\u53ef\u4ee5\u6e05\u6670\u770b\u5230\u6bcf\u8f6e\u6267\u884c\u65f6\u95f4\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u518d\u6b21\uff0c\u5982\u679c\u7cfb\u7edf\u5176\u4ed6\u670d\u52a1\u7a81\u7136\u4ea7\u751f I\/O\uff0c\u9ad8\u4f18\u5148\u7ea7\u4e1a\u52a1\u4ecd\u7136\u53ef\u4ee5\u5148\u4f7f\u7528\u78c1\u76d8\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">\u516d\u3001\u4efb\u52a1\u6301\u7eed\u4e86\u6570\u5929\uff0c\u4f46\u7cfb\u7edf\u6062\u590d\u7a33\u5b9a<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u91c7\u7528\u4f4e\u4f18\u5148\u7ea7\u5355\u72ec\u6267\u884c\u4e4b\u540e\uff0cPreviewMigrationJob \u4ecd\u7136\u6ca1\u6709\u8fc5\u901f\u7ed3\u675f\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6574\u4e2a\u8fc1\u79fb\u4ece\u5f00\u59cb\u5230\u6700\u7ec8\u5b8c\u6210\u6301\u7eed\u4e86\u5927\u7ea6\u4e94\u5929\u591a\uff0c\u63a5\u8fd1\u4e00\u5468\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4f46\u4e0e\u6700\u5f00\u59cb\u4e0d\u540c\u7684\u662f\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u7cfb\u7edf\u8d1f\u8f7d\u6062\u590d\u6b63\u5e38\n\u6ca1\u6709\u7ee7\u7eed\u5927\u91cf\u5806\u79ef D-state PHP\nNextcloud \u53ef\u4ee5\u6b63\u5e38\u4f7f\u7528\n\u5176\u4ed6 cron \u4efb\u52a1\u7ee7\u7eed\u8fd0\u884c\n\u6570\u636e\u5e93\u6ca1\u6709\u53d1\u751f\u5f02\u5e38<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e5f\u5c31\u662f\u8bf4\uff0c\u95ee\u9898\u5e76\u4e0d\u662f\u201c\u4efb\u52a1\u5b58\u5728\u201d\uff0c\u800c\u662f\u539f\u6765\u7684\u8c03\u5ea6\u65b9\u5f0f\u4e0d\u9002\u5408\u8fd9\u4e2a\u5b9e\u4f8b\u7684\u6570\u636e\u89c4\u6a21\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e03\u3001\u6700\u7ec8\u5b8c\u6210\u72b6\u6001<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u6700\u540e\u4e00\u6b21\u8fc1\u79fb\u7ed3\u675f\u540e\uff0c\u65e5\u5fd7\u51fa\u73b0\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Job executed!\nLast duration: &lt;DURATION&gt;\n\nRound finished; sleeping 60 seconds.\n\nPreview migration completed.<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u968f\u540e systemd \u670d\u52a1\u81ea\u52a8\u9000\u51fa\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Deactivated successfully.<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Nextcloud \u5185\u90e8\u5bf9\u5e94\u8fc1\u79fb\u5b8c\u6210\u6807\u5fd7\u4e5f\u5df2\u7ecf\u5199\u5165\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>previewMovedDone = 1<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e4b\u540e\u518d\u6b21\u68c0\u67e5\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u6ca1\u6709 PreviewMigrationJob \u8fc1\u79fb\u8fdb\u7a0b\n\u6ca1\u6709 D-state \u8fc1\u79fb\u4efb\u52a1\n\u4e34\u65f6 systemd \u670d\u52a1\u5df2\u7ecf\u6d88\u5931\npreviewMovedDone = 1<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u8bf4\u660e\u8fd9\u9879\u6301\u7eed\u6570\u5929\u7684\u6570\u636e\u8fc1\u79fb\u771f\u6b63\u7ed3\u675f\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">\u516b\u3001\u4e3a\u4ec0\u4e48\u5347\u7ea7\u5b8c\u6210\u540e\u8fd8\u4f1a\u6709\u8fd9\u79cd\u4efb\u52a1<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u73b0\u4ee3\u5927\u578b\u5e94\u7528\u8d8a\u6765\u8d8a\u503e\u5411\u4e8e\u628a\u5347\u7ea7\u8fc7\u7a0b\u62c6\u6210\u4e24\u90e8\u5206\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u5fc5\u987b\u5728\u7ef4\u62a4\u6a21\u5f0f\u5185\u5b8c\u6210\u7684\u5347\u7ea7\n+\n\u53ef\u4ee5\u6062\u590d\u670d\u52a1\u4e4b\u540e\u6162\u6162\u6267\u884c\u7684\u6570\u636e\u8fc1\u79fb<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u524d\u8005\u901a\u5e38\u5305\u62ec\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u6570\u636e\u5e93 Schema\n\u6838\u5fc3\u7248\u672c\u53f7\n\u5e94\u7528\u6ce8\u518c\n\u5fc5\u8981\u7684\u6570\u636e\u7ed3\u6784\u53d8\u66f4<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u540e\u8005\u5219\u53ef\u80fd\u5305\u62ec\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u5386\u53f2\u6570\u636e\u683c\u5f0f\u8f6c\u6362\n\u7d22\u5f15\u91cd\u5efa\n\u9884\u89c8\u8fc1\u79fb\nMetadata \u751f\u6210\n\u7f13\u5b58\u91cd\u6784\n\u5927\u578b\u6587\u4ef6\u6570\u636e\u6574\u7406<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u6240\u6709\u5de5\u4f5c\u90fd\u585e\u8fdb\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>php occ upgrade<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u90a3\u4e48\u62e5\u6709\u5927\u91cf\u5386\u53f2\u6570\u636e\u7684\u5b9e\u4f8b\u53ef\u80fd\u9700\u8981\u51e0\u4e2a\u5c0f\u65f6\u751a\u81f3\u66f4\u4e45\u624d\u80fd\u9000\u51fa\u7ef4\u62a4\u6a21\u5f0f\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u56e0\u6b64\u540e\u53f0\u8fc1\u79fb\u672c\u8eab\u5e76\u4e0d\u662f\u8bbe\u8ba1\u7f3a\u9677\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u771f\u6b63\u9700\u8981\u5173\u6ce8\u7684\u662f\u8d44\u6e90\u8c03\u5ea6\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e5d\u3001\u8fd9\u6b21\u4e8b\u4ef6\u5f97\u5230\u7684\u4e00\u4e2a\u91cd\u8981\u7ecf\u9a8c<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u4ee5\u540e\u9047\u5230\u7c7b\u4f3c\u60c5\u51b5\uff0c\u4e0d\u5e94\u8be5\u53ea\u95ee\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u8fd9\u4e2a\u4efb\u52a1\u4e3a\u4ec0\u4e48\u8fd9\u4e48\u6162\uff1f<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u66f4\u5e94\u8be5\u95ee\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u5b83\u662f\u5426\u4ecd\u5728\u63a8\u8fdb\uff1f\n\u5b83\u662f\u5426\u5141\u8bb8\u4e2d\u65ad\u540e\u7ee7\u7eed\uff1f\n\u5b83\u7684\u5b8c\u6210\u6761\u4ef6\u662f\u4ec0\u4e48\uff1f\n\u5b83\u7684 I\/O \u7279\u5f81\u662f\u4ec0\u4e48\uff1f\n\u5b83\u662f\u5426\u53ef\u4ee5\u964d\u4f4e\u8c03\u5ea6\u4f18\u5148\u7ea7\uff1f\n\u5b83\u662f\u5426\u6b63\u5728\u548c\u666e\u901a cron \u53d1\u751f\u7ade\u4e89\uff1f<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u4efb\u52a1\u4ecd\u7136\u7a33\u5b9a\u63a8\u8fdb\uff0c\u90a3\u4e48\u5f88\u591a\u65f6\u5019\u6700\u597d\u7684\u65b9\u6848\u4e0d\u662f\u201c\u6d88\u706d\u4efb\u52a1\u201d\uff0c\u800c\u662f\u8ba9\u5b83\u4ee5\u7cfb\u7edf\u80fd\u591f\u627f\u53d7\u7684\u901f\u5ea6\u5b8c\u6210\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u6b21 PreviewMigrationJob \u6700\u7ec8\u8bc1\u660e\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u6570\u636e\u6ca1\u6709\u635f\u574f\n\u6570\u636e\u5e93\u6ca1\u6709\u635f\u574f\n\u8fc1\u79fb\u903b\u8f91\u672c\u8eab\u53ef\u4ee5\u6b63\u5e38\u5b8c\u6210<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u771f\u6b63\u9700\u8981\u4fee\u6b63\u7684\uff0c\u662f\u8c03\u5ea6\u7b56\u7565\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5bf9\u4e8e\u957f\u671f\u8fd0\u884c\u3001\u79ef\u7d2f\u4e86\u5927\u91cf\u5386\u53f2\u6570\u636e\u7684\u81ea\u6258\u7ba1\u5b9e\u4f8b\u6765\u8bf4\uff0c\u8fd9\u79cd\u533a\u522b\u975e\u5e38\u91cd\u8981\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u4e00\u6b21 Nextcloud \u5927\u7248\u672c\u5347\u7ea7\u4e4b\u540e\uff0c\u7cfb\u7edf\u8868\u9762\u4e0a\u5df2\u7ecf\u5b8c\u6210\u7248\u672c\u66f4\u65b0\uff0c\u7ef4\u62a4\u6a21\u5f0f\u4e5f\u5df2\u7ecf\u89e3\u9664\uff0c\u4f46\u6570\u636e\u5e93\u548c\u5b58\u50a8\u5c42\u4ecd\u7136\u5b58\u5728\u4e00\u4e2a\u6301\u7eed\u8fd0\u884c\u7684\u540e\u53f0\u8fc1\u79fb\u4efb\u52a1\uff1a \u8fd9\u4e2a\u4efb\u52a1\u6700\u7ec8\u6301\u7eed\u4e86\u63a5\u8fd1\u4e00\u5468\u3002 \u5b83\u5e76\u4e0d\u662f\u4f20\u7edf\u610f\u4e49\u4e0a\u201c\u6570\u636e\u5e93 Schema \u5347\u7ea7\u8dd1\u4e86\u4e00\u4e2a\u661f\u671f\u201d\uff0c\u800c\u662f Nextcloud \u628a\u4e00\u90e8\u5206\u5386\u53f2\u6570\u636e\u8fc1\u79fb\u62c6\u6210\u4e86\u540e\u53f0\u4efb\u52a1\uff0c\u4f7f\u4e3b\u7248\u672c\u5347\u7ea7\u53ef\u4ee5\u63d0\u524d\u7ed3\u675f\uff0c\u800c\u5927\u89c4\u6a21\u5386\u53f2\u6570\u636e\u8f6c\u6362\u5219\u5728\u670d\u52a1\u6062\u590d\u4e4b\u540e\u7ee7\u7eed\u8fdb\u884c\u3002 \u8fd9\u7c7b\u8bbe\u8ba1\u53ef\u4ee5\u7f29\u77ed\u7ef4\u62a4\u7a97\u53e3\uff0c\u4f46\u4e5f\u5e26\u6765\u4e86\u4e00\u4e2a\u5bb9\u6613\u88ab\u5ffd\u7565\u7684\u95ee\u9898\uff1a \u5347\u7ea7\u5b8c\u6210\uff0c\u4e0d\u4ee3\u8868\u5347\u7ea7\u76f8\u5173\u7684\u6240\u6709\u6570\u636e\u8fc1\u79fb\u90fd\u5df2\u7ecf\u7ed3\u675f\u3002 \u4e00\u3001\u8fc1\u79fb\u7684\u5b9e\u9645\u89c4\u6a21 \u8be5\u5b9e\u4f8b\u79ef\u7d2f\u4e86\u5927\u91cf\u5386\u53f2 Preview \u6570\u636e\u3002 \u5f53\u65f6\u7edf\u8ba1\u5230\u7684\u8fc1\u79fb\u89c4\u6a21\u5927\u81f4\u4e3a\uff1a \u56e0\u6b64\uff0c\u8fd9\u5e76\u4e0d\u662f\u4e00\u4e2a\u51e0\u5341\u79d2\u80fd\u591f\u7ed3\u675f\u7684\u666e\u901a\u540e\u53f0\u4efb\u52a1\u3002 Nextcloud \u4f1a\u8ba9 PreviewMigrationJob \u5206\u6279\u5904\u7406\u6570\u636e\uff0c\u800c\u4e0d\u662f\u5728\u7248\u672c\u5347\u7ea7\u8fc7\u7a0b\u4e2d\u4e00\u6b21\u6027\u5b8c\u6210\u5168\u90e8\u8fc1\u79fb\u3002 \u8fd9\u4e5f\u662f\u4e3a\u4ec0\u4e48\uff1a \u5df2\u7ecf\u6267\u884c\u6210\u529f\uff0c \u4e5f\u90fd\u5df2\u7ecf\u6062\u590d\u6b63\u5e38\uff0c \u4f46\u540e\u53f0\u4ecd\u7136\u6301\u7eed\u8fdb\u884c\u6570\u636e\u8fc1\u79fb\u3002 \u4e8c\u3001\u771f\u6b63\u7684\u95ee\u9898\u4e0d\u662f\u201c\u6162\u201d\uff0c\u800c\u662f\u666e\u901a cron \u8c03\u5ea6\u4e0b\u51fa\u73b0\u8d44\u6e90\u5931\u63a7 \u6700\u5f00\u59cb\uff0c\u8fd9\u9879\u4efb\u52a1\u5b8c\u5168\u4ea4\u7ed9 Nextcloud \u6b63\u5e38\u7684 cron \u673a\u5236\u8fd0\u884c\u3002 \u4f8b\u5982\uff1a \u6b63\u5e38\u60c5\u51b5\u4e0b\uff0c\u8fd9\u79cd\u65b9\u5f0f\u6ca1\u6709\u95ee\u9898\u3002 \u4f46\u5bf9\u4e8e\u4e00\u4e2a\u89c4\u6a21\u8fbe\u5230\u5341\u4e07\u7ea7\u6570\u636e\u5e93\u8bb0\u5f55\u3001\u767e\u4e07\u7ea7\u5386\u53f2 Preview \u6587\u4ef6\u7684\u8fc1\u79fb\u4efb\u52a1\u6765\u8bf4\uff0c\u95ee\u9898\u5f00\u59cb\u51fa\u73b0\u3002 \u540e\u53f0 PHP \u4efb\u52a1\u9010\u6e10\u5806\u79ef\uff0c\u90e8\u5206\u8fdb\u7a0b\u8fdb\u5165\uff1a \u4e5f\u5c31\u662f Linux \u4e2d\u7684\u4e0d\u53ef\u4e2d\u65ad I\/O \u7b49\u5f85\u72b6\u6001\u3002 \u968f\u540e\u7cfb\u7edf\u51fa\u73b0\u4e86\u660e\u663e\u5f02\u5e38\uff1a CPU \u672c\u8eab\u5e76\u4e0d\u662f\u4e3b\u8981\u74f6\u9888\u3002 \u771f\u6b63\u7684\u95ee\u9898\u66f4\u63a5\u8fd1\uff1a &hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[119],"tags":[],"class_list":["post-6221","post","type-post","status-publish","format-standard","hentry","category-pou9fnwy10bjp8h"],"_links":{"self":[{"href":"https:\/\/blog.eternalsphere.net\/index.php\/wp-json\/wp\/v2\/posts\/6221","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.eternalsphere.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.eternalsphere.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.eternalsphere.net\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.eternalsphere.net\/index.php\/wp-json\/wp\/v2\/comments?post=6221"}],"version-history":[{"count":1,"href":"https:\/\/blog.eternalsphere.net\/index.php\/wp-json\/wp\/v2\/posts\/6221\/revisions"}],"predecessor-version":[{"id":6222,"href":"https:\/\/blog.eternalsphere.net\/index.php\/wp-json\/wp\/v2\/posts\/6221\/revisions\/6222"}],"wp:attachment":[{"href":"https:\/\/blog.eternalsphere.net\/index.php\/wp-json\/wp\/v2\/media?parent=6221"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.eternalsphere.net\/index.php\/wp-json\/wp\/v2\/categories?post=6221"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.eternalsphere.net\/index.php\/wp-json\/wp\/v2\/tags?post=6221"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}