-
-
Notifications
You must be signed in to change notification settings - Fork 122
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
nextcloud snappymail does not load after upgrade to 2.37.0 #1703
Comments
I just ran across this as well. I can't seem to come up with anything useful when enabling debug logging, either. Here's the exact error I get: So far I have been unable to track this down. Usually I see this when something returns HTML when it was expecting JSON, but so far I haven't found anything useful. |
Nextcloud has a bad habbit of failing update tasks. Go to Nextcloud bugs are outside our development scope and this specific issue is already reported here several times and i can't reproduce them in my Nextcloud instances. |
Correct! |
unfortunately my nc 29. is generating the same error on the snappy admin page, even after server restart; |
Yeah, I was looking for 404s in the dev tools, but there are none. Just a long string of 200s. The workaround above doesn't work for me, so I'm thinking this is a different issue. |
mm I removed snappymail from the apps and installed it again, but I am getting the same error also with 2.37.1 |
That's because Nextcloud is serving an HTML document instead. And SnappyMail needs JSON. I will modify the fetch code to detect this misbehavior. |
I found an issue due to O365 login! So in this case it was my fault 😱 |
Microsoft causing problems for people? Color me shocked. Nice find! And thanks for looking into it for us! |
I'm not eligible for a Pwnie Award like CrowdStrike. |
Hey @the-djmaze - Josh here (a member/contributor over at the Nextcloud project). I'm not clear what bug this is referencing. Is there some situation where a URL is hard coded in Snappy or something? In Nextcloud, the By convention several of the installation methods (like our micro-services and AIO Do keep images) do use |
Hi @joshtrichards somehow Nextcloud switches the path. Snappymail stores the path in application.ini so after upgrade it fails. Also people seem to have multiple installations of Snappymail after that. |
error as below
Please refresh the page and try again.SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
The text was updated successfully, but these errors were encountered: