1. Some files are transfered as 0byte files. This was caused by the Courier cache handler clearing out some files during caching of data in the background, so it happened at random, as it really dependant on the speed of the server + number of cores, and number of things courier was doing at the same time, so some didnt see this issue at all, and some saw this with almost all files.
2. Courier publishes non-published content If you do unpublished changes to a document, and courier over the document, courier will mistakenly see the document as published (which it is) but will publish the latest version of the document, which is not supposed to be published. Courier will by default ignore unpublished versions from now on. You can also enable this is couriers settings whether you want it to transfer unpublished content, which you can then manually publish.
3. Missing media items in RTE Media items in the Rich Text Editor wasnt always caught as a media item, so only the file was transfered, so thumbnails and crops would be missing after the deployment. Courier can now better tell the difference between media items and regular files linked in the rte and templates as well.
Before then, I was using 2.7.1, which presented you with a dropdown list of options, one of which was "Selected items only," so that the dependencies weren't transferred over with Courier. Those options no longer appear in 2.7.3 or 2.7.4. Are they ever going to return? It was a very useful option so that Courier wouldn't package up items/dependencies that haven't been modified and don't need to be transferred. Now, even if I just want to move over one document, Courier is picking up so many more documents that I don't want to get transferred.
Yeah, its not gone, I just need to re-enable that part of the deploy form so it works as expected, there was a couple of underlying issues with how comparisons were done with this setting, and the goal was really to eliminate this setting by making courier better at comparing, but things arent always like that, so its staying, and should be available in the final release as soon as I have the last bits ironed out
Again I have to compleain that this release(and most recent versions) don't work in our enviornment. The option to specifiy a Dependency Depth fo a deployment is a show stopper. We have many template level cahnges for example that we don't want automaticaly deployed with a content(document) deloyed. In older versions(2.7.2) there was a dropdown on the CommitItem dialog that let us controll this and thus only deploy the item we have selected, but with the new versions we go to deploy a document and get 30+ other pages included that we dont want(via template dependnecies)
ERROR NHibernate.AdoNet.AbstractBatcher - Could not execute query: SELECT macroPropertyAlias
FROM cmsMacroProperty
inner join cmsMacro on macro = cmsmacro.id
inner join cmsMacroPropertyType on macroPropertyType = cmsMacroPropertyType.id
where
cmsMacroPropertyType.macroPropertyTypeAlias in ('mediacurrent','contentsubs','contentrandom','contentpicker','contenttree','contentall')
and cmsMacro.macroAlias = 'ListPromoBox'
MySql.Data.MySqlClient.MySqlException (0x80004005): Unknown column 'cmsmacro.id' in 'on clause'
at MySql.Data.MySqlClient.MySqlStream.OpenPacket()
at MySql.Data.MySqlClient.NativeDriver.ReadResult(UInt64& affectedRows, Int64& lastInsertId)
----------------------------------------
My Umbraco runs on MySQL DB, which installed in Linux environment, co table names are case-sensitive. In this query cmsmacro should be replaced with cmsMacro in order to make it work.
On general note, Courier dos not work with case-sensitive table names, because Umbraco itself converts all table names into uppercase in queries, so I had to rename all tables in my MySQ database to be capitalized. Courier does not follow this convention, so it keeps original table names in queries.
I found a workaround, but there is an overhead, and I am going to open a ticket in the Courier tracker to address this issue. But at least please be consistent with table names and aliases accross all queries.
can you give an update on this please and when do you think it will be ready for full release?
We stopped using Courier some time ago due to the blank .css and .js files issue and it is really starting to become a bother keeping environments in sync.
Courier 2.7.4 Pre-release
So 2.7.4 Fixes a couple of long-standing issues.
1. Some files are transfered as 0byte files.
This was caused by the Courier cache handler clearing out some files during caching of data in the background, so it happened at random, as it really dependant on the speed of the server + number of cores, and number of things courier was doing at the same time, so some didnt see this issue at all, and some saw this with almost all files.
2. Courier publishes non-published content
If you do unpublished changes to a document, and courier over the document, courier will mistakenly see the document as published (which it is) but will publish the latest version of the document, which is not supposed to be published. Courier will by default ignore unpublished versions from now on. You can also enable this is couriers settings whether you want it to transfer unpublished content, which you can then manually publish.
3. Missing media items in RTE
Media items in the Rich Text Editor wasnt always caught as a media item, so only the file was transfered, so thumbnails and crops would be missing after the deployment. Courier can now better tell the difference between media items and regular files linked in the rte and templates as well.
The 2.7.4 pre-release is here:
http://nightly.umbraco.org/UmbracoCourier/2.7.4/nightly%20builds/
Docs are as always here on github, its a work in progress, but let me know if there is anything missing and I'lladd it asap:
https://github.com/umbraco/courier ;
I downloaded and am using the 2.7.4. pre-release after you recommended it in this thread for the race condition bug that zeroes out certain files: http://our.umbraco.org/forum/umbraco-pro/courier/37560-Courier-empties-all-files
Before then, I was using 2.7.1, which presented you with a dropdown list of options, one of which was "Selected items only," so that the dependencies weren't transferred over with Courier. Those options no longer appear in 2.7.3 or 2.7.4. Are they ever going to return? It was a very useful option so that Courier wouldn't package up items/dependencies that haven't been modified and don't need to be transferred. Now, even if I just want to move over one document, Courier is picking up so many more documents that I don't want to get transferred.
Hi AL
Yeah, its not gone, I just need to re-enable that part of the deploy form so it works as expected, there was a couple of underlying issues with how comparisons were done with this setting, and the goal was really to eliminate this setting by making courier better at comparing, but things arent always like that, so its staying, and should be available in the final release as soon as I have the last bits ironed out
/Per
Again I have to compleain that this release(and most recent versions) don't work in our enviornment. The option to specifiy a Dependency Depth fo a deployment is a show stopper. We have many template level cahnges for example that we don't want automaticaly deployed with a content(document) deloyed. In older versions(2.7.2) there was a dropdown on the CommitItem dialog that let us controll this and thus only deploy the item we have selected, but with the new versions we go to deploy a document and get 30+ other pages included that we dont want(via template dependnecies)
Get error with the new build during deployment:
-----------------------------------------------
ERROR NHibernate.AdoNet.AbstractBatcher - Could not execute query: SELECT macroPropertyAlias
FROM cmsMacroProperty
inner join cmsMacro on macro = cmsmacro.id
inner join cmsMacroPropertyType on macroPropertyType = cmsMacroPropertyType.id
where
cmsMacroPropertyType.macroPropertyTypeAlias in ('mediacurrent','contentsubs','contentrandom','contentpicker','contenttree','contentall')
and cmsMacro.macroAlias = 'ListPromoBox'
MySql.Data.MySqlClient.MySqlException (0x80004005): Unknown column 'cmsmacro.id' in 'on clause'
at MySql.Data.MySqlClient.MySqlStream.OpenPacket()
at MySql.Data.MySqlClient.NativeDriver.ReadResult(UInt64& affectedRows, Int64& lastInsertId)
----------------------------------------
My Umbraco runs on MySQL DB, which installed in Linux environment, co table names are case-sensitive. In this query cmsmacro should be replaced with cmsMacro in order to make it work.
On general note, Courier dos not work with case-sensitive table names, because Umbraco itself converts all table names into uppercase in queries, so I had to rename all tables in my MySQ database to be capitalized. Courier does not follow this convention, so it keeps original table names in queries.
I found a workaround, but there is an overhead, and I am going to open a ticket in the Courier tracker to address this issue. But at least please be consistent with table names and aliases accross all queries.
Hi,
can you give an update on this please and when do you think it will be ready for full release?
We stopped using Courier some time ago due to the blank .css and .js files issue and it is really starting to become a bother keeping environments in sync.
Thanks,
Oly
is working on a reply...