nextcloud / nextcloud/nextcloud-docker-dev
Blackfire enabled by default?
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- PHP
- Star
- 190
- Fork
- 103
- Merge trung bình
- 4 giờ 36 phút
- Pull request đã merge (30 ngày)
- 1
Mô tả
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?
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu với service stable31 được gọi bằng docker compose up stable31 và entry point scripts/php-mod-config hiện có. Tái hiện trạng thái module bằng docker compose exec stable31 php -m | grep -i blackfire, sau đó theo dõi cách việc tạo lại container cấu hình Blackfire. Công việc được xem là hoàn tất khi một container mới tuân theo mặc định được ghi trong tài liệu và thiết lập vẫn được giữ lại sau khi tạo lại.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- docker-compose, php
- Lĩnh vực
- devops
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 45/100