dppx9253 2016-03-02 11:58
浏览 81
已采纳

Azure上的Drupal update.php抛出错误“无法连接到服务器”

For migrating D7.3 to D7.42 completed the normal steps. Post that run /update.php.

  1. => Requirements verifications was okay
  2. => Overview stage instructions in place
  3. => Review updates "Runs for 2-3 minutes" and then throws back error as below:

Could not connect to server Overview: Could not connect to abc.azurewebsites.net . Details: Peer disconnected after first handshake message: Possibly SSL/TLS Protocol level is too low or unsupported on the server

URL formed in browser even during the error is as below:-
https://abc.azurewebsites.net/update.php?op=selection&token=JYkvAlNOkbWlBmj8BFRDrUlWmFXmZIysqgXO9ZzUjNs

Other Details

=> Azure Subscription  
=> To Scale, Kept instance count to 3/ Pricing Tier to standard / Instance size to medium 2 cores.  
=> First time, I run, I got the Review updates stage with 2 database columns alteration message listed and applied it. After few couple of attempts, I also got the message "No Pending updates" and link to front and admin sites.  
=> In Settings.php, $update_free_access = TRUE was kept for update run.  

Query:

  1. Am curious to know why this Peer disconnected message came in between the attempts?
    b. Is it because of my SSL using TLS1.2? How to avoid this in future?
  • 写回答

1条回答 默认 最新

  • dql123000 2016-03-10 05:25
    关注

    I follow the official guide at https://www.drupal.org/node/1494290 to upgrade Drupal from 7.3x to 7.42, which works fine on my side. Also I cannot reproduce your issue here.

    And there some points we should pay attention to during the updating.

    1. make sure to set the site on maintenance mode
    2. Delete all the files & folders inside your original Drupal instance except for /sites (do not delete web.config as well on Azure). Which should be in D:\home\site\wwwroot on Azure Web Apps.
    3. Copy all the folders and files except /sites from inside the extracted Drupal package [tar ball or zip package] into your original Drupal instance location. On Azure, we can login KUDU console site of your Web Apps Service and directly copy the zip package to the file list table to automatically upload and extract the zip to Azure.
    4. Login to your site as administrator and Run update.php.

    As a workaround, you can upgrade your site on locally, and with the database connection info to the MySQL Service on Azure. Then deploy your new Drupal site to Azure.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 如何让企业微信机器人实现消息汇总整合
  • ¥50 关于#ui#的问题:做yolov8的ui界面出现的问题
  • ¥15 如何用Python爬取各高校教师公开的教育和工作经历
  • ¥15 TLE9879QXA40 电机驱动
  • ¥20 对于工程问题的非线性数学模型进行线性化
  • ¥15 Mirare PLUS 进行密钥认证?(详解)
  • ¥15 物体双站RCS和其组成阵列后的双站RCS关系验证
  • ¥20 想用ollama做一个自己的AI数据库
  • ¥15 关于qualoth编辑及缝合服装领子的问题解决方案探寻
  • ¥15 请问怎么才能复现这样的图呀