-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Issue with logs pages - t.match is not a function #1459
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
Comments
Having same problem running on local Ubuntu 20.04 box: Updated: I had 6 days of log files on my server, 12 files total between .err and .info. I deleted them and restarted the server and now my logs link worked again. Might help figure the bug or others work around until fixed. |
I've never had any logs - |
I think i have found the problem for me the following line made the problem: The problem was solved when i changed the message property to a string like that: So my assumption here is that the message property is expected to be an string. Which it isn't for errors thrown by Mongo |
after looking at the source i think it would be the easiest thing to check the message property and if it is not a string to execute a stringify maybe |
Thanks for the analysis! Can you verify whether this issue still exists with the current master branch? |
Yes it does |
@Mabenan Thanks for confirming. The next step would be to determine whether this should be fixed in Parse Server (where the log is written) or in dashboard (where the log is parsed). If the expectation also from Parse Server side is that In addition, Parse Dashboard could handle this more gracefully and not crash when not being able to read a log line, but displayed an error instead. Bu this is a secondary PR, as it is not the underlying issue. |
still not fixed |
As explained above, these 2 issues:
Anyone who wants to pick up any of these 2 issues, please go ahead. |
Make sure these boxes are checked before submitting your issue -- thanks for reporting issues back to Parse Dashboard!
You're running version >=1.0.23 of Parse Dashboard.
You're running version >=2.3.2 of Parse Server.
You've searched through existing issues. Chances are that your issue has been reported or resolved before.
Environment Setup
Running Locally
Steps to reproduce
Similar to #1112
Open up dashboard and navigate to logs page
Sometimes works but mostly of the time it crash
Logs/Trace
The text was updated successfully, but these errors were encountered: