フォーラム掲示板について

以下の目的、注意点などご確認いただき、ご使用ください。

目的
Connect-CMSのユーザやConnect-CMSに興味のある方同士で自由に意見交換できる場を提供する目的で、コミュニティ掲示板として提供しています。
投稿方法
このサイトにユーザー登録することで、投稿することができます。
投稿内容
投稿内容は公開されます。
Connect-CMSに無関係な内容が記載されたと判断した場合、削除することがあります。
バグ情報
バグ(不具合)はGithub のIssues(https://github.com/opensource-workshop/connect-cms/issues)に記載していただくと、開発者に伝わりやすくなります。
また、セキュリティなど重大な事象の場合は、お問い合わせページよりお知らせください。優先的に調査いたします。
また、貢献ガイド(https://connect-cms.jp/abount/contributions)も参照をお願いします。

フォーラムでのサポート範囲

当フォーラムでは、Connect-CMSのトラブルなどの相談も記載いただけますが、作業を肩代わりするものではありません。
作業の依頼は、株式会社オープンソース・ワークショップの調査メニューなどをご検討ください。
https://opensource-workshop.jp/service/rescue

フォーラム掲示板

1.17.1から1.17.3へのアップデートでエラー

2024年3月29日 09時39分 [nkawashiri]

お世話になります。

connect-CMSを1.17.1から1.17.3へアップデートしようとしたところ、Laravelコンフィグキャッシュのクリアをした時点で以下のエラーが表示されてしまい、サイトにアクセスすると白い画面表示になってしまいました。

---------------

In ProviderRepository.php line 208:

                                                         

  Class "Mews\Captcha\CaptchaServiceProvider" not found  

                                                         

---------------------

git pull && git checkout $(git describe --tags --abbrev=0)をした際に、以下のメッセージが出ていたのを理解できていません。どのように対処すればよろしいでしょうか。

-----------------

You are in 'detached HEAD' state. You can look around, make experimental

changes and commit them, and you can discard any commits you make in this

state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may

do so (now or later) by using -c with the switch command. Example:

  git switch -c

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

--------------------

(更新:2024年3月30日 15時48分)
スレッドの記事一覧
1.17.1から1.17.3へのアップデートでエラー
2024-03-29 [nkawashiri]

お世話になります。

connect-CMSを1.17.1から1.17.3へアップデートしようとしたところ、Laravelコンフィグキャッシュのクリアをした時点で以下のエラーが表示されてしまい、サイトにアクセスすると白い画面表示になってしまいました。

---------------

In ProviderRepository.php line 208:

                                                         

  Class "Mews\Captcha\CaptchaServiceProvider" not found  

                                                         

---------------------

git pull && git checkout $(git describe --tags --abbrev=0)をした際に、以下のメッセージが出ていたのを理解できていません。どのように対処すればよろしいでしょうか。

-----------------

You are in 'detached HEAD' state. You can look around, make experimental

changes and commit them, and you can discard any commits you make in this

state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may

do so (now or later) by using -c with the switch command. Example:

  git switch -c

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

--------------------

こんにちは。牟田口です。

--- 1点目

> connect-CMSを1.17.1から1.17.3へアップデートしようとしたところ、Laravelコンフィグキャッシュのクリアをした時点で以下のエラーが表示されてしまい、サイトにアクセスすると白い画面表示になってしまいました。

---------------

In ProviderRepository.php line 208:

                                                         

  Class "Mews\Captcha\CaptchaServiceProvider" not found  

                                                         

→ composer installコマンドを実行すると解消するかと思いますので、試してみてください。

https://github.com/opensource-workshop/connect-cms/wiki/Update-%28%E3%82%A2%E3%83%83%E3%83%97%E3%83%87%E3%83%BC%E3%83%88%29#download-the-latest-library-using-composercomposer%E3%81%A7%E5%88%A9%E7%94%A8%E3%83%A9%E3%82%A4%E3%83%96%E3%83%A9%E3%83%AA%E3%81%AE%E6%9C%80%E6%96%B0%E3%82%92%E3%83%80%E3%82%A6%E3%83%B3%E3%83%AD%E3%83%BC%E3%83%89

--- 2点目

---------------------

git pull && git checkout $(git describe --tags --abbrev=0)をした際に、以下のメッセージが出ていたのを理解できていません。どのように対処すればよろしいでしょうか。

-----------------

You are in 'detached HEAD' state. You can look around, make experimental

changes and commit them, and you can discard any commits you make in this

state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may

do so (now or later) by using -c with the switch command. Example:

  git switch -c

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

> --------------------

このメッセージ気になりますよね。

注意メッセージですのでスルーで大丈夫です。

(ざっくり内容:gitのブランチ作らずに切り替わってるよ状態(detached HEAD:切り離されたHEAD)だから注意メッセージ表示したよ、のようです。
もしgitの詳しい内容が知りたい場合はネット検索してみてください。
また、私の場合、英語メッセージ系は機械翻訳してある程度内容を把握してたりします。ご参考まで)

githubのwiki > アップデートにも表示メッセージについて追記しました。ご参考まで。

https://github.com/opensource-workshop/connect-cms/wiki/Update-(%E3%82%A2%E3%83%83%E3%83%97%E3%83%87%E3%83%BC%E3%83%88)#-git-checkout%E6%99%82%E3%81%AB%E8%A1%A8%E7%A4%BA%E3%81%95%E3%82%8C%E3%82%8B%E3%83%A1%E3%83%83%E3%82%BB%E3%83%BC%E3%82%B8

> こんにちは。牟田口です。

 お世話になります。コメントありがとうございます。

> --- 1点目

>

> > connect-CMSを1.17.1から1.17.3へアップデートしようとしたところ、Laravelコンフィグキャッシュのクリアをした時点で以下のエラーが表示されてしまい、サイトにアクセスすると白い画面表示になってしまいました。

---------------

In ProviderRepository.php line 208:

                                                         

  Class "Mews\Captcha\CaptchaServiceProvider" not found  

                                                         

> → composer installコマンドを実行すると解消するかと思いますので、試してみてください。

https://github.com/opensource-workshop/connect-cms/wiki/Update-%28%E3%82%A2%E3%83%83%E3%83%97%E3%83%87%E3%83%BC%E3%83%88%29#download-the-latest-library-using-composercomposer%E3%81%A7%E5%88%A9%E7%94%A8%E3%83%A9%E3%82%A4%E3%83%96%E3%83%A9%E3%83%AA%E3%81%AE%E6%9C%80%E6%96%B0%E3%82%92%E3%83%80%E3%82%A6%E3%83%B3%E3%83%AD%E3%83%BC%E3%83%89

 composerで利用ライブラリの最新をダウンロードしたところエラーは出ずに無事にアップデートできました。

> --- 2点目

---------------------

git pull && git checkout $(git describe --tags --abbrev=0)をした際に、以下のメッセージが出ていたのを理解できていません。どのように対処すればよろしいでしょうか。

-----------------

You are in 'detached HEAD' state. You can look around, make experimental

changes and commit them, and you can discard any commits you make in this

state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may

do so (now or later) by using -c with the switch command. Example:

  git switch -c

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

> > --------------------

> このメッセージ気になりますよね。

> 注意メッセージですのでスルーで大丈夫です。

> (ざっくり内容:gitのブランチ作らずに切り替わってるよ状態(detached HEAD:切り離されたHEAD)だから注意メッセージ表示したよ、のようです。
> もしgitの詳しい内容が知りたい場合はネット検索してみてください。
> また、私の場合、英語メッセージ系は機械翻訳してある程度内容を把握してたりします。ご参考まで)

> githubのwiki > アップデートにも表示メッセージについて追記しました。ご参考まで。

> https://github.com/opensource-workshop/connect-cms/wiki/Update-(%E3%82%A2%E3%83%83%E3%83%97%E3%83%87%E3%83%BC%E3%83%88)#-git-checkout%E6%99%82%E3%81%AB%E8%A1%A8%E7%A4%BA%E3%81%95%E3%82%8C%E3%82%8B%E3%83%A1%E3%83%83%E3%82%BB%E3%83%BC%E3%82%B8

 こちらは無視して良かったと言うことで理解しました。

 今後ともよろしくお願いします。