nextcloud / nextcloud/nextcloud-docker-dev
Blackfire enabled by default?
まだ誰も着手していません。
- 主要言語
- PHP
- スター
- 190
- フォーク
- 103
- 平均マージ
- 4時間 36分
- マージ済み PR(30日)
- 1
説明
Hi, I've noticed a lot of php_network_getaddresses: getaddrinfo for blackfire failed: Name or service not known errors in the nextcloud logs. A quick search surfaced this older issue, which discusses the same: https://github.com/juliusknorr/nextcloud-docker-dev/issues/57
In the end, a changelog entry was referenced, stating that blackfire (and xdebug) should be disabled by default, with scripts to enable / disable them. However, it seems that this is not the case (any more?).
When I start a fresh set of containers (e.g. docker compose up stable31), I see blackfire enabled (docker compose exec stable31 php -m | grep -i blackfire). I can use ./scripts/php-mod-config stable31 blackfire off to disable it, that seems to work. But whenever I recreate the container, it comes back and I have to manually disable again.
- Shouldn't blackfire be disabled by default?
- Is there a simple way to permanently disable blackfire that persists container re-creation?
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
docker compose up stable31 で起動する stable31 サービスと、既存の scripts/php-mod-config エントリーポイントから始めます。docker compose exec stable31 php -m | grep -i blackfire でモジュールの状態を再現し、その後、コンテナの再作成によって Blackfire がどのように設定されるかを追跡します。新しいコンテナが文書化されたデフォルトに従い、再作成後も設定が保持されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- docker-compose, php
- 領域
- devops
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100