Open arnowelzel opened 2 years ago
I have the same issue, logging page is not loading anything, just spinning forever...
We can trigger the issue when changing log settings or enabling auto refresh.
I had the very same issue, logging page was not loading anything, just spinning forever...
Nextcloud 24(.0.4)
the logfile was 24M big, with 4554 lines:
-rw-r----- 1 nextcloud nextcloud 24M 18. Aug 00:18 /var/log/nextcloud/nextcloud.log
cat /var/log/nextcloud/nextcloud.log | wc -l
4554
I renamed the original logfile and touch'ed and chown'ed a new logfile, now the logging page is loading just fine (and saying that there are no log entries yet) but the logger doesnt seem to write anything to the new logfile now, even with debug loglevel enabled, the file is still empty
edit: while executing occ maintenance:mimetype:update-js
an error happened in background and got logged in the log file, but still no debug level entries or alike
Note: the underlying React error message is Unable to find node on an unmounted component.
(mostly adding this so that if folks look up the full React error string and then search GitHub for it, this issue will show up).
same here with
www-data@2d5e879532e7:~/html/data$ ls -lh nextcloud.log
-rw-r----- 1 www-data www-data 3.0M Jan 1 02:39 nextcloud.log
www-data@2d5e879532e7:~/html/data$ wc -l nextcloud.log
2752 nextcloud.log
Quickly checked at Nextcloud 28 with 10k+ rows in a logfile, requests to logfile are chunked by 50 rows,
Steps to reproduce
config/config.php
to 0 ('loglevel' => 0
).Expected behaviour
The log viewer displays the log.
If the log is too big to be displayed, truncate to the newest n entries (where n is a value which can be handled by the frontend - for example 1000 or 5000) or paginate the log.
Actual behaviour
The log viewer crashes, so the page will get blank. It's not clear when exactly this happens. I have seen this with a logfile which counts about 62000 entries, but I believe the actual limit is lower and also depends on what browser and runtime environment you use.
Server configuration
Operating system: Ubuntu 20.04
Web server: Apache 2.4.41-4ubuntu3.10
Database: MariaDB 10.5.15
PHP version: 7.4
Nextcloud version: 24.0.0
Where did you install Nextcloud from: nextcloud.com
List of activated apps:
Nextcloud configuration:
Client configuration
Browser: Vivaldi 5.2.2623.46 (Stable channel) (64-Bit)
Operating system: Windows 10
Logs
Nextcloud log (data/owncloud.log)
(not relevant)
Browser log