Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Upgraded recently to U 7.42 from 7.35, everything seems to be working except for the media library., When I click on a folder this error is displayed
Request error: The URL returned a 404 (not found):
Please read this blog post: https://cultiv.nl/blog/how-to-diagnose-umbraco-upgrade-problems/
Upgrade from 7.35
Have to do a manual upgrade in this instance..
thanks. Still debugging but I have read your overview which is great.
I had the same problem. After some research, I found that some database entries for Umbraco ListView were missing in the tables umbracoNode and cmsDataType. Something must have gone wrong in the recent upgrade, in my case from 7.1.8 which succeeded on my dev-environment but apparently failed on acceptance and production.
In the error message, there should be an id of the datatype that is missing. In my case, the url that returned the 404 was:
I didn't find a method to let Umbraco check the database-schema and data, so I could fix the error with adding the missing values manually withe the following sql script:
SET IDENTITY_INSERT umbracoNode ON
INSERT into umbracoNode (id, trashed, parentId, nodeUser, [level], [path], sortOrder, uniqueID, [text], nodeObjectType, createDate) VALUES (-95, 0, -1, 0, 1, '-1,-95', 2, 'C0808DD3-8133-4E4B-8CE8-E2BEA84A96A4', 'List View - Content', '30A2A501-1978-4DDB-A57B-F7EFED43BA3C', '2016-04-16 14:15:00')
INSERT into umbracoNode (id, trashed, parentId, nodeUser, [level], [path], sortOrder, uniqueID, [text], nodeObjectType, createDate) VALUES (-96, 0, -1, 0, 1, '-1,-96', 2, '3A0156C4-3B8C-4803-BDC1-6871FAA83FFF', 'List View - Media', '30A2A501-1978-4DDB-A57B-F7EFED43BA3C', '2016-04-16 14:15:00')
INSERT into umbracoNode (id, trashed, parentId, nodeUser, [level], [path], sortOrder, uniqueID, [text], nodeObjectType, createDate) VALUES (-97, 0, -1, 0, 1, '-1,-97', 2, 'AA2C52A0-CE87-4E65-A47C-7DF09358585D', 'List View - Members', '30A2A501-1978-4DDB-A57B-F7EFED43BA3C', '2016-04-16 14:15:00')
SET IDENTITY_INSERT umbracoNode OFF
SET IDENTITY_INSERT cmsdataType ON
insert into cmsDataType (pk, nodeId, dbType, propertyEditorAlias) VALUES (-26, -95, 'Nvarchar', 'Umbraco.ListView')
insert into cmsDataType (pk, nodeId, dbType, propertyEditorAlias) VALUES (-27, -96, 'Nvarchar', 'Umbraco.ListView')
insert into cmsDataType (pk, nodeId, dbType, propertyEditorAlias) VALUES (-28, -97, 'Nvarchar', 'Umbraco.ListView')
SET IDENTITY_INSERT cmsdataType OFF
You are a genius. It seems to be working now.
THANK YOU TO THE MOON :)
Thank you, this worked on 7.7.2 as well.
FYI, to anybody interested, this has apparently resumed on a new thread here: https://our.umbraco.org/forum/using-umbraco-and-getting-started/76713-upgrade-to-743-still-no-media-listing
@Nicholas would this cause images to just disappear in Media? I just started having this problem.
I have no idea. I just cross-linked two posts that were about the same topic.
what table did you run the script in?
FYI, not sure that question makes much sense. SQL scripts are typically run in the context of a database. Notice the script mentions a number of tables.
Just want to share my own experience regarding this issue... cause marked as solution doesn't work for me at all!!!
So, in order:
Cannot insert duplicate key row in object 'dbo.umbracoNode' with unique index 'IX_umbracoNode_uniqueID'. The duplicate key value is (c0808dd3-8133-4e4b-8ce8-e2bea84a96a4).
As U could guess I already got 'List View%' items, with another Ids, here are mine:
So, the logical question is - what's the heck , and why 404 for 'GetPropertyTypeScaffold' with id=-96 (inside Media section), while I have another Ids for those items?
And the answer is just amazing :) - http://screencast.com/t/jVPFSzLaMaJ0
P.S. and it's just not to mention broken xpath placeholders ($current, $root) which don't work as it used to be :)
Looking forward for future updates!
Hi to all,
I can't believe that these kind of errors are happening to me also, this whole week I was working on some project and just to finish the last template I encountered this error and luckily found this post.
I looked at Marco's post about missing table row with id '-96', and figured out what I have done previous to create this type of error.
Just to mention, I installed clean and latest 7.4.3 version via nugget, everything seems ok till this:
My last template is named "Media" and it contains some media files for download, nothing spectacular. At the point of creation document type for this page, I thought why I didn't name all my document types with some safe suffix like "Page" - I'm using Umbraco models builder, maybe it will collide with something named 'media' in Umbraco. Well, I thought, I will do it at the end when I finish this template, models builder and ReSharper will do that dirty job quickly for me.
After creating Media page, I wanted to turn on List View for media download items. I clicked on 'create custom ListView' and suggested name was generic 'List View - media'. I saved my "Media" doctype and here comes the trouble.
The first issue was that main "Content" tab and list view "Child items" got the same tab number #tab25 and whenever I click I got the same content, sometimes from original "Media" page and sometimes from "Child items". I deleted both doctypes, created them again, changed list view tab number, nothing helped.
Finally, I gave up and went to Media section to check something and saw this JS error
This is what I have found in my DB
It looks like that my custom accidentally named 'List View - media' for Media document type has overridden default 'List View - Media' node with default id -96 !?!?
This may be a bug, I will try now to return default Media node as Marco suggested, and I hope it will help or .... :(
Definitely, I will start to add suffix 'Page' to all my document types.
It works, I have added missing overridden default 'List View - Media' node with id -96 as Marco suggested and I'm super happy :-)
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted