仔细阅读所有Azure教程后,我无法部署我的应用程序。
我使用了以下步骤:
重新启动Web App后,我收到了消息:
Service Unavailable
我无法使用SSH连接,但是,使用Kudu,我能够检查日志文件。显然,这个问题与Ruby依赖关系有关,但我不知道如何解决。
2018-02-06 00:54:43.965 INFO - Logging is not enabled for this container.
Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here.
2018-02-06 00:54:48.292 INFO - Container logs
2018-02-06T00:54:45.106381390Z Starting OpenBSD Secure Shell server: sshd.
2018-02-06T00:54:45.313181989Z Bundle install with no 'without' options
2018-02-06T00:54:45.313337691Z Defaulting gem installation directory to /tmp/bundle
2018-02-06T00:54:45.313459292Z Defaulting site config directory to /home/site/config
2018-02-06T00:54:45.313575793Z Generating a secret key base
2018-02-06T00:54:45.641497487Z RAILS_ENV set to production
2018-02-06T00:54:45.641616888Z Removing any leftover pids if present
2018-02-06T00:54:45.649293251Z Running bundle check
2018-02-06T00:54:45.649606153Z /opt/startup.sh: line 67: [: : integer expression expected
2018-02-06T00:54:46.700604188Z You are replacing the current local value of path, which is currently "/home/site/wwwroot/vendor/bundle"
2018-02-06T00:54:47.793612367Z missing dependencies, try redeploying
2018-02-06 00:54:48.293 ERROR - Container xxx for site xxx has exited, failing site start
有人确实通过这个吗? 我怀疑可能与某些应用程序配置有关,但据我所知,它是可选的。