有朋友在walle部署上线单报错如下:
mv: cannot overwrite directory ‘/www’ with non-directory
![mv: cannot overwrite directory ‘/www’ with non-directory](https://i-blog.csdnimg.cn/blog_migrate/0140411341c965b51a108174d3e1aee0.png)
解决方法
先来做个原因分析:项目设置中, 目标集群部署路径错误原因通常如下:
举例: 假设你的
项目名称:laofan
在目标服务器的路径: /www/wwwdata/laofan
那么,你在标集群部署路径 就可以写: /www/wwwdata/laofan
,但是,你的目标服务器 不能有laofan 这个文件夹,walle 会自行创建。
我的具体操作步骤如下图:
![walle部署上线单](https://i-blog.csdnimg.cn/blog_migrate/c68ffba7f598aa35798984abfcd87934.png)
![walle部署上线单](https://i-blog.csdnimg.cn/blog_migrate/5f9b94540b9536d1c41ebb5239b2efd5.png)
![walle部署上线单](https://i-blog.csdnimg.cn/blog_migrate/6979ba201bddd9039c3b60c01c216513.png)
至此,部署成功!