I have two websites on two different servers, staging and live. The website files are identical (apart from web.config), and so is the database. They are both umbraco v 4.7.2 (Assembly version: 1.0.4500.21031). I have installed the latest version of Courier that I can find, i.e. from the file Courier_2.6_2.6.17.zip. There are two issues:
1. The packages tree is empty on the live version.
2. When I deploy a single page from staging to live, without including the dependencies, it looks as if everything completed correctly, but the changes are not being deployed (i.e. changes are not visible in Umbraco admin area on the live site).
There are no error messages in the umbracoLog table in the database that occur when I do a deployment. How do I go about debugging what is going on here?
Some further information that may be useful here. Compared to the videos out there on Courier, some things are different for me - I'm not sure if this is because I'm using 2.6?
- In the Courier section, I have three nodes: locations, deploy and task manager. They never have any children. The locations node tells me I have access to the live version. The Task manager node lists the most recent actions. Deploy allows me to choose a type of asset to deploy and seems to work (but again, changes never appear on the live version)
- I'm using right-click deployment
- the output I see after transfer says that extraction and packaging were successful - but no mention of transfer/deployment.
The reason the UI looks different is that you are using the express version.
To get some better logging of whats going on, open the /config/courier.config and uncomment the debugmode config and set it to true, then restart your site.
Do the packaging again, and you should now have logs in /app_data/courier/logs hopefully they will tell us what is going on.
28/06/2012 14:56:12: Umbraco.Courier.Core.EventManager:EventManager: Adding event PublishDocument To Queue: DBTransactionComplete
28/06/2012 14:56:12: Umbraco.Courier.Core.EventManager:EventManager: Adding event UpdateLuceneIndexes To Queue: DeploymentComplete
28/06/2012 14:56:12: Umbraco.Courier.Core.EventManager:EventManager: Adding event RefreshCache To Queue: DeploymentComplete
28/06/2012 14:56:12: Umbraco.Courier.Core.Extraction.RevisionExtraction:extraction: Item extraction did not complete, status returned: NeedPostProcessing
28/06/2012 14:56:12: Umbraco.Courier.Core.Extraction.RevisionExtraction:extraction: Item needs post processing
28/06/2012 14:56:12: 1 items found ready
28/06/2012 14:56:12: Item: Document Apply Property Data False
28/06/2012 14:56:12: Umbraco.Courier.DataResolvers.DataResolvers.RTEstylesheets:ItemResolvers: Executing resolver Umbraco.Courier.DataResolvers.DataResolvers.RTEstylesheets on Extracting event
28/06/2012 14:56:12: Umbraco.Courier.DataResolvers.Images:ItemResolvers: Executing resolver Umbraco.Courier.DataResolvers.Images on Extracting event
28/06/2012 14:56:13: Umbraco.Courier.DataResolvers.Images:ItemResolvers: Executing resolver Umbraco.Courier.DataResolvers.Images on Extracted event
at System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace)
at NHibernate.Cfg.Configuration..ctor(SettingsFactory settingsFactory)
at FluentNHibernate.Cfg.FluentConfiguration..ctor()
at Umbraco.Courier.Persistence.V4.NHibernate.NHibernateProvider.GetMSSqlSessionFactory(String connectionString) in c:\Program Files (x86)\teamcity\buildAgent\work\2d3247b08adc3338\Umbraco.Courier.Persistence.NHibernate\NHibernate.cs:line 0
at Umbraco.Courier.Persistence.V4.NHibernate.NHibernateProvider.CreateSessionFactory() in c:\Program Files (x86)\teamcity\buildAgent\work\2d3247b08adc3338\Umbraco.Courier.Persistence.NHibernate\NHibernate.cs:line 222
at Umbraco.Courier.Core.ProviderCollection`1.(IEnumerable`1 types)
Just a thought, but this is in a corporate environment. Can you confirm that Courier is just using HTTP over port 80 to communicate with the target machine? Are there any other firewall-type issues that I could look into?
I've checked the server configuration and the site is running in "Full Trust (Internal)" (I had to get the ASP.NET features installed by the IT dept, hence the delay). I'm still getting the same exception as before.
Any other ideas? At this point Courier is unusable.
Is this issue resolved? I'm also getting incorrect "everything's fine" messages in the log files when transferring using Courier Express (Dec 3 2012 _39 build) and Umbraco 4.11.1. Right-click an item, like a stylesheet or template, transfer via Courier, and the resulting file at the destination is 0k. Happens the same whether transferring new files, or replacing existing. For example, was copying a .LESS file from Settings->Scripts->Less folder to destination server, and see this in the courier/logs/log_RevisionLog.txt file:
Deployment fails silently
Hi all,
I have two websites on two different servers, staging and live. The website files are identical (apart from web.config), and so is the database. They are both umbraco v 4.7.2 (Assembly version: 1.0.4500.21031). I have installed the latest version of Courier that I can find, i.e. from the file Courier_2.6_2.6.17.zip. There are two issues:
1. The packages tree is empty on the live version.
2. When I deploy a single page from staging to live, without including the dependencies, it looks as if everything completed correctly, but the changes are not being deployed (i.e. changes are not visible in Umbraco admin area on the live site).
There are no error messages in the umbracoLog table in the database that occur when I do a deployment. How do I go about debugging what is going on here?
Cheers!
David
Some further information that may be useful here. Compared to the videos out there on Courier, some things are different for me - I'm not sure if this is because I'm using 2.6?
- In the Courier section, I have three nodes: locations, deploy and task manager. They never have any children. The locations node tells me I have access to the live version. The Task manager node lists the most recent actions. Deploy allows me to choose a type of asset to deploy and seems to work (but again, changes never appear on the live version)
- I'm using right-click deployment
- the output I see after transfer says that extraction and packaging were successful - but no mention of transfer/deployment.
Hi David
The reason the UI looks different is that you are using the express version.
To get some better logging of whats going on, open the /config/courier.config and uncomment the debugmode config and set it to true, then restart your site.
Do the packaging again, and you should now have logs in /app_data/courier/logs hopefully they will tell us what is going on.
/per
Hi Per,
Thanks for the input. I tried doing what you said. Here is the output of the three log files:
LOG_DEBUG.TXT:
LOG_ERROR.TXT (looks like the contents of the page I'm trying to deploy):
LOG_TIMER.TXT:
Thanks,
David
Hmm, everything looks fine on that log.
So if you enable logging on the target machine as well, restart and do the transfer again?
also, what version do you use?
Hi Per,
I get this error below in courier/logs/log_Error.txt on the target machine.
I'm using versions Courier_2.6_2.6.17.zip and umbraco v 4.7.2 (Assembly version: 1.0.4500.21031).
Thanks,
David
Hi Per,
Just a thought, but this is in a corporate environment. Can you confirm that Courier is just using HTTP over port 80 to communicate with the target machine? Are there any other firewall-type issues that I could look into?
Thanks,
David
no other port then 80 is used, but the error you posed seems like nhibernate cannot run on that enviroment, running with custom trust levels?
Hmmm, I'll need to check. Does Courier only run in full trust? I'm not sure what the default on a new server is. I'll get back to you...
Hi Per,
I've checked the server configuration and the site is running in "Full Trust (Internal)" (I had to get the ASP.NET features installed by the IT dept, hence the delay). I'm still getting the same exception as before.
Any other ideas? At this point Courier is unusable.
Thanks,
David
Hi David
This looks like the same issue:
http://stackoverflow.com/questions/3253853/nhibernate-mappingexception-could-not-compile-the-mapping-document
Is this issue resolved? I'm also getting incorrect "everything's fine" messages in the log files when transferring using Courier Express (Dec 3 2012 _39 build) and Umbraco 4.11.1. Right-click an item, like a stylesheet or template, transfer via Courier, and the resulting file at the destination is 0k. Happens the same whether transferring new files, or replacing existing. For example, was copying a .LESS file from Settings->Scripts->Less folder to destination server, and see this in the courier/logs/log_RevisionLog.txt file:
Overwrites the test.less file with an empty file.
is working on a reply...