0

我在新的linux主機上的Azure App Service平臺上託管我的博客。它工作正常,但現在網站無法訪問,並且出現錯誤「正在安裝WordPress ...這可能會在幾分鐘內完成,請刷新您的稍後瀏覽器「。這一直保持這樣的狀態。Azure App Service Linux託管WordPress錯誤「安裝WordPress ...這可能會在幾分鐘內完成,請稍後刷新瀏覽器。」

我檢查了健康,一切都fine.I試圖通過編輯的wp-config.php文件,使PHP loggiong通過添加這兩條線

define('WP_DEBUG', true); 
define('WP_DEBUG_LOG', true); 

但我沒有看到生成的日誌文件。訪問phpMyAdmin的提示錯誤

"No route registered for '/phpmyadmin/'" 

此MSDN blog說,我可能需要升級我的搬運工image.I有一些博客已經創建,我想做任何事情之前創建一個出口DB。

我還在log_errors = on中添加了.user.ini文件,但沒有看到記錄的任何錯誤。

編輯:

下面是從docket_XX_err.log文件中的錯誤:

2017-04-21T03:06:06.663993010Z AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 172.17.0.3. Set the 'ServerName' directive globally to suppress this message 
2017-04-21T03:06:14.616897475Z ERROR 1102 (42000) at line 1: Incorrect database name '' 
2017-04-21T04:06:56.519319746Z AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 172.17.0.3. Set the 'ServerName' directive globally to suppress this message 
2017-04-21T04:07:00.414460896Z ERROR 1102 (42000) at line 1: Incorrect database name '' 

**編輯2 **

更新搬運工圖像appsvc /應用:WordPress的:0.1下面顯示沒有解決問題。

dockerimage update

在docker_XX日誌中的錯誤表示

Digest: sha256:ca50223ff969665a64ed3b690124f56d1cc51754331e94baa80327dcc474c020 
Status: Image is up to date for appsvc/apps:wordpress 
wordpress: Pulling from appsvc/apps 
Digest: sha256:ca50223ff969665a64ed3b690124f56d1cc51754331e94baa80327dcc474c020 
Status: Image is up to date for appsvc/apps:wordpress 
wordpress: Pulling from appsvc/apps 

更新圖像後,我仍然無法訪問phpMyAdmin來導出我的數據。

回答

0
  1. Using KUDU with Microsoft Azure Web Apps

我們可以貓日誌通過捻,就像這樣:導航到 HTTPS://*****.scm.azurewebsites.net其中*** **是您的 網絡應用的名稱。

  • LogFiles文件位置與捻
  • 調試控制檯=>擊=> LogFiles文件

    我們可以發現從*****.log files(e.g. cat docker/docker_*****_err.log). 錯誤味精能你在這裏發佈你的日誌?謝謝

    +0

    將日誌條目添加到 –

    +0

    後遺憾的延遲。通常,我們可以從這裏獲取啓動日誌:**/home/LogFiles/docker/docker_xx_err.log **。如果日誌沒用,我們可以在這裏訪問:**/home/LogFiles/error_xx.log ** – Song

    0

    從微軟的支持得到這個。

    首先將FTP導入到當前的Azure Web應用程序中,並對文件內容進行備份,特別是「MySQL」文件夾。

    轉到您的Web應用程序的應用程序設置刀片,並更新爲下列文件中所建議的名稱「密鑰」名稱: https://github.com/Azure-App-Service/apps/blob/master/Wordpress/README.md

    現在,到泊塢窗集裝箱刀片和更新「圖像和可選標記「價值 - 」appsvc/apps:wordpress-0.1「

    一旦你這樣做,你可以訪問你的web應用程序的phpmyadmin,並獲取當前的WordPress網站應用程序的數據庫的備份,以下URL:yourwebappname.azurewebsites.net/phpmyadmin。