How to rollback the installation of a content package?

Dear Community,
We are using CQ 5.4 on my current assignment and I have a (hopefully trivial :) question concerning deployment/rollback best practices.
Assume I have a content package ContentPackageA.zip which contains:
/etc/packages/com.somesite/ContentPackageB.zip
/apps/somesite/install/someservice.jar
The subpackage ContentPackageB contains:
/content/somesite/somepage
/content/somesite/somepage/somechildpage
/etc/tags/somesite/sometag
To install this in my environment I will do the following:
Open CRX Package Manager on my Author instance
Upload ContentPackageA.zip
Make sure the setting 'Extract Subpackages' is checked and install ContentPackageA.zip
Open the Tools Admin interface
Browse to /etc/packages/com.somesite/
Activate ContentPackageA.zip
Now my environment, both Author and Publish instances, contains all the new nodes included in the content packages: ContentPackageA.zip and subpackage ContentPackageB.zip
Assume now that I want to rollback this deployment. I will then do the following:
Open the Tools Admin interface
Browse to /etc/packages/com.somesite/
Deactivate ContentPackageA.zip
Open CRX Package Manager on my Author instance
Uninstall ContentPackageA.zip
Delete ContentPackageA.zip (optional I guess)
My experience is that this procedure does not work entirely. The resulting state is:
On the Author instance, everything is removed, i.e. both packages and package contents
On Publish instance, only one package is removed: /etc/packages/com.somesite/ContentPackageA.zip
The subpackage remains: /etc/packages/com.somesite/ContentPackageB.zip
The package contents remains as well from both ContentPackageA.zip and ContentPackageB.zip
My questions are:
What are the best practices to perform a rollback from both Author and Publish instances?
Is deactivation of a package supposed to delete package contents and deactive subpackages?
Are there any changes in CQ 5.5 regarding this?
Thanks for the support!
Best regards,
Jonas Oskö

Currently OOB we do not have option that by deactivate it uninstall package.  The enhancement request is in place & not yet considered for future release. Please file daycare with business impact & valid usecase.
You might not use this feature more often right ?  During your code deployment if you wan't to rollback you can restore from the backup that you had before deployment.
If repository is big & restore is not an option. As a workaround You need to uninstall the package from publish before deactivate. This can be achieved through script using curl.

