Mike,
Thanks for creating the zmskindeploy command. That does help but really this needs to be in the Admin Console, ie, browse for the *.zip file, uploads to a tmp directory, uncompresses, script runs the XML file telling where everything needs to go and insures all the permissions are correctly set.
I followed all the instructions in your post above and in the Admin Console all the new themes show up in the COS listing but do not show up in any user client because after unzipping the theme package as "root" user before logging in as "su - zimbra" the permissions are locked down for the "zimbra" user. I have to manually for each theme readjust all the permissions. It's a real pain.
Once I realized this I uninstalled all the folders, then
Code:
CHOWN zimbra:zimbra zimbra_skin*.zip
then uncompressed the files. They exploded properly. I performed the
Code:
zmskindeploy theme/
command which resulted in success. Then performed
Code:
zmcontrol stop/start
. The themes showed up in Admin Console under COS. I ticked the boxes and to activate them. Saved. I then checked each active user account and those new themes are active due to the COS, too.
Then went to the web client. Went to Preferences (
or Option depending on current theme) and the new themes are a no show. Why? Going back to the command like I think it is because the permissions are still wrong. I had to go back and manually reset all the permissions of which the folders and files contained in them are different set of permissions. Cleared the browser cache, logged back in and still not there in the web client.
Now, I went back to the Admin Console and to a user account and forced one of the new themes to that user. Saved. Went to the web client and logged in. Theme is a no show and, in fact, defaults to the Bare theme which isn't the next theme in line. Checking back in the Admin Console the new theme is still chosen there for that user but Bare is.
This is a buggy process. I will file a trouble ticket with support.