使用 drush 更新 Drupal 时出错
Error while updating Drupal with drush
我想更新我的 drupal,但是当我执行 drush up 时出现错误:
The tb_sirate_starter directory could not be found within the profiles directory at /var/www/html/project/sites/all/modules/tb_megamenu, perhaps the project is enabled but has been deleted from disk.
我有 tb_megamenu 我尝试安装 tb_sirate_starter 但错误没有消失
在更新 Drupal 数据库中的系统 table 之前,更新可能移动了文件并失败了。
尝试安装 Regsitry Rebuild 项目(如果尚未安装)并运行重建注册表:https://www.drupal.org/project/registry_rebuild。
您可以通过执行以下命令查看是否已经安装并运行它:
drush rr
如果您还没有安装它,请继续安装它并按照项目页面上的说明进行安装 运行。
一旦完成,运行 updb 和缓存也会清除:
drush updb -y
drush cc all
在执行任何这些操作之前,请务必备份您的数据库和代码库(正如您在 运行开始您最初的尝试之前以及在任何和所有升级之前都应该做的那样)。
我想更新我的 drupal,但是当我执行 drush up 时出现错误:
The tb_sirate_starter directory could not be found within the profiles directory at /var/www/html/project/sites/all/modules/tb_megamenu, perhaps the project is enabled but has been deleted from disk.
我有 tb_megamenu 我尝试安装 tb_sirate_starter 但错误没有消失
在更新 Drupal 数据库中的系统 table 之前,更新可能移动了文件并失败了。
尝试安装 Regsitry Rebuild 项目(如果尚未安装)并运行重建注册表:https://www.drupal.org/project/registry_rebuild。
您可以通过执行以下命令查看是否已经安装并运行它:
drush rr
如果您还没有安装它,请继续安装它并按照项目页面上的说明进行安装 运行。
一旦完成,运行 updb 和缓存也会清除:
drush updb -y
drush cc all
在执行任何这些操作之前,请务必备份您的数据库和代码库(正如您在 运行开始您最初的尝试之前以及在任何和所有升级之前都应该做的那样)。