{"id":95565,"date":"2020-03-29T11:15:48","date_gmt":"2020-03-29T03:15:48","guid":{"rendered":"http:\/\/4563.org\/?p=95565"},"modified":"2020-03-29T11:15:48","modified_gmt":"2020-03-29T03:15:48","slug":"%e5%b0%86-vps-%e4%b8%8a-drupal-%e7%bd%91%e7%ab%99%e8%bf%81%e7%a7%bb%e5%88%b0-docker%e5%af%bc%e5%85%a5%e6%95%b0%e6%8d%ae%e5%ba%93%e5%90%8e%e7%bd%91%e7%ab%99%e6%89%93%e4%b8%8d%e5%bc%80-%e6%b1%82","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=95565","title":{"rendered":"\u5c06 VPS \u4e0a drupal \u7f51\u7ad9\u8fc1\u79fb\u5230 docker,\u5bfc\u5165\u6570\u636e\u5e93\u540e\u7f51\u7ad9\u6253\u4e0d\u5f00.\u6c42\u5927\u5bb6\u6307\u5bfc"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u5c06 VPS \u4e0a drupal \u7f51\u7ad9\u8fc1\u79fb\u5230 docker,\u5bfc\u5165\u6570\u636e\u5e93\u540e\u7f51\u7ad9\u6253\u4e0d\u5f00.\u6c42\u5927\u5bb6\u6307\u5bfc               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : programV2 <\/span>  <span><i><\/i> 68<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\">                        \u4ee5\u4e0b\u662f\u6211\u7684\u64cd\u4f5c\u6b65\u9aa4: (\u8bf7 V \u53cb\u4eec\u5e2e\u6211\u770b\u770b\u600e\u4e48\u6392\u67e5\u95ee\u9898, \u5f04\u4e86\u4e24\u5929\u4e86\u8fd8\u662f\u641e\u4e0d\u5b9a, \u8c22\u8c22<\/p>\n<p>1.\u5728 VPS \u4e0a\u7684\u8fd0\u884c Docker \u73af\u5883\uff0c\u914d\u7f6e(php7.2+mysql5.7+ngninx1.12)\u73af\u5883, docker compose \u597d\u540e\u4e0a\u4f20\u4e00\u4e2a\u5168\u65b0\u7684 drupal8 \u5b89\u88c5\u5305\u5b89\u88c5\u6d4b\u8bd5\uff0c\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u6ca1\u6709\u51fa\u73b0\u5f02\u5e38\u63d0\u793a, \u8bf4\u660e\u73af\u5883\u642d\u5efa\u6b63\u5e38\u3002<br \/>2. \u5b89\u88c5\u65f6\u8bbe\u7f6e\u7f51\u7ad9\u548c\u6570\u636e\u5e93\u4fe1\u606f\uff0c\u5c06\u672c\u5730\u6240\u6709\u6587\u4ef6\u548c\u76ee\u5f55\u6309\u539f\u7ed3\u6784\u4e0a\u4f20\u5230 docker \u76f8\u5e94\u5bb9\u5668\u6302\u8f7d\u76ee\u5f55\uff0cmysql \u5c06\u5907\u4efd\u6570\u636e\u5e93\u6587\u4ef6\u5bfc\u5165\uff1b<br \/>3. \u4fee\u6539 \/sites\/default\/settings.php \u6587\u4ef6\u4e2d\u7684\u6570\u636e\u5e93\u7528\u6237\u540d\u3001\u6570\u636e\u5e93\u8868\u3001\u6570\u636e\u5e93\u5bc6\u7801\u3002<\/p>\n<p>\u8c22\u8c22\u5927\u5bb6, \u795d\u5927\u5bb6\u6625\u8282\u5feb\u4e50!      <\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>31<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"819489\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : manami <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             More detail\u2026\u770b\u65e5\u5fd7\u62a5\u9519\u4fe1\u606f\uff0c\u4e00\u4e9b\u76ee\u5f55\u6587\u4ef6\u7684\u5199\u5165 \/\u8bfb\u53d6\u6743\u9650\u662f\u5426\u7ed9\u4e86\uff1f\u4fee\u6539\u914d\u7f6e\u6587\u4ef6\u540e\u662f\u5426\u91cd\u542f\u4e86\u76f8\u5173\u670d\u52a1\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"819490\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : sleepm <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4f60\u628a\u62a5\u9519\u8d34\u51fa\u6765\u624d\u80fd\u5e2e\u4f60\u6392\u67e5\u95ee\u9898                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"819491\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : programV2 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @manami \u8c22\u8c22. \u76f8\u5173\u76ee\u5f55\u53ca\u6587\u4ef6\u6743\u9650\u90fd\u7ed9\u4e86, \u4e5f\u91cd\u542f\u4e86\u597d\u51e0\u6b21, <br \/>@sleepm \u8c22\u8c22. \u6d4f\u89c8\u5668\u62a5\u9519\u5982\u4e0b, \u4e00\u4f1a\u6211\u628a\u65e5\u5fd7\u8d34\u4e0a\u6765, <\/p>\n<p>An error occurred.<\/p>\n<p>Sorry, the page you are looking for is currently unavailable.<br \/>Please try again later.<\/p>\n<p>If you are the system administrator of this resource then you should check the error log for details.<\/p>\n<p>Faithfully yours, nginx.                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"819492\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : gefranks <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u770b\u4e0b aceess log\uff0cngnix \u9ed8\u8ba4\u7684\u7f51\u9875\u662f\u4e0d\u662f\u8bbe\u597d\u4e86 \u5728 nginx.conf \u91cc                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"819493\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : manami <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @programV2 \u770b nginx \u65e5\u5fd7\uff0c\u4e0d\u662f\u9875\u9762\u9519\u8bef\u4fe1\u606f\u3002\u6216\u8005\uff0c\u5f00 ssh \u8ba9\u6211\u4e0a\u53bb\u770b\u770b \/ \u72d7\u5934                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"819494\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : programV2 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8c22\u8c22 V \u53cb\u4eec, @gefranks @manami @sleepm \u867d\u7136\u6211\u91cd\u65b0\u642d\u5efa\u5bfc\u5165\u6570\u636e\u5e93\u540e\u7f51\u7ad9\u53ef\u4ee5\u6253\u5f00, \u4f46\u7531\u4e8e\u539f\u6765\u8001\u7f51\u7ad9\u5f00\u542f\u4e86 reCAPTCHA \u6a21\u5757, \u65e7\u57df\u540d\u5f03\u7528\u4e86, \u73b0\u5728\u8fdb\u4e0d\u4e86\u540e\u53f0\u4e86, \u8fde\u540e\u53f0\u5bc6\u7801\u4e5f\u5fd8\u8bb0\u4e86, \u6211\u8bbf\u95ee\u5bb9\u5668\u767b\u9646\u6570\u636e\u5e93\u5c1d\u8bd5\u5173\u95ed\u6a21\u5757, \u6267\u884c UPDATE system SET status = 0 WHERE name = &#8220;recaptcha&#8221;; \u51fa\u73b0\u5982\u4e0b\u9519\u8bef : <\/p>\n<p>ERROR 1146 (42S02): Table &#8216;drupal.system&#8217; doesn&#8217;t exist, <\/p>\n<p>\u6211\u7684\u6570\u636e\u5e93\u540d \u662f drupal , \u662f\u6211\u8fd9\u4e2a\u547d\u4ee4\u5199\u9519\u4e86\u5417?<\/p>\n<p>\u53e6\u5916\u8bf7\u6559 V \u53cb\u4eec \u4f60\u4eec\u662f\u5982\u4f55\u5728 docker \u4e0a\u5b89\u88c5 drush \u7684, \u8c22\u8c22!                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"819495\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : sleepm <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8fd9\u4e2a\u9519\u8bef\u662f\u8bf4 drupal.system \u8fd9\u4e2a\u8868\u4e0d\u5b58\u5728\uff0c\u4e5f\u5c31\u662f\u4f60\u53ef\u80fd\u6ca1\u6709\u628a\u6570\u636e\u5e93\u6062\u590d\u56de\u53bb<br \/>\u6216\u8005\u4f60\u8fdb mysql \u4e4b\u540e\u6ca1\u6709\u6267\u884c use drupal;<br \/>\u6570\u636e\u5e93\u57fa\u7840\u3002\u3002\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"819496\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : sleepm <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e00\u6b65\u4e00\u6b65\u628a\u4f60\u4e0d\u61c2\u7684\u4e1c\u897f\uff0c\u8f6c\u6362\u6210\u4f60\u61c2\u7684\u4e1c\u897f\uff0c\u5c31\u6bd4\u5982\u82f1\u6587\u62a5\u9519\uff0c\u6162\u6162\u4f60\u5c31\u80fd\u81ea\u5df1\u627e\u5230\u89e3\u51b3\u65b9\u6cd5                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"819497\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : programV2 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @sleepm \u8c22\u8c22 V \u53cb\u6307\u70b9, \u4f46\u6211\u6267\u884c\u4e86 mysql -u user -p drupal \u5df2\u7ecf\u9009\u4e2d\u4e86\u6570\u636e\u5e93\u5440<\/p>\n<p>\u6211\u7b2c\u4e00\u6b21\u63a5\u89e6 Drupal \u5e76\u4e14\u5b98\u65b9\u6587\u6863\u6ca1\u6709 docker \u5185\u5bb9\uff0c\u7f51\u4e0a\u5173\u4e8e\u8fd9\u4e2a\u7684\u5185\u5bb9\u4e5f\u5f88\u5c11\uff0c\u627e\u4e0d\u5230\u4e00\u4e2a\u53ef\u4ee5\u53c2\u8003\u7684\uff0c                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"819498\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : sleepm <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u90a3\u4f60\u5c31\u770b\u770b docker \u7684\u77e5\u8bc6\u5427\u3002\u3002\u91cd\u70b9\u4e0d\u662f drupal on docker\uff0c\u662f docker                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"819499\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : programV2 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @sleepm \u8bf7\u95ee Drupal \u5173\u95ed recaptcha \u6a21\u5757\u662f\u5728 System \u8fd9\u4e2a\u8868\u5417\uff1f\u5982\u4f55\u67e5\u770b\u5728\u54ea\u4e2a table \u5173\u95ed recaptcha \u6a21\u5757\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"819500\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : programV2 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @sleepm \u786e\u8ba4\u5df2\u7ecf\u6709\u628a\u6570\u636e\u5e93\u6062\u590d\u56de\u53bb\u4e86\uff0c\u4e0d\u7136\u7f51\u7ad9\u4e0a\u5185\u5bb9\u90fd\u4f1a\u662f\u7a7a\u7684\uff0c\u73b0\u5728\u662f\u7531\u4e8e\u8fd9\u4e2a recaptcha \uff0b\u5fd8\u4e86\u540e\u53f0\u5bc6\u7801\u5c31\u8fdb\u4e0d\u4e86\u540e\u53f0\u7684                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"819501\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : programV2 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @sleepm \u67e5\u770b\u6587\u6863\u4e5f\u662f\u7528 UPDATE system SET status = 0 WHERE name = &#8220;recaptcha&#8221;; \u4e0d\u77e5\u9053\u4e3a\u4ec0\u4e48\u63d0\u793a\u8868\u540d\u4e0d\u5b58\u5728\uff1f system table \u6709\u4e0d\u540c\u7684\u540d\u79f0\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"819502\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : merryfreespace <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             For D8:<\/p>\n<p>1. remove module<br \/>2. truncate table cache_config                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"819503\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : sleepm <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e0d\u8981\u770b\u7f51\u7ad9\u6709\u5185\u5bb9\u6570\u636e\u5e93\u5c31\u6062\u590d\u56de\u53bb\u4e86\uff0c\u4f60\u8981\u5728 mysql \u91cc show tables;<br \/>drupal \u6211\u4e0d\u61c2\uff0c\u4f46\u662f docker \u6211\u77e5\u9053                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"819504\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : programV2 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @merryfreespace thank you for your help. in this case i would like to disable captcha module manually in the database, reCaptcha has blocked me out of admin panel of my website, now i have access to my server and database thru SSH, when i ran command:<br \/>UPDATE system SET status = 0 WHERE name = &#8220;recaptcha&#8221;; <\/p>\n<p>Seeing an error<br \/> \u201cERROR 1146 (42S02): Table &#8216;drupal.system&#8217; doesn&#8217;t exist, <\/p>\n<p>When i ran the following command to show table , i can not find the table named &#8220;system&#8221; of 131 rows in set: <br \/>select table_name from information_schema.tables where table_schema=&#8217;drupal&#8217; and table_type=&#8217;base table&#8217;;<\/p>\n<p>So wondering if I use the right table name? how to find the exact system table name to disable captcha module in Drupal \uff1f my Drupal version is 8.5.5 Thank you very much.                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"819505\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : programV2 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @merryfreespace when i ran command to show database, it looks like : <br \/>| information_schema |<br \/>| drupal |<br \/>+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;+<br \/>2 rows in set                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"819506\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : programV2 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @sleepm \u8c22\u8c22                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"819507\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : sleepm <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5927\u54e5<br \/>mysql&gt; show tables;<br \/>\u5982\u679c\u5217\u51fa\u6765\u6709 system \u90a3\u5c31\u770b\u4e0b\u9762\u7684<br \/>drush cache-clear<br \/>http:\/\/alejandro.bio\/node\/113                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"819508\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : programV2 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @sleepm \u662f\u7684, \u6211\u5c31\u662f\u6267\u884c show tables; \u6ca1\u6709\u770b\u5230\u4efb\u4f55\u5305\u542b System \u7684\u8bb0\u5f55\uff0c\u8fd9\u4e2a\u53ef\u80fd\u662f\u4ec0\u4e48\u539f\u56e0\u5462\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"819509\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : sleepm <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5907\u4efd\u6570\u636e\u5e93\u6587\u4ef6\u662f.sql \u8fd8\u662f mysql\/data \u76ee\u5f55<br \/>\u662f sql \u7684\u8bdd\uff0c\u4f60\u6253\u5f00\u770b\u6709\u6ca1\u6709 system \u8868\uff0c\u6ca1\u6709\u7684\u8bdd\uff0c\u91cd\u88c5 drupal \u5427\uff0c\u7136\u540e\u539f\u6765\u7684\u6587\u7ae0\u5565\u7684\uff0c\u76f4\u63a5\u628a\u6570\u636e\u8868\u66ff\u6362\u6389                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"819510\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : programV2 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @sleepm \u8c22\u8c22\u5927\u4f6c, \u6211\u5907\u4efd\u7684\u6570\u636e\u5e93\u6587\u4ef6\u662f .sql , \u6253\u5f00\u770b\u6ca1\u6709 system \u8868, \u8bf7\u95ee\u6211\u91cd\u88c5 drupal \u540e\u8be5\u600e\u4e48\u64cd\u4f5c? \u628a\u6570\u636e\u8868\u66ff\u6362\u6210\u4ec0\u4e48?                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"819511\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : sleepm <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5b89\u88c5\u4e00\u4e2a\u65b0\u7684 drupal\uff0c\u7136\u540e\u5907\u4efd\u6570\u636e\u5e93\uff0c\u628a\u5907\u4efd\u51fa\u6765\u7684 sql \u548c\u524d\u9762\u5907\u4efd\u7684\u505a diff\uff0c<br \/>\u7136\u540e\u627e\u51fa\u4f60\u7684\u6587\u7ae0\u4e4b\u7c7b\u7684\uff0c\u628a\u90a3\u4e9b sql \u8bed\u53e5\u590d\u5236\u51fa\u6765\uff0c\u5f04\u4e00\u4e2a\u65b0\u7684.sql \uff0c\u518d\u505a\u5bfc\u5165                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"819512\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : programV2 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @sleepm \u6211\u7684\u5907\u4efd\u6570\u636e\u5e93\u5e94\u8be5\u662f\u6210\u529f\u5bfc\u5165\u4e86, \u56e0\u4e3a\u6211\u5c1d\u8bd5\u7528\u7f51\u7ad9\u4e0a\u7684\u7ad9\u5185\u641c\u7d22\u529f\u80fd, \u4e00\u5207\u6b63\u5e38\u7684, \u6240\u4ee5\u73b0\u5728\u95ee\u9898\u662f\u6211\u8be5\u5728\u54ea\u4e2a\u6570\u636e\u8868\u5173\u95ed\u6a21\u5757? \u8c22\u8c22. \u795d\u597d.                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"819513\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : sleepm <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             http:\/\/alejandro.bio\/node\/113                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"819514\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : programV2 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @sleepm \u8c22\u8c22                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"819515\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : sleepm <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5176\u4ed6\u65b9\u6cd5\u4e5f\u662f\u641e\u6570\u636e\u5e93\uff0c\u628a\u7f3a\u5931\u7684\u8868\u8865\u56de\u53bb                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"819516\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : programV2 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @sleepm \u8c22\u8c22\uff01 \u6211\u7528 cat drupal\/backup.sql | docker exec -i drupal8_mysql \/usr\/bin\/mysql -u root &#8211;password=password drupal \u5bfc\u5165\u6570\u636e\u5e93\u548c\u4e0b\u9762\u8fd9\u79cd\u65b9\u5f0f\u6709\u4ec0\u4e48\u533a\u522b\u5417\uff1f<br \/>docker exec -i drupal8_mysql \/usr\/bin\/mysql -u root &#8211;password=password drupal \uff1c drupal\/backup.sql                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"819517\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : sleepm <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5982\u679c\u7ed3\u679c\u90fd\u4e00\u6837\uff0c\u5e94\u8be5\u6ca1\u5565\u533a\u522b\u3002\u3002<br \/>| \u662f\u7ba1\u9053\u7b26<br \/>&lt; \u662f\u91cd\u5b9a\u5411\u7b26\u53f7                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"819518\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : merryfreespace <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             Drupal 8 \u6ca1\u6709 system table.<\/p>\n<p>\u5220\u9664\u6389 recaptcha module<br \/>truncate table cache_config \u7528\u6765\u6e05\u7a7a\u7f13\u5b58\u8868\u7684<\/p>\n<p>\u5982\u679c\u4f60\u719f\u6089 drupal console\uff1a<br \/>Disable module<br \/>.\/vendor\/bin\/drupal mou module_name<\/p>\n<p>Enable module<br \/>.\/vendor\/bin\/drupal moi module_name<\/p>\n<p>Drush \u547d\u4ee4\u4e0a\u9762\u6709\u4eba\u4ecb\u7ecd\u4e86\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"819519\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : programV2 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @merryfreespace \u975e\u5e38\u611f\u8c22 V \u53cb\u7684\u5e2e\u52a9!! \u6211\u8bd5\u7740\u628a recaptcha \u548c captcha \u4e24\u4e2a\u6587\u4ef6\u5939\u90fd\u5220\u9664\u6389\u4e86, \u7136\u540e\u8fdb\u5165\u6570\u636e\u5e93\u6267\u884c\u4e86\u4e0b\u5217\u547d\u4ee4\u6e05\u9664\u7f13\u5b58, \u5e76\u91cd\u542f\u6240\u6709\u5bb9\u5668, \u4f46\u662f captcha \u9519\u8bef\u63d0\u793a\u8fd8\u662f\u51fa\u73b0(\u89c1\u9644\u56fe)<br \/>TRUNCATE cache_config;<br \/>TRUNCATE cache_container;<br \/>TRUNCATE cache_data;<br \/>TRUNCATE cache_default;<br \/>TRUNCATE cache_discovery;<br \/>TRUNCATE cache_dynamic_page_cache;<br \/>TRUNCATE cache_entity;<br \/>TRUNCATE cache_menu;<br \/>TRUNCATE cache_render;<br \/>TRUNCATE cache_toolbar;<\/p>\n<p>\u9644\u56fe:![PNG]( https:\/\/i.loli.net\/2020\/01\/23\/OFRub36ecsyAJfD.png)<\/p>\n<p>\u5df2\u591a\u6b21\u91cd\u542f\u672c\u5730\u7535\u8111\u548c\u6d4f\u89c8\u5668\u4f7f\u7528\u9690\u79c1\u6a21\u5f0f                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u5c06 VPS \u4e0a drupal \u7f51\u7ad9&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/95565"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=95565"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/95565\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=95565"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=95565"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=95565"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}