BlogEngine / BlogEngine.NET

Multi-User ASP.NET Blogging Application
https://blogengine.io/
958 stars 547 forks source link

"Error loading lookups" - `Newtonsoft.Json.JsonReaderException` due to Gallery site down #240

Open UlyssesWu opened 3 years ago

UlyssesWu commented 3 years ago

https://github.com/BlogEngine/BlogEngine.NET/blob/11b9f177b91a82230efaa8376ea68da64b064d45/BlogEngine/BlogEngine.Core/Services/Packaging/Gallery.cs#L74-L92

Sadly, the url http://dnbe.net/v01/nuget is down. Therefore, JsonConvert.DeserializeObject throws a Newtonsoft.Json.JsonReaderException, and causes an Error loading lookups (GET /api/lookups returns 502), makes the whole blog unstable - e.g. Unable to load and change settings, unable to set categories for a new blog post etc.

My solution is removing all 3rd party themes in Custom\Themes. Just keep RazorHost and Standard themes. I have no idea if you'll still fix this, but this is a serious problem and I should leave my solution here for other users.

DonKedero commented 8 months ago

I was able to recover some themes through the Internet Archive https://web.archive.org/web/20210701014032/https://archive.codeplex.com/?p=blogenginethemes

The archive Blogenginethemes.zip itself contains an zipfile on the following location releases\0\97f8f351-45d7-4358-b51b-ba6c9d32339a. This zipfile contains several themes, some of them are working on v3.3.8.0, some might require a little change in the site.master, some of them got some little CSS issues.

The following themes are quite OK (might have some minor issues)