本文介绍了AWS部署“无法删除顶级文件夹"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了Bitbucket插件以与AWS CodeDeploy一起部署,但是由于未知的原因,当我尝试从bitbucket视图进行部署时,出现此错误无法删除顶级文件夹" .

I have installed the Bitbucket addon to deploy with AWS CodeDeploy but for an unknown reason, I get this error "Unable to remove top level folder" when I try to deploy from the bitbucket view.

这是我的appspec.yml

This is my appspec.yml

version: 0.0
os: linux
files:
   - source: /
   destination: /var/www/citytwig
hooks:
  AfterInstall:
    - location: scripts/configure.sh
    timeout: 300
    runas: root

我已经成功部署了其他Bitbucket存储库,我想知道为什么这个存储库不起作用.

I have already deployed other bitbucket repositories successfully, I'm wondering why this one doesn't work.

推荐答案

经过长时间的搜索,我发现文件名中包含俄语字符.似乎Bitbucket CodeDeploy插件对此类型的字符有问题.

After a long searching, I realized that a file had Russian characters on his filename.It seems that the Bitbucket CodeDeploy Addon have issues with this kind of characters.

这篇关于AWS部署“无法删除顶级文件夹"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-25 01:14