Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPBカップ
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

WordPressで「定期メンテナンスのためブリーフリー・アナバイズド(Briefly Unavailable for Scheduled Maintenance)」エラーを修正する方法

編集メモ: WPBeginner のパートナーリンクから手数料を得ています。手数料は編集者の意見や評価に影響を与えません。編集プロセスについて詳しく知る。

WordPressで「定期メンテナンスのため、一時的にご利用いただけません」というエラーが出ていませんか?

このエラーは通常、WordPressのコア、プラグイン、テーマの更新中に外観が表示されます。基本的に、WordPress サイトが更新を完了できず、メンテナンス モードで固定表示されたままになります。

この投稿では、WordPressの「Briefly unavailable for scheduled maintenance」エラーを簡単に修正する方法を紹介します。また、このエラーが発生する理由と、今後このエラーを回避する方法もご紹介します。

Fix Briefly Unavailable for Scheduled Maintenance Error in WordPress

WordPressのメンテナンスモードとは?

WordPressのメンテナンスモードのページは、厳密にはエラーではありません。通知ページです。

更新プロセス中、WordPress は必要な更新ファイルをサーバーにダウンロードし、解凍してから更新をインストールします。

WordPressはまた、サイトをメンテナンスモードにし、「定期メンテナンスのため、一時的にご利用いただけません。しばらくお待ちください。

Unavailable for scheduled maintenance error in WordPress

メンテナンスモード通知をトリガーするために、WordPressはサイトのルートフォルダーに一時的な.maintenanceファイルを作成します。

すべてが正常に動作している場合、この通知はおそらく数秒間しか表示されません。更新が成功すると、WordPressは自動的にメンテナンスファイルを削除し、メンテナンスモードを無効化します。

しかし、WordPressホスティングサービスのサーバーの応答が遅い、またはメモリ不足の問題により、更新スクリプトがタイムアウトして処理が中断されることがあります。このような場合、WordPressはサイトをメンテナンスモードから解除することができません。

言い換えれば、WordPressサイトはメンテナンスモードの通知を表示し続け、手動で修正する必要があります。

もしこのようなエラーが起きたとしても、心配はいりません。このガイドに従って問題を解決してください。これらのクイックリンクを使って、チュートリアルのさまざまな部分に飛ぶことができます:

動画チュートリアル

Subscribe to WPBeginner

もし、文章での説明がお望みなら、このまま読み進めてほしい。

設定1:.maintenanceファイルを削除する

ウェブサイトをメンテナンスモードから解除するには、FileZillaのようなFTPクライアントまたはホスティングサービスのファイルマネージャーアプリを使用して、サイトのルートフォルダから.maintenanceファイルを削除するだけです。

サイトのファイルに接続し、.maintenanceファイルを見つけて右クリックし、「削除」を選択するだけです。

Delete maintenance file

WordPressのルートディレクトリに .maintenanceファイルが見つからない場合は、FTPクライアントが非表示ファイルを表示するように設定されていることを確認してください。

FileZilla では、メニューバーのServer ” Force showing hiddenfiles をクリックすることで、クライアントに非表示ファイルを強制的に表示させることができます。

Show hidden files in FTP

.maintenanceファイルが削除されると、サイトはメンテナンスモードを解除し、エラーは修正されます。

オプション2:wp-activate.phpファイルを更新する。

上記の修正を行ってもWordPressがメンテナンス・モードのまま動かない場合は、 、WordPressのメイン・フォルダーにあるwp-activate.phpファイルを更新する必要があります。これは、.maintenanceファイルを見つけて削除したのと同じ場所です。

ホスティングサービスのファイルマネージャーアプリを使ってファイルを開くか、FTPを使ってコンピューターにダウンロードする必要があります。

次に、コードを見つける必要がある:

 define ('WP_INSTALLING', true)

次に、’true’を’false’に変更する。

つまり、あなたのコードは次のようになる:

define ('WP_INSTALLING', false)

その後、変更を保存し、FTPを使用してホスティングサービスサーバーにファイルをアップロードする必要があります。ホスティングサービスのファイルマネージャーを使用している場合は、ファイルを保存するだけでメンテナンスモードを解除できます。

設定3:すべてのWordPressプラグインを一時的に無効化する

