【发布时间】:2023-04-09 15:59:01
【问题描述】:
我在 OSX 上使用 vagrant 作为环境(使用 PUPHPET 制作),我使用 NFS 同步文件夹。
但是我尝试在上面安装drupal,由于文件不可写,安装失败。
您有任何解决方案来更改 NFS 同步文件夹的权限吗?还是我应该使用不同的同步文件夹?
Error
The website encountered an unexpected error. Please try again later.
Exception: The directory <em class="placeholder">sites/default/files/config_UoG7KuH42rAreqqHW3qJvJP1SKbBL5Bsoln_xR2lZ4cXUkSW7M3ZCb-QyQi3vFJ8zr5pdnWuPQ/sync</em> could not be created or could not be made writable. To proceed with the installation, either create the directory and modify its permissions manually or ensure that the installer has the permissions to create it automatically. For more information, see the <a href="https://www.drupal.org/server-permissions">online handbook</a>. in drupal_install_config_directories() (line 508 of core/includes/install.inc).
【问题讨论】:
-
你能分享你的确切错误信息吗?
-
@SaeX 感谢您的回答,我在帖子中添加了确切的错误消息!
-
只需删除同步文件夹的 nfs 类型,看看是否有效?
-
我试过了,它可以工作,但它真的很慢,加载页面需要 4-5 秒...我应该尝试 rsync 吗? @FrédéricHenri
标签: macos drupal drupal-7 vagrant puphpet