-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
上线出错-是bug? #27
Comments
软链接不能覆盖目录 /var/www/publish, |
软链接不能覆盖目录 /var/www/publish, |
对的,软链接不能覆盖目录 /var/www/publish,rm -rf /var/www/publish 但是这个系统生产的脚本,我也没法改它 如果重新部署,不知道问题的根源是什么,根源不找到,重新部署一遍也未必可以啊 |
问题解决 |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
错误信息:
全量更新服务器出错:'10.93.0.4 : mv: cannot overwrite directory '/var/www/publish' with non-directory'
'ssh -p 22 -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no www@10.74.0.4 "sh -c "ln -sfn /var/www/releases/portal-html/20151028-151637 /var/www/releases/portal-html/current-portal-html.tmp && chown -h www /var/www/releases/portal-html/current-portal-html.tmp && mv -fT /var/www/releases/portal-html/current-portal-html.tmp /var/www/publish""'
很明显是最后一段shell有问题:
mv -fT /var/www/releases/portal-html/current-portal-html.tmp /var/www/publish
直接执行也会报错:mv: 无法以非目录来覆盖目录"/var/www/publish"
是bug吧
The text was updated successfully, but these errors were encountered: