-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Logging display console errors and white-blank screen #815
Comments
I believe this white-screen happens when a new entry is added to the log. If this helps debugging. |
Correct - the white screen happens when a new error is generated. |
@solracsf marked nextcloud/server#35659 as a duplicate (correctly -- apologies: I do not know why my searches did not throw up this one). I am on later versions of most apps, OS, kernel, etc. so it may be worth refering back to this. Note for me the logging page goes blank immediately, I just get a flash of what I expect to see. This is different from what @geraldurbas reports. @kesselb asked for more info After a page refresh a copy/paste from the console is:
which to me looks pretty blank (as in lots of calls with default/blank parameters). How can I help drill this down to more useful information? |
I am running Nextcloud 25.0.2 on several servers and one of them is facing the same issue. I don't have LDAP authentication active on that server (answering to this comment) so it seems to be unrelated to that specific plugin. |
Same problem here. Nextcloud 25.0.3. The debug file exists, and it has the right permissions. It is correctly configured in the It remains empty, and the logging interface is empty as well. When I run
Changing the Log Level in the Also, changing the debug level within the web interface is not reflected in the |
Any improvement if you change the log level from Info (1) to Warn (2)? You can chance this by editing config/config.php in the nextcloud folder. |
Checked again on 25.0.2, no blank-white display for me any longer |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
@Fred-Zweig @loddi @benklaasen Please refer to the NC27 Admin Manual release notes and/or other closed issues in this repo. Your configuration is not up-to-date for handling of Follow-up on the Nextcloud Help Forum if needed - https://help.nextcloud.com |
I have the same problem. Just saying: Nextcloud Hub 7 (28.0.1)
I can see the log file in the data director as nextcloud.log. It looks recently updated and is about 10MB in size. I don't see any console errors in the browser though. |
@bernd-wechner Your situation is likely entirely unrelated to the reported issue here. NC28's logreader has a completely rewritten front-end. Chances are you're encountering one of the configuration/local environment matters that have hit NC28 users:
|
@joshtrichards I knew that my issue was not identical with the one described in the opening post, yet it was similar and I didn't want to open a separate issue. Anyway, I can confirm now that adding
to my Nginx configuration as shown here, solved the problem: now the Logging page loads correctly and so does the Activity page. Yet, I don't consider this as a proper solution. The best solution would have been to implement all the functionalities added via the |
Spot on. I added ".mjs" to my mimetypes configuration as "application/javascript" and the Forms app came good! Turns out |
But is a proper solution. Welcome to the web. Things inch forwards. ES6 introduced a new module packaging extensions and not all webservers have absorbed it in their mime default configurations yet. PITA, yes. Proper solution, most definitely. Better transition desirable - probably (as in the Administration Overview Tests that run could check for .mjs support and report if missing, given this is a likely issue folk encounter in upgrading). |
Better late than never! Just three days old. Backported too so it'll be in upcoming v28.0.2. |
Things are believed to inch forwards. It doesn't mean they do. Have you read this thread, or asked yourself why Nginx developers were still reluctant to add the new |
Well, I added it as 'application/javascript' and all is fine. I don't use nginx, but lighttpd (as I don't need a sluggish dinosaur like Apache, and prefer freeware that favoured by my gateway than freemium software where possible and lighttpd performs on par with nginx in scaleability and resource efficiency). But as @joshtrichards points out, Nextcloud is adding a check to the Overview page (and I concur, better late than never). I'm not here to judge what Noe.JS do or nginx do or Nextcloud for that matter, and suggest humbly that judgement as a rule isn't constructive to any part of the FOSS world, and best replaced by humble suggestions. Fret not, we all venture into judgement on our darkest, most frustrated days ;-). Given it was easy to fix all is good and I'm pleased the nextcloud will check and report in future (that is something of import as I don't mind fixing problems if they are easily diagnosed and fixed, but mysterious failures with no easy clues are time-consuming bothers I grant. |
Bug description
Opening the Logging Screen shows errors. After a few seconds only a white blank is displayed.
JS Error thrown:
Steps to reproduce
Expected behavior
Log entries keep visible
Installation method
Other Community project
Operating system
Debian/Ubuntu
PHP engine version
PHP 7.4
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
No response
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
No response
Additional info
No response
The text was updated successfully, but these errors were encountered: