[Bug]: After upgrade the webUI page with logs started to decline to be shown
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- javascript
調査の方向性
まず、約 90 MB の nextcloud.log を使って logreader の web UI の障害を再現し、その後、ログファイルの名前を変更する前と後でページの動作を比較します。Issue に記載されているログ表示とログローテーションの動作を調査します。ファイルを削除または名前変更しなくても journal が利用可能なままになり、logging ページが安定してレンダリングされれば完了です。
索引モデルが issue の本文から書いたものです。
説明
⚠️ This issue respects the following points: ⚠️
- This is a bug, not a question or a configuration/webserver/proxy issue.
- This issue is not already reported on Github OR Nextcloud Community Forum (I've searched it).
- Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- I agree to follow Nextcloud's Code of Conduct.
Bug description
After the upgrade from 26.. to 27.. I've found that the webUI log page is often not shown, but the infinite loop with circle. Only forced removing or renaming nextcloud.log helps to solve issue, but I am loosing the journal. The size of the last nextcloud.log, when the UI was frozen is 90MB.
Steps to reproduce
- Work with nextcloud for a certain time.
- Go to logging (journal)
- Observe infinite loop trying to show the content of the web page.
- SSH to your server, rename or remove nextcloud.log
- Observe, that the logging page is shown again but without saved journal with earlier data.
Expected behavior
The nextcloud.log file should rotate more frequently or the UI subsystem must be more adjusted to show the content of the log page.
Installation method
Community Web installer on a VPS or web space
Nextcloud Server version
27
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.1
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Upgraded to a MAJOR version (ex. 22 to 23)
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
- Default user-backend (database)
- LDAP/ Active Directory
- SSO - SAML
- Other
Configuration report
config.php contains:
logtype = file
loglevel = 0
logfile = /mnt/data/nextcloud.log
List of activated Apps
No response
Nextcloud Signing status
No response
Nextcloud Logs
No response
Additional info
No response
- 主要言語
- JavaScript
- スター
- 71
- フォーク
- 30
- 平均マージ
- 10時間 12分
- マージ済み PR(30日)
- 98
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
nextcloud/logreader のほかの issue
-
0. Needs triage bug
難易度 1/5 1時間未満 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信
-
Display Filtering is very slow and results in extreme CPU usage spikes on server対応中かも @Antreesy が 142 日前に担当しました。 オープン0. Needs triage bug
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
nextcloud/logreader#2045 · コメント 5 件 ·
メンテナーはふだん 1 日以内に返信
-
0. Needs triage bug
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
メンテナーはふだん 1 日以内に返信
-
0. Needs triage bug
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
メンテナーはふだん 1 日以内に返信
nextcloud/logreader の issue をすべて見る
似ている issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
enhancement good first issue hacktoberfest help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
BinaryBaconLabs/todo-app#14 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
liberation-data/drivine#428 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
celestiary/web#345 ·
メンテナーはふだん 1 日以内に返信