Umbraco v6.0 and Courier 2.7.5 unable to courier Media images
I have 2 local instances of umbraco installed and decided to courier items between them.
The basics of transfering documents works ok.
However, I am unable to transfer media - the media files get transfer ok into the target directory ok, but the media properties do not get transferred i.e. when you view the media in the umbraco media content - the name of media file is listed but it has no attributes like url or size details.
Courier gave no error information on screen during the transfer, but when I looked in the courier log file "log_RevisionLog.txt" it contained the following error indicating it had trouble extracting the media properties file
ca0ceccd-8be1-4146-be21-ed9145e8c8ef_Media_data.courier - this file is indeed present, as is the corresponding media file. I've listed the file after the error.
Any idea why media properties are not able to be couriered?
Thanks.
22/03/2013 16:48:18; [Error];;ca0ceccd-8be1-4146-be21-ed9145e8c8ef;Umbraco.Courier.RepositoryProviders.CourierWebserviceRepositoryProvider;ExtractionManager;System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Umbraco.Courier.Persistence.V6.NHibernate.Helpers.ContentTypeHelper.GetPropertyTypesRecursively(CmsContentType ct, ISession session) in c:\Program Files (x86)\teamcity\buildAgent\work\650bafc4b83aa858\Core\Umbraco.Courier.Persistence.V6.NHibernate\Helpers\ContentTypeHelper.cs:line 162 at Umbraco.Courier.Persistence.V6.NHibernate.Persisters.ContentPropertyDataItem.PersistItem[T](T item) in c:\Program Files (x86)\teamcity\buildAgent\work\650bafc4b83aa858\Core\Umbraco.Courier.Persistence.V6.NHibernate\Persisters\ContentPropertyData.cs:line 68 at Umbraco.Courier.ItemProviders.PropertyItemProvider.HandleExtract(Item item) at Umbraco.Courier.Core.ItemProvider.Extract(Item item) at Umbraco.Courier.RepositoryProviders.Local.ExtractItem(Item item, Boolean overwrite) at Umbraco.Courier.RepositoryProviders.Webservices.Repository.Extract(String sessionKey, Byte[] item, ItemIdentifier itemId, Boolean overwrite, String user, String pass) --- End of inner exception stack trace --- at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at Umbraco.Courier.RepositoryProviders.WebServiceProvider.RepositoryWebservice.Extract(String sessionKey, Byte[] item, ItemIdentifier itemId, Boolean overwrite, String user, String pass) at Umbraco.Courier.RepositoryProviders.CourierWebserviceRepositoryProvider.ExtractItem(Item item, Boolean overwrite); 22/03/2013 16:48:18; [Information];ca0ceccd-8be1-4146-be21-ed9145e8c8ef;Umbraco.Courier.Core.Extraction.RevisionExtraction;extraction;Repository returned: Error; 22/03/2013 16:48:18; [Warning];ca0ceccd-8be1-4146-be21-ed9145e8c8ef;Umbraco.Courier.Core.Extraction.RevisionExtraction;extraction;Item extraction did not complete, status returned: Error; 22/03/2013 16:48:18; [Information];Umbraco.Courier.RepositoryProviders.CourierWebserviceRepositoryProvider;ExtractRevisions;Committing changes; 22/03/2013 16:48:18; [Information];Umbraco.Courier.RepositoryProviders.CourierWebserviceRepositoryProvider;ExtractRevisions;Session closed;
I have a site on 4.11.4 and there are still problems with this. I previously had the same issue where it was copying the media but not the properties. I've added the nightly dll's and now it adds the properties fine however it is not preserving the structure and location of the media items and just dumped the whole lot in the root of the media section.
I am running Umbraco 6.1.3 with Courier 2.7.5.1. Courier packages my templates and images from media, but the package does not contain the actual files. Is this a known issue?
Thanks!
EDIT In my case the issue is caused by the fact that Umbraco is running as a sub application to my site. It is in a different folder and this confuses Courier.
I have the problem with umbraco courier.Whenever i transfer any media file like pdf,doc,xls(except image files .gif,.png,.jpeg) from staging to live(destination environment), it doesnot transferring the media files.That means, the content nodes are getting transferred, but the files like pdf,doc,xls included with in that page is not getting transferred.
But there is not having an issue with image files as I mentioned above.
The umbraco version Using is : 4.0.2.1
The courier vesion using is : 1.3
Could anyone please suggest an idea about why this is happening?
Also, please suggest the solution for fixing the same.
Umbraco v6.0 and Courier 2.7.5 unable to courier Media images
I have 2 local instances of umbraco installed and decided to courier items between them.
The basics of transfering documents works ok.
However, I am unable to transfer media - the media files get transfer ok into the target directory ok, but the media properties do not get transferred i.e. when you view the media in the umbraco media content - the name of media file is listed but it has no attributes like url or size details.
Courier gave no error information on screen during the transfer, but when I looked in the courier log file "log_RevisionLog.txt" it contained the following error indicating it had trouble extracting the media properties file
ca0ceccd-8be1-4146-be21-ed9145e8c8ef_Media_data.courier - this file is indeed present, as is the corresponding media file. I've listed the file after the error.
Any idea why media properties are not able to be couriered?
Thanks.
22/03/2013 16:48:18; [Error];;ca0ceccd-8be1-4146-be21-ed9145e8c8ef;Umbraco.Courier.RepositoryProviders.CourierWebserviceRepositoryProvider;ExtractionManager;System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Umbraco.Courier.Persistence.V6.NHibernate.Helpers.ContentTypeHelper.GetPropertyTypesRecursively(CmsContentType ct, ISession session) in c:\Program Files (x86)\teamcity\buildAgent\work\650bafc4b83aa858\Core\Umbraco.Courier.Persistence.V6.NHibernate\Helpers\ContentTypeHelper.cs:line 162
at Umbraco.Courier.Persistence.V6.NHibernate.Persisters.ContentPropertyDataItem.PersistItem[T](T item) in c:\Program Files (x86)\teamcity\buildAgent\work\650bafc4b83aa858\Core\Umbraco.Courier.Persistence.V6.NHibernate\Persisters\ContentPropertyData.cs:line 68
at Umbraco.Courier.ItemProviders.PropertyItemProvider.HandleExtract(Item item)
at Umbraco.Courier.Core.ItemProvider.Extract(Item item)
at Umbraco.Courier.RepositoryProviders.Local.ExtractItem(Item item, Boolean overwrite)
at Umbraco.Courier.RepositoryProviders.Webservices.Repository.Extract(String sessionKey, Byte[] item, ItemIdentifier itemId, Boolean overwrite, String user, String pass)
--- End of inner exception stack trace ---
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Umbraco.Courier.RepositoryProviders.WebServiceProvider.RepositoryWebservice.Extract(String sessionKey, Byte[] item, ItemIdentifier itemId, Boolean overwrite, String user, String pass)
at Umbraco.Courier.RepositoryProviders.CourierWebserviceRepositoryProvider.ExtractItem(Item item, Boolean overwrite);
22/03/2013 16:48:18; [Information];ca0ceccd-8be1-4146-be21-ed9145e8c8ef;Umbraco.Courier.Core.Extraction.RevisionExtraction;extraction;Repository returned: Error;
22/03/2013 16:48:18; [Warning];ca0ceccd-8be1-4146-be21-ed9145e8c8ef;Umbraco.Courier.Core.Extraction.RevisionExtraction;extraction;Item extraction did not complete, status returned: Error;
22/03/2013 16:48:18; [Information];Umbraco.Courier.RepositoryProviders.CourierWebserviceRepositoryProvider;ExtractRevisions;Committing changes;
22/03/2013 16:48:18; [Information];Umbraco.Courier.RepositoryProviders.CourierWebserviceRepositoryProvider;ExtractRevisions;Session closed;
---------------
C:\umbracoLive\App_Data\courier\revisions\__650ca357-f3e9-4d43-b9d5-674b547820dd\revision\mediaproperties\ca0ceccd-8be1-4146-be21-ed9145e8c8ef_Media_data.courier
content:
http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
ca0ceccd-8be1-4146-be21-ed9145e8c8ef_Media_data
false
ca0ceccd-8be1-4146-be21-ed9145e8c8ef
d8e6ad87-e73a-11df-9492-0800200c9a66
Media: ca0ceccd-8be1-4146-be21-ed9145e8c8ef
ca0ceccd-8be1-4146-be21-ed9145e8c8ef
e047259a-e73b-11df-9492-0800200c9a66
Media Background Footer updated2 Property Data
Dependency
/media/11/background-footer.png
19c98fa5ad61adff07ea87c9171fd23c
/media/11/background-footer.png
/media/11/background-footer.png
/media/11/background-footer.png
false
false
/media/11/background-footer_thumb.jpg
1a2098cb97bdca062c8f71afb05d6d77
/media/11/background-footer_thumb.jpg
/media/11/background-footer_thumb.jpg
/media/11/background-footer_thumb.jpg
false
false
ca0ceccd-8be1-4146-be21-ed9145e8c8ef
umbracoFile
84c6b441-31df-4ffe-b67e-67d5bc3ae65a
5032a6e6-69e3-491d-bb28-cd31cd11086c
Nvarchar
umbraco.editorControls.uploadfield.uploadFieldPreValue
/media/11/background-footer.png
umbracoWidth
f0bc4bfb-b499-40d6-ba86-058885a5178c
6c738306-4c17-4d88-b9bd-6546f3771597
Nvarchar
umbraco.editorControls.DefaultPrevalueEditor
1024
umbracoHeight
f0bc4bfb-b499-40d6-ba86-058885a5178c
6c738306-4c17-4d88-b9bd-6546f3771597
Nvarchar
umbraco.editorControls.DefaultPrevalueEditor
42
umbracoBytes
f0bc4bfb-b499-40d6-ba86-058885a5178c
6c738306-4c17-4d88-b9bd-6546f3771597
Nvarchar
umbraco.editorControls.DefaultPrevalueEditor
549
umbracoExtension
f0bc4bfb-b499-40d6-ba86-058885a5178c
6c738306-4c17-4d88-b9bd-6546f3771597
Nvarchar
umbraco.editorControls.DefaultPrevalueEditor
png
b796f64c-1f99-4ffb-b886-4bf4bc011a9c
Image
false
---------------------------
Adding the full log_revisiionLog.txt for this courier attempt:
22/03/2013 16:45:01; [Information];Umbraco.Courier.RepositoryProviders.CourierWebserviceRepositoryProvider;ExtractRevisions;Session opening: 54427862-5a82-467d-a2da-9471dbae6ec9;
22/03/2013 16:45:01; [Information];Umbraco.Courier.RepositoryProviders.CourierWebserviceRepositoryProvider;ExtractRevisions;Session closed;
22/03/2013 16:48:18; [Information];Umbraco.Courier.Core.Extraction.RevisionExtraction;BuildGraph;Adding 0 Items from provider: Files;
22/03/2013 16:48:18; [Information];Umbraco.Courier.Core.Extraction.RevisionExtraction;BuildGraph;Adding 0 Items from provider: Folders;
22/03/2013 16:48:18; [Information];Umbraco.Courier.Core.Extraction.RevisionExtraction;BuildGraph;Adding 0 Items from provider: Languages;
22/03/2013 16:48:18; [Information];Umbraco.Courier.Core.Extraction.RevisionExtraction;BuildGraph;Adding 0 Items from provider: Dictionary items;
22/03/2013 16:48:18; [Information];Umbraco.Courier.Core.Extraction.RevisionExtraction;BuildGraph;Adding 0 Items from provider: Stylesheets;
22/03/2013 16:48:18; [Information];Umbraco.Courier.Core.Extraction.RevisionExtraction;BuildGraph;Adding 0 Items from provider: Tag Relations;
22/03/2013 16:48:18; [Information];Umbraco.Courier.Core.Extraction.RevisionExtraction;BuildGraph;Adding 0 Items from provider: Datatypes;
22/03/2013 16:48:18; [Information];Umbraco.Courier.Core.Extraction.RevisionExtraction;BuildGraph;Adding 0 Items from provider: Relations;
22/03/2013 16:48:18; [Information];Umbraco.Courier.Core.Extraction.RevisionExtraction;BuildGraph;Adding 0 Items from provider: Macros;
22/03/2013 16:48:18; [Information];Umbraco.Courier.Core.Extraction.RevisionExtraction;BuildGraph;Adding 0 Items from provider: Macro property types;
22/03/2013 16:48:18; [Information];Umbraco.Courier.Core.Extraction.RevisionExtraction;BuildGraph;Adding 0 Items from provider: Templates;
22/03/2013 16:48:18; [Information];Umbraco.Courier.Core.Extraction.RevisionExtraction;BuildGraph;Adding 0 Items from provider: Media types;
22/03/2013 16:48:18; [Information];Umbraco.Courier.Core.Extraction.RevisionExtraction;BuildGraph;Adding 1 Items from provider: Media;
22/03/2013 16:48:18; [Information];Umbraco.Courier.Core.Extraction.RevisionExtraction;BuildGraph;Adding 0 Items from provider: Document types;
22/03/2013 16:48:18; [Information];Umbraco.Courier.Core.Extraction.RevisionExtraction;BuildGraph;Adding 0 Items from provider: Documents;
22/03/2013 16:48:18; [Information];Umbraco.Courier.Core.Extraction.RevisionExtraction;BuildGraph;Adding 1 Items from provider: Media Property Data;
22/03/2013 16:48:18; [Information];Umbraco.Courier.Core.Extraction.RevisionExtraction;BuildGraph;Adding 0 Items from provider: PropertyData;
22/03/2013 16:48:18; [Start];ca0ceccd-8be1-4146-be21-ed9145e8c8ef;resources - BeforeExtraction;
22/03/2013 16:48:18; [End];ca0ceccd-8be1-4146-be21-ed9145e8c8ef;resources;
22/03/2013 16:48:18; [Start];ca0ceccd-8be1-4146-be21-ed9145e8c8ef;resources - BeforeExtraction;
22/03/2013 16:48:18; [Information];;ca0ceccd-8be1-4146-be21-ed9145e8c8ef;Umbraco.Courier.Core.Extraction.RevisionExtraction;resources;Adding /media/11/background-footer.png (549 bytes) to resource transfer list;
22/03/2013 16:48:18; [Information];;ca0ceccd-8be1-4146-be21-ed9145e8c8ef;Umbraco.Courier.Core.Extraction.RevisionExtraction;resources;Adding /media/11/background-footer_thumb.jpg (146 bytes) to resource transfer list;
22/03/2013 16:48:18; [Warning];;ca0ceccd-8be1-4146-be21-ed9145e8c8ef;Umbraco.Courier.Core.Extraction.RevisionExtraction;resources;Compare: /media/11/background-footer.png is identical to destination and is ignored BeforeExtraction;
22/03/2013 16:48:18; [Success];;ca0ceccd-8be1-4146-be21-ed9145e8c8ef;Umbraco.Courier.Core.Extraction.RevisionExtraction;resources;Transfering 1 files in one batch on the event: BeforeExtraction;
22/03/2013 16:48:18; [End];ca0ceccd-8be1-4146-be21-ed9145e8c8ef;resources;
22/03/2013 16:48:18; [Information];Umbraco.Courier.RepositoryProviders.CourierWebserviceRepositoryProvider;ExtractRevisions;Session opening: d168c6f8-86eb-4d0d-b9cd-e9c32511b07f;
22/03/2013 16:48:18; [Information];ca0ceccd-8be1-4146-be21-ed9145e8c8ef;Umbraco.Courier.Core.Extraction.RevisionExtraction;extraction;Starting: Background Footer updated2;
22/03/2013 16:48:18; [Information];ca0ceccd-8be1-4146-be21-ed9145e8c8ef;Umbraco.Courier.Core.Extraction.RevisionExtraction;extraction;Repository returned: Extracted;
22/03/2013 16:48:18; [Success];ca0ceccd-8be1-4146-be21-ed9145e8c8ef;Umbraco.Courier.Core.Extraction.RevisionExtraction;extraction;Item extraction completed;
22/03/2013 16:48:18; [Information];ca0ceccd-8be1-4146-be21-ed9145e8c8ef;Umbraco.Courier.Core.Extraction.RevisionExtraction;extraction;Starting: Media Background Footer updated2 Property Data;
22/03/2013 16:48:18; [Error];;ca0ceccd-8be1-4146-be21-ed9145e8c8ef;Umbraco.Courier.RepositoryProviders.CourierWebserviceRepositoryProvider;ExtractionManager;System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Umbraco.Courier.Persistence.V6.NHibernate.Helpers.ContentTypeHelper.GetPropertyTypesRecursively(CmsContentType ct, ISession session) in c:\Program Files (x86)\teamcity\buildAgent\work\650bafc4b83aa858\Core\Umbraco.Courier.Persistence.V6.NHibernate\Helpers\ContentTypeHelper.cs:line 162
at Umbraco.Courier.Persistence.V6.NHibernate.Persisters.ContentPropertyDataItem.PersistItem[T](T item) in c:\Program Files (x86)\teamcity\buildAgent\work\650bafc4b83aa858\Core\Umbraco.Courier.Persistence.V6.NHibernate\Persisters\ContentPropertyData.cs:line 68
at Umbraco.Courier.ItemProviders.PropertyItemProvider.HandleExtract(Item item)
at Umbraco.Courier.Core.ItemProvider.Extract(Item item)
at Umbraco.Courier.RepositoryProviders.Local.ExtractItem(Item item, Boolean overwrite)
at Umbraco.Courier.RepositoryProviders.Webservices.Repository.Extract(String sessionKey, Byte[] item, ItemIdentifier itemId, Boolean overwrite, String user, String pass)
--- End of inner exception stack trace ---
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Umbraco.Courier.RepositoryProviders.WebServiceProvider.RepositoryWebservice.Extract(String sessionKey, Byte[] item, ItemIdentifier itemId, Boolean overwrite, String user, String pass)
at Umbraco.Courier.RepositoryProviders.CourierWebserviceRepositoryProvider.ExtractItem(Item item, Boolean overwrite);
22/03/2013 16:48:18; [Information];ca0ceccd-8be1-4146-be21-ed9145e8c8ef;Umbraco.Courier.Core.Extraction.RevisionExtraction;extraction;Repository returned: Error;
22/03/2013 16:48:18; [Warning];ca0ceccd-8be1-4146-be21-ed9145e8c8ef;Umbraco.Courier.Core.Extraction.RevisionExtraction;extraction;Item extraction did not complete, status returned: Error;
22/03/2013 16:48:18; [Information];Umbraco.Courier.RepositoryProviders.CourierWebserviceRepositoryProvider;ExtractRevisions;Committing changes;
22/03/2013 16:48:18; [Information];Umbraco.Courier.RepositoryProviders.CourierWebserviceRepositoryProvider;ExtractRevisions;Session closed;
Issue reproduced, patched, and confirmed fixed.
2.7.5.1 has been released and is on the project page
Thanks for the details John
I have a site on 4.11.4 and there are still problems with this. I previously had the same issue where it was copying the media but not the properties. I've added the nightly dll's and now it adds the properties fine however it is not preserving the structure and location of the media items and just dumped the whole lot in the root of the media section.
Simon
On going through more media items it appears its not adding properties still for all media.
For a single file here are the logs:
Revision Log:
Hello,
I am running Umbraco 6.1.3 with Courier 2.7.5.1. Courier packages my templates and images from media, but the package does not contain the actual files. Is this a known issue?
Thanks!
EDIT In my case the issue is caused by the fact that Umbraco is running as a sub application to my site. It is in a different folder and this confuses Courier.
Hi All,
I have the problem with umbraco courier.Whenever i transfer any media file like pdf,doc,xls(except image files .gif,.png,.jpeg) from staging to live(destination environment), it doesnot transferring the media files.That means, the content nodes are getting transferred, but the files like pdf,doc,xls included with in that page is not getting transferred.
But there is not having an issue with image files as I mentioned above.
The umbraco version Using is : 4.0.2.1
The courier vesion using is : 1.3
Could anyone please suggest an idea about why this is happening?
Also, please suggest the solution for fixing the same.
is working on a reply...