Closed nickvergessen closed 2 days ago
Still happening btw
Also see #719 - the behaviour is similar but caused by log files which are too big.
From reading here
https://github.com/facebook/react/issues/20131 pointing to https://reactjs.org/warnings/invalid-hook-call-warning.html
and running
$ npm ls react-dom
logreader@ /var/www/localhost/htdocs/nextcloud-git-next/apps/logreader
ââ⬠react-addons-css-transition-group@15.6.2
â ââ⬠react-transition-group@1.2.1
â âââ react-dom@16.14.0
âââ react-dom@17.0.2
I somehow got the impression that this might be caused by pulling in multiple copies of react-dom?
We might want to replace this react addon's since it's dead https://www.npmjs.com/package/react-addons-css-transition-group
Or someone makes a greater journey and moves it to vue if that is better?
Any news?
The bug is a bit of a pain in the ass ð¬.
still no logs in 24.0.3 :-(
The reason is the amount of log data. If you delete the old log data/nextcloud.log
you should be able to see new log entries again. However if the file contains more than about 20.000 entries, the log viewer seems to get a problem.
I too have this from a few nextcloud versions and I'm not so sure it is the 20000 entries limit/problem. Even with empty/clean log file mine does not shows. And the error in the console is the react one pointed above.
I too have this from a few nextcloud versions and I'm not so sure it is the 20000 entries limit/problem. Even with empty/clean log file mine does not shows. And the error in the console is the react one pointed above.
You could look at my merge request #746 and see whether it works for you. The bugfix just replaces the outdated react library with the current one and adjust the corresponding API calls in order to make it work. So this is a kind of minimal approach (no porting to Vue etc. attempted, just update the outdated react library).
Thanks, I'm doing it now. After reading about this in react discussions I guess it will work. Hope this will be in next releases till waiting for vue solution.
Last version of Logreader written in react
is Nextcloud 27.1.11 (End of life was at 2024-06-25)
Steps to reproduce
Expected behaviour
Log is visible
Actual behaviour