未完成または中断された更新は、サイトがメンテナンスモードを解除したときに問題を引き起こす可能性があります。

WordPressプラグインの更新中にエラーが発生した場合は、FTPを使用してWordPressプラグインをすべて一時的に無効化する必要があります。この手順により、破損したプラグインが無効化され、サイトがオンラインに戻ります。

次に、WordPressダッシュボードにログインし、プラグインを1つずつ有効化して、問題の原因となったプラグインを確認する必要があります。その後、プラグインの更新を手動でインストールし、正常に動作するようにする必要があります。

一方、WordPressのコアソフトウェアの更新中にこのエラーが発生した場合は、WordPressを安全に更新するためのガイドに従ってください。

WordPressのメンテナンスモードエラーを防ぐ方法

Briefly unavailable for scheduled maintenance」エラーは、サーバーの応答が遅いか、Webホスティングプランのメモリが制限されていることが原因で発生することがあることはすでに知っています。

このイライラを避けるために、いくつかの予防策を見てみよう。ひとつは、プラグインやテーマをひとつずつ更新すること。

私たちはすべて効率的でありたいと思っているが、スピードが裏目に出ることもある。すべてのプラグインを一度に「更新」ボタンをクリックすると、WordPressは順番をずらして更新します。接続が少しでも遅れると、コンフリクトが発生し、サイトがメンテナンス・モードから抜け出せなくなる可能性がある。

それよりも、もっと忍耐強いアプローチをとりましょう。プラグインや テーマをひとつずつ更新していきましょう。こうすることで、問題が発生した場合、原因を特定しやすくなり、素早く問題を解決することができます。

WordPress Plugin Update One at a Time

一度に1つずつ更新してもメンテナンスモードエラーが発生する場合は、現在のホスティングサービスプランではサイトに必要なリソースが不足している可能性があります。

より高いプランにアップグレードするか、Bluehostのような信頼できるプロバイダーに移行することで、将来このエラーに遭遇する可能性を大幅に減らすことができます。

また、マネージドWordPressホスティングサービスを利用することもお勧めします。これらのプロバイダーは、スピードと信頼性のためにWordPressサイトを最適化することに特化しており、よりスムーズなエクスペリエンスのための素晴らしいオプションとなっています。

メンテナンスモード通知のカスタマイズ方法

あなたのWordPressサイトは、更新やその他の理由でメンテナンスモードにする必要があるかもしれませんが、デフォルトのメンテナンスページは地味でつまらないので捨てたいと思うかもしれません。

そのような場合は、SeedProdのようなプラグインを使用することができます。SeedProdは、メンテナンスモード機能を備えたWordPressページビルダープラグインです。

ドラッグ&ドロップビルダーを使用してメンテナンスモードページをカスタマイズし、さまざまなメールマーケティングツールを統合することができます。

プラグインについての詳細をお知りになりたい場合は、SeedProdのレビューをご覧ください。

まず、あなたのサイトにSeedProdプラグインをインストールする必要があります。詳しくは、WordPressプラグインのインストール方法のステップバイステップガイドをご覧ください。

有効化した後、WordPressの管理画面からSeedProd ” ランディングページに移動し、「メンテナンスモードページの設定」ボタンをクリックしてください。

Click the Set up maintenance mode page button

その後、メンテナンスモードのページのテンプレートを選択する必要があります。

使いたいテンプレートにマウスオーバーし、チェックアイコンをクリックするだけです。

Select the maintenance mode template in SeedProd

次に、SeedProdドラッグアンドドロップビルダーを使ってメンテナンスモードページをカスタマイズすることができます。このプラグインは、テキスト、画像、ボタンの標準ブロックと、カウントダウンタイマー、お問い合わせフォーム、ソーシャル共有ボタンなどの高度なブロックを提供します。

左側のメニューから好きなブロックを右側のテンプレートにドラッグするだけです。

SeedProd visual editor

SeedProdはまた、テンプレート内のブロックをあなたの好きなように配置するのがとても簡単です。さらに、どの要素をクリックしても、その色、サイズ、テキスト、フォントなどを編集することができます。

メンテナンスモードのページに満足したら、「保存」ボタンをクリックして変更を保存します。次に、’ページ設定’タブに移動し、ページの状態トグルをクリックしてページを公開します。

