You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
One day I suddenly got "HTTP 500: Internal server error. Please try again later." from the HOME and LIBRARY pages.
And from terminal log: [ERROR] 2022/04/18 13:35:39 | Unexpected token: <EOF> at line 1, column 1
Then I tried to upgrade (from v0.26.0 to v0.26.2), to delete the database and regenerate, to recompile de docker image, nothing worked.
I was thinking that a file in my library may be damaged. But the scanner works fine, I got the error only when I access the main page. So I don't know.
To Reproduce
I don't know.
Expected behavior
Functioning normally.
Environment (please complete the following information):
OS: docker / arm32v7
Browser chrome
Mango Version 0.26.0, 0.26.1, 0.26.2
Docker (if you are running Mango in a Docker container)
It's not a problem of docker.
Additional context
The text was updated successfully, but these errors were encountered:
Searched a bit and I think this may be a problem of crystal json parser.
It works well after deleting all generated json files.
Please, stop managing reading process by the creepy json files. You have a sql database to do that.
Solution, in the library, run find . -type f -name '*.json' -exec rm {} \;
Btw you'll lose all your reading process if you do this.
I did it since I don't know which json file is damaged and I was too lazy to find out.
For anyone who stumbles across this same problem and doesn't want to go through a bazillion JSON files to find the broken one, here's a quick work-around.
Describe the bug
One day I suddenly got "HTTP 500: Internal server error. Please try again later." from the HOME and LIBRARY pages.
And from terminal log:
[ERROR] 2022/04/18 13:35:39 | Unexpected token: <EOF> at line 1, column 1
Then I tried to upgrade (from v0.26.0 to v0.26.2), to delete the database and regenerate, to recompile de docker image, nothing worked.
I was thinking that a file in my library may be damaged. But the scanner works fine, I got the error only when I access the main page. So I don't know.
To Reproduce
I don't know.
Expected behavior
Functioning normally.
Environment (please complete the following information):
Docker (if you are running Mango in a Docker container)
It's not a problem of docker.
Additional context
![2022-04-18 15 42 23 raspberrypi 255f011ac2f1](https://user-images.githubusercontent.com/56207996/163816852-39633f71-f47c-47df-acb9-8a3626ebc9bf.jpg)
![2022-04-18 15 42 35 raspberrypi 815023484b59](https://user-images.githubusercontent.com/56207996/163816882-6bce648f-f1c9-452b-83f5-fd841eeca5a4.jpg)
The text was updated successfully, but these errors were encountered: