Umbraco Admin Error: Failed to retreive data for media id 1078
Hello,
In the admin, I'm getting an error about retreiving media loading on every pageview. I can't access any images in the admin. The frontend of the site is working fine, all images are there. But in the admin no images load. Data retrieval error.
I am just wondering if you got any resolution for this as I am experiecing the exact same issue. Everything was running fine then I was configuring some images in the media area and then suddenly this started occuring.
No I never heard anything back from anybody. But a couple days later it started working again. The front end was always fine. No issues with images. But in the backend you could not see or access any images. It would just throw that media error. So I don't know if it was a connectivity or server issue. Not sure but now we are seeing the images in the backend again. Good luck.
yeah my issue sounds exactly the same. strangely enough it has just came back too. The full media section appeared to be broken, with the inability to add new media types at all.
As the other error messages I was getting threw up errors relating to Media Types, one thing I did do was to just press the save action against each of the data types.
It did seem to sort itself out imedietly after this but im not sure if this was just a coincidence tbh.
Anyway it seems to be back now. hopefully it wont happen again? very odd.
I just received this error after transferring a site from office desktop to laptop. Umbraco 7.0.3, using SqlCe. I tried re-saving the media types as per the post above, which didn't resolve it. What did resolve it though was deleting all files/folders from App_Data/Temp.
Same problem here in 7.0.4 assembly: 1.0.5161.21054. The whole media section was broken and i got error messages like "Failed to retreive data for media id XYZ".
Restarting the web in IIS did not help, but saving the web.config did obviously. The errors disappeared. I hope that helps.
It seems some of you can really easily reproduce this in a clean install, can someone please write down steps to reproduce? It all seems to work fine for me but I may not be following the exact steps you are.
Make it as detailed as possible please so I can have a look and figure out how to fix it.
Just reading through this and the issue now, I've not come across this issue, nor can reproduce so if someone knows how to reproduce that'd be great! I'll see if i can find where that error may be coming from based on it's text. Unfortunately the stack trace on the error doesn't really describe where the issue is coming from.
Unfortunately I don't know which action caused this issue, so I cannot write down the steps to reproduce this behavior. I remember, that some media content was moved or sorted before. But I am not sure, if this was immediately before the issue appeared, because it was not me who was moving/sorting...
Ditto, kind of. Mine's a 'failed to retrieve data for empty content item type... (it's Homepage now, nothing else left at this point)' I was tidying up for publishing, decided on a last minute move of some properties to different tabs, an operation I had done successfully before, but just one or two at a time.
This time, I moved a half dozen, then also deleted the old tabs the properties used to occupy. In my defense, I was pretty diligent about reloading, refreshing, republishing, restarting, etc, all the way through, to try to circumvent any cache related problems.
Anyway, started getting errors back in the content section, although the site itself still ran fine, just not the content section of the back office. I couldn't open any of the pages that were based on the doctypes I'd been jacking around. The rest of the back office functioned fine though.
Tried deleting all the content nodes, didn't help. Maybe should have meticulously deleted all the content in the nodes first, dunno bout that.
Tried creating a package from it and installing that in a fresh instance on a fresh SQL Express db, nothing came over in the installation package, although I had successfully created a package from this project before.
Tried deleting all the contents of the App_Data\TEMP folder, didn't help.
Tried deleting all the media and emptying all the trash cans, bupkus.
Tried deleting the Homepage doctype, nada.
Going back into the logs, it looks like it started with WARN Umbraco.Web.UmbracoModule - [thread nn] Umbraco has no content.
That was when I was just getting into deleting and moving things, then eventually it deteriorated into a lot of this kind of stuff:
2014-05-02 21:46:36,053 [6] WARN Umbraco.Web.UmbracoModule - [Thread 15] Umbraco has no content
2014-05-02 21:47:19,418 [6] INFO Umbraco.Core.PluginManager - [Thread 35] Starting resolution types of umbraco.interfaces.ICacheRefresher
2014-05-02 21:47:19,434 [6] INFO Umbraco.Core.PluginManager - [Thread 35] Completed resolution of types of umbraco.interfaces.ICacheRefresher, found 20 (took 7ms)
2014-05-02 21:48:13,652 [6] ERROR Umbraco.Core.Persistence.Repositories.RecycleBinRepository - [Thread 13] An error occurred while deleting files attached to deleted nodes: One or more errors occurred.
System.AggregateException: One or more errors occurred. ---> System.ArgumentException: The path is not of a legal form.
And so on, downhill from there, pretty much Umbraco has no content when I try to create a new Homepage and it says it fails to retrieve data for empty content item type.... Duh.
I assume I butchered it myself and lesson learned to be more dainty. Glad I hadn't rushed this one into production and then decided to do this 'clean up' after the client had uploaded a bunch of content. It'd be nice to know if this sort of abuse is fixable though....
I can rebuild the empty site from backups but I think maybe, with this many people reporting similar situations, a warning could be noted that something is still just a little bit fragile in here.
Umbraco Admin Error: Failed to retreive data for media id 1078
Hello,
In the admin, I'm getting an error about retreiving media loading on every pageview. I can't access any images in the admin. The frontend of the site is working fine, all images are there. But in the admin no images load. Data retrieval error.
Thanks,
Monte
Hello Monte,
I am just wondering if you got any resolution for this as I am experiecing the exact same issue. Everything was running fine then I was configuring some images in the media area and then suddenly this started occuring.
No I never heard anything back from anybody. But a couple days later it started working again. The front end was always fine. No issues with images. But in the backend you could not see or access any images. It would just throw that media error. So I don't know if it was a connectivity or server issue. Not sure but now we are seeing the images in the backend again. Good luck.
Thanks for that! that was very useful!
yeah my issue sounds exactly the same. strangely enough it has just came back too. The full media section appeared to be broken, with the inability to add new media types at all.
As the other error messages I was getting threw up errors relating to Media Types, one thing I did do was to just press the save action against each of the data types.
It did seem to sort itself out imedietly after this but im not sure if this was just a coincidence tbh.
Anyway it seems to be back now. hopefully it wont happen again? very odd.
Cheers
I just received this error after transferring a site from office desktop to laptop. Umbraco 7.0.3, using SqlCe. I tried re-saving the media types as per the post above, which didn't resolve it. What did resolve it though was deleting all files/folders from App_Data/Temp.
Dan - I have no rep to vote your answer up, but you just saved me from throwing a PC across a room. Cheers!
Same problem in 7.1.0 beta. Immediately after uploading 10 images to an emty folder in an empty media library. Solved by an iisreset.
Same problem here in 7.0.4 assembly: 1.0.5161.21054. The whole media section was broken and i got error messages like "Failed to retreive data for media id XYZ".
Restarting the web in IIS did not help, but saving the web.config did obviously. The errors disappeared. I hope that helps.
Best wishes
Ben
I've added this issue to the issue tracker.
http://issues.umbraco.org/issue/U4-4546
It seems some of you can really easily reproduce this in a clean install, can someone please write down steps to reproduce? It all seems to work fine for me but I may not be following the exact steps you are.
Make it as detailed as possible please so I can have a look and figure out how to fix it.
Just reading through this and the issue now, I've not come across this issue, nor can reproduce so if someone knows how to reproduce that'd be great! I'll see if i can find where that error may be coming from based on it's text. Unfortunately the stack trace on the error doesn't really describe where the issue is coming from.
Also just FYI, my comments on this issue will be on the tracker: http://issues.umbraco.org/issue/U4-4546
So please follow there.
Unfortunately I don't know which action caused this issue, so I cannot write down the steps to reproduce this behavior. I remember, that some media content was moved or sorted before. But I am not sure, if this was immediately before the issue appeared, because it was not me who was moving/sorting...
Hi,
I just ran into this issue, as well (Umbraco 7.0.4).
Everything was fine until I added another image to the Media section and then manually re-sorted the folder I uploaded the image to.
Then I could not display any media items. All pages with media pickers caused server errors ("Failed to retrieve dat for media id(s) ...)
Opening and saving the Web.Config solved the issue again - strange.
Hope this gets fixed, soon.
Regards
Tobias
Just had this issue and deleted the TEMP directory to resolve (Thanks, Dan!)
Error occurred while I was deleting some Content nodes. Maybe deleting several nodes within quick succession will help reproduce the bug?
Edit: This is in Umbraco 7.1.1
Ditto, kind of. Mine's a 'failed to retrieve data for empty content item type... (it's Homepage now, nothing else left at this point)' I was tidying up for publishing, decided on a last minute move of some properties to different tabs, an operation I had done successfully before, but just one or two at a time.
This time, I moved a half dozen, then also deleted the old tabs the properties used to occupy. In my defense, I was pretty diligent about reloading, refreshing, republishing, restarting, etc, all the way through, to try to circumvent any cache related problems.
Anyway, started getting errors back in the content section, although the site itself still ran fine, just not the content section of the back office. I couldn't open any of the pages that were based on the doctypes I'd been jacking around. The rest of the back office functioned fine though.
Tried deleting all the content nodes, didn't help. Maybe should have meticulously deleted all the content in the nodes first, dunno bout that.
Tried creating a package from it and installing that in a fresh instance on a fresh SQL Express db, nothing came over in the installation package, although I had successfully created a package from this project before.
Tried deleting all the contents of the App_Data\TEMP folder, didn't help.
Tried deleting all the media and emptying all the trash cans, bupkus.
Tried deleting the Homepage doctype, nada.
Going back into the logs, it looks like it started with WARN Umbraco.Web.UmbracoModule - [thread nn] Umbraco has no content.
That was when I was just getting into deleting and moving things, then eventually it deteriorated into a lot of this kind of stuff:
And so on, downhill from there, pretty much Umbraco has no content when I try to create a new Homepage and it says it fails to retrieve data for empty content item type.... Duh.
I assume I butchered it myself and lesson learned to be more dainty. Glad I hadn't rushed this one into production and then decided to do this 'clean up' after the client had uploaded a bunch of content. It'd be nice to know if this sort of abuse is fixable though....
I can rebuild the empty site from backups but I think maybe, with this many people reporting similar situations, a warning could be noted that something is still just a little bit fragile in here.
I be lovin my backups.
is working on a reply...