Similar Messages

  • How to suspend the installation after downloading packages via ota for lollipop 5.0.1. on my Note 4. always asks me to install it on notification bar. thank you :)

    How to suspend the installation after downloading packages via ota for lollipop 5.0.1. on my Note 4. always asks me to install it on notification bar. thank you

    If you factory reset, it wont make the update go away, but you should back up and reset before you install the update.

  • How to rollback the Airport Extreme to previous release?

    Hello,
    I need to know how to rollback the Airport Extreme to previous release.
    I just updated my last generation Airport Extreme to the latest release because it was blinking orange the status light and it requested to be updated.  Howver, doing so, it no longer recognize my AirPort Express nor my second Airport Extreme (2nd generation) that is bridged.
    If anyone knows how to rollback the update I will appreciate it.
    Thanks,
    genbaez.

    I just updated my last generation Airport Extreme to the latest release
    We might be confused by last generation. does that mean Gen5??
    If it is Gen5 you roll back by holding down the options key while selecting version.
    All the previous versions applicable to your model should pop up.
    Just select the one you want.. and it will proceed. You get no warning or other chance to stop it.. so choose well. 7.6.1 is IMHO the best when you are going to mix with older products.
    I got about 10x link speed improvement doing extend wireless when I rolled back to 7.6.1 yesterday.
    Also you should stop the airport utility annoying you.. turn off the firmware update reminders so they only happen once a week. Uncheck all of these. Ignore the update warning when it will inevitably happen.

  • How to Rollback the number autogenerated of a material

    Hello,
    Please someone can help me, I need to Know how to rollback the autogenerated number of a material.
    I am using    CALL FUNCTION 'BAPI_MATERIAL_GETINTNUMBER', but when I create a material perhaps a validation error appears when creating the material using  CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'.
    So, if an error appears how can I go back to the previous number of the material. The counter shouldn' be incremented.
    Thank so much from Peru.

    Hello,
    Question from my side, Why do you want to use 'BAPI_MATERIAL_GETINTNUMBER' for creating a new number?
    The FMBAPI_MATERIAL_SAVEDATA, has a call to 'MATNR_NUMBER_CREATE' to create a new number.
    Regards,
    Sameer

  • How to rollback the oracle silent installation

    Hello Guys!
    i have one simple question related to the Oracle silent installation.
    I implemented embedded installation of Oracle in silent mode for my product.
    But i want to implement the rollback feature, i mean it should be possible to interrupt silent installation of Oracle s\w and it should be implemented in correct way. All installed files services should be removed, cleared all registry keys, cleared the inventory information etc.
    So if someone knows anything how to perform this functionality it will be great help for me. I see only two ways:
    1. To write something into the input stream of the process, like "stop", "cancel" ...
    Maybe it is funny idea
    2. The second way to perform termination of process and clear all information in scripts, but this is waste of time and may cause some addional errors at execution.
    3. So if you can help me thanks in advance
    Alex

    Hello Nicolas!
    yes you are very close to the theme. I used this codes but it is not what i am looking for now. I'll try to explain:
    ---------------------------------------- xx% ---------------------------------------
    | Oracle Installer is strated | ---------------> | Oracle istallation is done |
    ---------------------------------------- | ---------------------------------------
    | |
    | |
    | to interrupt installation
    | |
    |______________|
    go to the same state as before installation
    Thus do you know the best way how to implement this process:
    1. To interrupt silent installation of Oracle
    2. Rollback all changes made by interrupted setup program(some files are installed etc, but i don't need them since i had interrupted the installation process)
    So thanks for your answer
    Alex

  • How to edit the installation scripts in the supporting objects

    I wanted to update one of the installation scripts in the supporting objects. I clicked into that script and use the "script editor" tab. After editing the script, I clicked "Apply Changes" button. It redirected me to the upper level of the page. When I reopen the script, the content of this script is messed up and has the content of another script, not what I have changed. What could happen with it? There is one case that the script was all wiped out!
    One general question, how can I easily update the install scripts and reload it without export and import the whole application? or Can I?
    Thanks
    Fengting

    Fengting,
    I am not sure what causes this, but I have had the same issue with shared components >> report queries. Sometimes if you have multiple report queries it becomes impossible to edit any of them. If I remember correctly I tried using a different browser and everything seemed to work ok. I was using Firefox when I was having the issue.
    Sorry this is not an answer, but I feel your pain!
    Cheers,
    Tyson Jouglet

  • How to determine the Installation after Work Order installs a new meter

    Hi IS-U Experts,
    I have a question about the integration of Work Orders and Installation of Devices as it relates to IS-U data.
    Our understanding of a Meter (Installation) process is as follows:
    1.  A Work (Service) Order is generated by CS (or a Sales) process.  At minimum, the Device Location (ES65) and the Device Category (Material) needs to be provided for.
    2. A techniciation executes the Work Order to install the meter.  After which, this work is confirmed (IW42) and a Goods Issue is done on installed Device.  In our case, the technician decides actual Device Number based on his/her vehicle stock.
    3. Now, we want execute the IS-U Device Installation (EG31).  However, we don't know where to draw the IS-U Installation from.  There is no IS-U specific reference on the Work Order for the Installation. (It would be nice if the Order Type had an IS-U releavant screen category (table TQBT) for such a reference).
    We could create the Installation on the fly, but we need the IS-U Premise (ES60). Our expection, anyway, is to build IS-U data
    prior to the Work Order execution as part of the CS process. We defer IS-U Installation only because the device number is determined at the time of installation.
    How should the IS-U context data passed around in the Work Order?
    Thanks, Ed

    Hi Reddy
    Thanks for your reply, but the note says that only applies for India or Brazil legal purposes.
    In my case I still have confuse, in a normal Sales scenario CRM to R/3 how to works the determination of the delivery plant.
    I know that in R/3 is determined by:
    1. Customer-Material info record (Sales Area data)
    2. Customer Master data (Sales area data)
    3. Material Master data (Sales-area data)
    I can think that in CRM is determinate bye Material Master Data, but I still don't know if I can change
    it??  and where in the crm sales order before it is download to R/3??
    Thanks
    Sussie

  • Really how secure is the current erase all content and settings?

    I am not sure about taking my iPhone in for repair or exchange after reading many old articles about how unsecure the erase really is, seeing how many sensitive passwords and e-mails I have. I have the most current firmware. So tell me, how reliable for keeping my data safe and gone is the current "Erase all content and settings" feature?
    Also note: I have iPhone 3g, not later or earlier. So I am not sure if the hardware would make a difference, but yeah.
    Message was edited by: nkcrcr

    It is what it is. Erase all contents & settings overwrites user settings and information, writing a series of ones to the data partition. This process can take several hours, depending on the storage capacity of your iPhone. During this time, the device displays the Apple logo and a progress bar. If you had a 3GS, it would be instantaneous, as the 3GS supports hardware encryption. Can someone still recover data? Yes. But the software & equipment necessary to do so is very expensive & generally only available to law enforcement.

  • How to automate the data flow to content servers?

    We have ECC connected to CS. Could you help tell how to automate the data flow into the CS? Thanks a lot!

    What do you use the Content Server for? If its for archiving you need to run the STORE job to send the data to the CS.
    I can't see a reason to automate that process
    Regards
    Juan

  • How to rollback the DTP changes

    Hi Team,
    In system we have flat file data load, and we are using the DTP to load the file into DS0.
    In DTP we are maintaining the file path.
    Recently we upgraded the BW system to Support pack 27(SP27) and now when I am going to change mode in DTP not able to see the file path. In display mode I was able to change the file path but save and activate button is disable. I change the file path in display mode and went to change mode to save it but file path section was disappear and I save it now not able to see the file path section.
    Now I don't see any file path in DTP and I tried to create new DTP that DTP is also not showing the file path.
    Is it possible to rollback the changes in DTP, so that I can use the earlier DTP which has file path section.
    How can we create the DTP which will be having the file path section it.?
    Is it because of support pack?
    Thanks
    Chetan

    Hi Chetan,
    I take it you're now in version 7 flow.
    Here's what I would do,
    - Go to the relevant PC File datasource.
    - Open the relevant infopackage.
    - Go to the Extraction tab.
    - Check out on "Filename" field. In there you can specify/change the filepath by clicking on the button behind the text box.
    Hope this helps.
    Darwin

  • How to stop the installer and make a USB version of OSX Mountain Lion

    Hi - I have had some serious problems with Mountain Lion and support from Apple has demanded reinstallation of OSX. With my rather slow BT Connect broadband sometimes the download takes 6-7 hours!!! Sometimes it stop as I understand BT Connect limits downloads. While I find a new ISP, can anyone advise me how to make an installable version of Mountain Lion from a USB stick . I have tried downloading the installer but it then immediately begins to install ISX ML and the disappears from my Downloads Directory. After 6 hours wait I am back to square one.
    All and any help most gratefully received. My machine is a 13" 2012 Macbook Air with 128GB SSD and 4GB RAM.

    It's easy. First, you have to download OS X Mountain Lion, so open the App Store > Purchases, and download OS X Mountain Lion. Then, when the download finishes, the installer will appear, so close it and it will stay in Applications folder. After reinstalling OS X, OS X deletes the installer, so it's important to do that.
    Finally, you can use an application like Lion Diskmaker to create a Mountain Lion USB drive > http://liondiskmaker.com After creating the Mountain Lion USB drive, to start from the USB drive, hold the Option (Alt) key while your computer is starting and select your USB drive

  • How to find the Installation Type and License Details.

    Hi,
    If we have an already installed oracle system on AIX ,how come we find whether the installation type is Standard or Enterprise ?,also where we can find the licensing details,ie number of user license?
    Regards,
    Sam

    Hello,
    Here is the difference:
    <<Enterprise Edition>>
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Feb 27 10:00:49 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    DBMS_STANDARD.DATABASE_NAME()
    ORCL
    << Standard Edition>>
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Feb 27 10:00:44 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Release 10.2.0.1.0 - Production
    DBMS_STANDARD.DATABASE_NAME()
    SRI
    -Sri

  • How to make the Installer place support files in specific folder

    Hi,
    I'm trying to use the LabVIEW2009 installer for the first time. I haven't used any earlier ones, so my understanding is limited. I have created a project and an executable and wish to direct the installer to place some groups of files in a number of directories other than the one in which the executable goes. On the Source Files page I can see a number of Folder descriptions in square brackets. I don't understand how to use these. Are they to be set up to point to specific directories? If so how?
    So far I have managed to create an installer which puts all the support files from the project in a single directory. My attempts to select a subset of files within the Project View window and place them in a separate directory were not allowed since they are treated as an indivisible group. Basically i don't know enough about the installer and my searches for information have only yielded very basic information.
    If anyone can help by supplying or pointing to more detailed information I'd be most grateful.
    Thanks
    George
    Solved!
    Go to Solution.

    Hi George
    This is from the LV help:
    Destination View—Specifies the location and directory structure of the files when they are installed. Select an item from the Project View tree and click the arrow button or drag the file to the Destination View tree to include it in the installer directory structure. You can drag multiple files at the same time. Click the buttons below the Destination View tree to add, remove, and rename folders in the directory. You also can right-click the folders and select a command from the shortcut menu.
    The folders in the Destination View directory that do not have an LV prefix correspond to Microsoft Installer (MSI) properties that install files in the following locations.
    [CommonAppDataFolder]—Files you include in this folder install to the Application Data folder.
    [CommonFilesFolder]—Files you include in this folder install to the Common Files folder.
    [DesktopFolder]—Files you include in this folder install to the Windows desktop of the current Windows user.
    [LVxxRTEDIR]—Where xx is the LabVIEW version currently in use. Files you include in this folder install to the folder of the Run-Time Engine for the LabVIEW version currently in use.
    [LVDIR]—Files you include in this folder install to the folder of the LabVIEW version currently in use.
    You can find a full list of the MSI properties here. Scroll down to "System Folder Properties"
    Best Regards
    David

  • How to keep the installer from installing iTunes in Program Files?

    I am running Windows 7 64-bit.  Because the folder "Program Files" is a protected folder in Windows I want to install iTunes under a folder "C:\Apple\iTunes".  If I download iTunes and manually install it I can tell it to put it there and it installs there fine.  If it tries to install iTunes under "C:\Program Files" all sort of problems are created.  Sometimes ownership of the folder is lost and that is a real pain to fix so I can delete the program.  Once after I created this folder and install iTunes under C:\Apple I received notice that the installer had an update to iTunes.  I told it to install it and it replaced the one in the C:\Apple folder like it was supposed to.  Since that one time, months ago, every time the installer goes to install an update it wants to put it in C:\Program Files and the installation fails.  Sometimes I can actually delete the folder that it has created sometimes the ownership is messed up and I have to start up in Safe Mode to delete it.  (A real pain.)
    So can I prevent the installer from putting the updates in the C:\Program Files folder and if so how?  It finds the old version, under C:\Apple, but won't put the new installation there, so it fails every single time.
    Any ideas?

    If you go to the standard download page it will detect the architecture of your PC and offer the correct installer.  Up to iTunes 12.0 the "64 bit" versions of iTunes were actually 32-bit applications with a 64-bit installer - so will install in C:\Program Files (x86).  As of iTunes 12.1 it is a "true" 64-bit application so installs in C:\Program Files.
    You can avoid using the Apple Software Update by:
    in iTunes, unchecking the Check for new software updates automatically box in Edit > Preferences > Advanced
    in Apple Software Update, select the "Never" radio button in Edit > Preferences > Schedule
    If you want to keep these active so that you're notified when there is a new version of iTunes available, just click Quit when the Updater opens and then install manually.  There's no accessible option in the Updater to alter the target folder for automated installations.  There's probably something in the Windows Registry that relates to this, but I'd be wary of changing this without substantial testing - there could be interaction/conflict with Windows settings regarding the correct location of 32- and 64-bit applications.

  • How to RollBack the single AM transaction

    Hi,
    I am using a task flow region inside another task flow fragment. Both are having view bindings from different AM's. Here I am trying to apply the Rollback for single app module. After rollback both AM's view data is getting clear.
    Here how can i rollback the single AM transaction.
    Reg,
    Brahma B.

    Both AMs are running the same database session, and so are sharing the same transaction. A rollback applies to the entire transaction unless you use the "ROLLBACK TO savepoint" syntax. Outside the ADF environment, I'd say that you want to create a save point with "SAVEPOINT savepointname" at the beginning of the inner taskflow, and rollback with "ROLLBACK TO SAVEPOINT savepointname". There is probably a way to do that in ADF, but I don't know how - maybe someone else will chime in. You might also want to look at this blog entry by Chris Muir: http://one-size-doesnt-fit-all.blogspot.com/2007/02/jdeveloper-and-art-of-rollback.html and see if it sparks an idea.

Maybe you are looking for

  • HELP! my ipod will NOT restore and is stuck in disk mode....

    My ipod told me one day that it needed to be restored with itunes so i obliged. I tried all usual stuff at first(play/pause and menu, menu select and toggle hold etc) but didnt work so resigned myself to losing all those magnificent songs id compiled

  • Failed to open source schema file:null Error Xform File Creation - CustomerPartyEBM

    Hi All,     We are creating a Provider ABCS which is generated by AIA Service Constructor with SyncCustomerPartyList Operation in CustomerPartyEBM, We are able to compile the process susccesfully but when we create a Trasformation file with source as

  • Which codec is needed for playing vp6 videos in Windows 7 (32 bits)?

    I'm still trying to solve the media corrupted error, could you recommend me a codec for Windows 7 (32 bits) for playing vp6 videos? Perhaps I'm not using the correct codec... Thanks! Noelia

  • Export in CSV format

    Post Author: mikesherwood CA Forum: Crystal Reports hi, i am exporting my report in CSV format & trying to open it with excel, only to find that CR repeatedly dumps the Page Header, Report Footer & Page Footer in each row. Also, there are no breaks a

  • Edit IO Server

    Hi, I have a college project designed and the server vi works perfectly when un-deployed. We have not moved on to state machines yet so i have had to use local variables in the project. When deployed, one of my Pic Rings does not update its value in