我在新的 linux 主机上的 Azure App Service 平台上托管我的博客。它工作正常,但现在无法访问该网站,并且出现错误“正在安装 WordPress ...这可以在几分钟内完成。请稍后刷新浏览器。” 这将永远如此。
我检查了健康状况,一切都很好。我尝试通过添加这两行来编辑 wp-config.php 来启用 php loggiong
define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
但我没有看到生成的日志文件。访问 phpmyadmin 会出错
"No route registered for '/phpmyadmin/'"
这个 msdn 博客说我可能需要升级我的 docker 映像。我已经创建了一些博客,我想在做任何事情之前创建一个导出数据库。
我还添加了带有 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**
将 docker 映像更新为如下所示的 appsvc/apps:wordpress:0.1 并没有解决问题。
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 来导出我的数据。