0 Update to 1.0.10 broke my installation 2 Michael Garrison posted 10 Years Ago I hit the update to 1.0.10 last night, and it showed the "working" modal for a few minutes like normal, then the modal disappeared and it remained on the "1.0.10 is available" page. When I tried to navigate to another page I got an error, and now no matter what computer I use and what page I try to load, I'm getting this: Exception in App_Web_grgm5xfv Message URL routing has not been configured correctly. This is usually due to an exception occurring during application start-up. Please check the exception log for any recent exceptions (you may have to check the 'ExceptionLog' database table directly if you are not able to view exceptions in Rock). In cases where Rock was not able to access the database, it logs errors to the /App_Data/Logs/RockExceptions.csv file. Make sure to check this file also for any recent exceptions. Stack Trace at ASP.default_aspx.OnLoad(EventArgs e) The ExceptionLog table has these three entries for yesterday: Id ParentId SiteId PageId HasInnerException StatusCode ExceptionType Description Source StackTrace 263 NULL NULL NULL 0 NULL System.Net.WebException The remote server returned an error: (503) Server Unavailable. System at System.Net.HttpWebRequest.GetResponse() at RockWeb.Global.CacheItemRemoved(String k, Object v, CacheItemRemovedReason r) 264 NULL NULL NULL 0 NULL System.Net.WebException The remote server returned an error: (503) Server Unavailable. System at System.Net.HttpWebRequest.GetResponse() at RockWeb.Global.CacheItemRemoved(String k, Object v, CacheItemRemovedReason r) 265 NULL NULL NULL 0 NULL System.Net.WebException The remote server returned an error: (503) Server Unavailable. System at System.Net.HttpWebRequest.GetResponse() at RockWeb.Global.CacheItemRemoved(String k, Object v, CacheItemRemovedReason r) I don't know if the issue is something mis-configured suddenly with IIS, or if I can trick the RoCK installer to just put the new files on the server and keep pointing to the old data, or if the data is corrupt now somehow. What's the next step for getting up and running again? Thanks
Michael Garrison 10 years ago Yes, that seems to have done the trick.Any way of sloughing through the old database (presumably I can restore the backup to another temporary database) to figure out what my extra "in group of type" filter was? I tried several iterations of those types of filters and don't remember what the final version was....I'm assuming that restoring the backup now would be a bad thing- schema or layouts probably changed in the update?
David Turner 10 years ago If you restore that backup to another location and then query on that filter (SELECT [Selection] FROM [DataViewFilter] WHERE [ID] = 24), the selection is a combination of the group type's guid (GroupType table) and the role's guid (GroupTypeRole table) .
Michael Garrison 10 years ago I got 10|3 from that query - ID 10 in GroupType is "Family" and ID 3 in GroupTypeRole is "Adult" so it's probably a filter I set up in answer to the bug I noted at https://github.com/SparkDevNetwork/Rock/issues/374 .Now my "Adult Member and Attendees" data view reads, "Record Status is AND Connection Status is 'Attendee' or 'Member' AND In group of group type: Family, with role(s): Adult" (note that the data view is an empty list). So the first criteria "Record Status is" must have been the offending filter I deleted. Is it safe to delete that criteria and move on or is there more cleanup that might be necessary after deleting that filter?THANKS for your help!!!!
David Turner 10 years ago Instead of deleting that filter, can you select the 'Active' checkbox for the Record Status filterso that it looks like the screenshot Nick posted in that issue?
Michael Garrison 10 years ago Good call. Yes, done and it works now. Thanks again! Anything else I should check to make sure deleting that record didn't affect that you can think of?
David Turner 10 years ago Ok, that was fine, Just trying to figure out the sql that is failing in the migration. Here's another query...DECLARE @ParentFilterId int = (SELECT [DataViewFilterId] FROM [DataView] WHERE [Guid] = '0DA5F82F-CFFE-45AF-B725-49B3899A1F72')DECLARE @EntityTypeId int = (SELECT [Id] FROM [EntityType] WHERE [Guid] = '0E239967-6D33-4205-B19F-08AD8FF6ED0B')SELECT [Id] FROM [DataViewFilter] WHERE [ParentId] = @ParentFilterId AND [EntityTypeId] = @EntityTypeId
Michael Garrison 10 years ago Row 1 has ID of 23, Row 2 has ID of 24. Apparently comments don't like table formatting... =)