我正在azure应用服务上部署一个flask应用程序,使用ci/cd与github和kudu集成。在新推送到存储库之后,应用程序应该根据最新代码自动重新部署。但重新部署失败,错误日志如下:
...
Done running pip install.
Compressing existing 'antenv' folder...
Done in 31 sec(s).
Copying files to destination directory '/home/site/wwwroot'...
rsync: rename "/home/site/wwwroot/.logs.log.ghpy4f" -> "logs.log": Permission denied (13)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1196) [sender=3.1.2]
rsync: rename "/home/site/wwwroot/.logs.log.ghpy4f" -> "logs.log": Permission denied (13)\nrsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1196) [sender=3.1.2]\n/opt/Kudu/Scripts/starter.sh oryx build /home/site/repository -o /home/site/wwwroot --platform python --platform-version 3.7 -i /tmp/8d811ef91eff275 -p compress_virtualenv=tar-gz -p virtualenv_name=antenv --log-file /tmp/build-debug.log
注意:“logs.log”文件是项目根目录中的一个文件,我在其中存储应用程序的运行时异常/错误。
提前谢谢!
暂无答案!
目前还没有任何答案,快来回答吧!