nextcloud / nextcloud/nextcloud-docker-dev

Blackfire enabled by default?

オープン
#421 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

bug
主要言語
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?

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. 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

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。