Publish your maintenance mode page

これで、ウェブサイトを更新するときはいつでも、WordPressウェブサイトのメンテナンスモードページを有効化するだけです。

ページを有効化するには、WordPressダッシュボードからSeedProd ” ページに移動し、メンテナンスモードを「有効」に切り替えます。

Activating maintenance mode for a WooCommerce store

その後、あなたのサイトにアクセスして、メンテナンスモードのページを実際に見ることができます。

こんな感じだろうか:

Maintenance mode page preview

メンテナンス・モードのページをどのようにデザインするかについては、メンテナンス・ページのアイデアに関する投稿をご覧ください。

この投稿がWordPressの「Briefly unavailable for scheduled maintenance」エラーの修正にお役に立てば幸いです。WordPressのよくあるエラーの修正方法や、coming soonとメンテナンスモードの違いについてのガイドもお読みください。

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

情報開示 私たちのコンテンツは読者支援型です。これは、あなたが私たちのリンクの一部をクリックした場合、私たちはコミッションを得ることができることを意味します。 WPBeginnerの資金源 をご覧ください。3$編集プロセスをご覧ください。

Avatar

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

究極のWordPressツールキット

ツールキットへの無料アクセス - すべてのプロフェッショナルが持つべきWordPress関連製品とリソースのコレクション!

Reader Interactions

101件のコメント返信を残す

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Jiří Vaněk says

    Thank you for explaining why this file is created on FTP. I haven’t been able to figure out why it creates sometimes and sometimes it doesn’t. I dealt with it mainly on foreign websites, when I was asked about a repair. I knew about the FTP file, but I didn’t know why it was created and stayed there. From your article I learned for the first time much more about how this whole mechanism works.

  3. Mich says

    Hi, this tutorial works for me temporarily; when I try to update a plugin (any one), it keeps saying that the update failed, and the maintenance error message comes back up again. I signed out and signed back in a few times, refreshed the page, deleted the maintenance file every time it appears again, but nothing’s working.

    Any idea what’s causing this?

    • WPBeginner Support says

      There are many possible reasons, we would recommend using the recommendation from the end of our article for a workaround!

      管理者

  4. Tek Child says

    Hello,
    First of all, thanks for saving my site. I had the same problem with my localhost website and was so tensed because I was about to make it live today. This problem occurred when I tried updating ewww image optimizer. I don’t know how to say thanks to you.
    Thanks for the information.

  5. James says

    This article done the trick for me, simply deleted the file from the directory. Useful post guys, thanks a lot.

    James

  6. Syed says

    Awesome, its really easy I was worried, but this articles helped me to get rid of all my worries. Thank you very much

  7. Heather Cook says

    This is all great but I can’t login to the site anymore. How do I fix anything if I can’t login? Help???!!!

  8. amanda says

    hi there,

    i had the message saying briefly unavailable for schedule maintenance. check in a minute.

    I went on site and it just show blank screen, what does this mean?

    thanks.

  9. Juan Carlos Rodríguez says

    Hi. Thanks a lot for this tutorial. You saved me from reseting my hosting account in order to restart my web design.

    God bless.

  10. Rahman says

    yay, my website live again after deleting maintenance files in cpanel, i’am wait for some minutes and keep maintenance, thanks for info

  11. Phors says

    Thank you. I found it. I have one question. Why we cannot update plugin? While I was updating I face that error.

  12. javad says

    i found that when host can not connect to update wordpress this problem occur
    thank you
    but how we can prevent WP to disable plugins??
    in this problem my site was reachable but all plugins not work and sitemap was error in google

  13. Eduard says

    It will be nice if WordPress will provide a script to delete .maintenance file via direct link, because if you don’t have accesto FTP your dead!

  14. Paul Okeke says

    This is a great article. saved me hours of research and frustration.
    Thanks for WPBeginners Editorial Team

  15. Becky says

    Thanks. Site back up and running. It got stuck in maintenance. Removed file from FTP and all back as it should be.

返信を残す

コメントありがとうございます。すべてのコメントは私たちのコメントポリシーに従ってモデレートされ、あなたのメールアドレスが公開されることはありませんのでご留意ください。名前欄にキーワードを使用しないでください。個人的で有意義な会話をしましょう。