-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Not A Bug
-
Affects Version/s: 6.0
-
Fix Version/s: 7.1
-
Component/s: Configuration
Starting with a base Nuxeo 6.0 server I executed "nuxeoctl mp-hotfix", which installed HF01, HF02, and a Drive update. When the update was complete, some changes to my nuxeo.conf were lost, in particular the properties nuxeo.db.name, nuxeo.db.user, nuxeo.db.password.
I will post my Terminal output here as well as my before and after nuxeo.conf
To reproduce:
-Assuming you have a 6.0 server that is registered and includes Drive 1.4.1.
-Modify nuxeo.conf to include the postgresql template.
-Modify nuxeo.conf to include nuxeo.db.name, nuxeo.db.user, nuxeo.db.password.
-Execute "nuxeoctl mp-hotfix".
This will result in a two-step update (it asks you twice). The change to nuxeo.conf actually happens during the first update. I think it may even be related to the Nuxeo Drive update only but I didn't have time to isolate further.
Terminal output:
mbp15-josh:bin jfletcher$ ./nuxeoctl mp-hotfix Detected Tomcat server. Nuxeo home: /Users/jfletcher/Share/Nuxeo/Projects/Bugs/lostChanges/nuxeo-cap-6.0-tomcat-base Nuxeo configuration: /Users/jfletcher/Share/Nuxeo/Projects/Bugs/lostChanges/nuxeo-cap-6.0-tomcat-base/bin/nuxeo.conf Include template: /Users/jfletcher/Share/Nuxeo/Projects/Bugs/lostChanges/nuxeo-cap-6.0-tomcat-base/templates/common-base Include template: /Users/jfletcher/Share/Nuxeo/Projects/Bugs/lostChanges/nuxeo-cap-6.0-tomcat-base/templates/common Include template: /Users/jfletcher/Share/Nuxeo/Projects/Bugs/lostChanges/nuxeo-cap-6.0-tomcat-base/templates/postgresql Include template: /Users/jfletcher/Share/Nuxeo/Projects/Bugs/lostChanges/nuxeo-cap-6.0-tomcat-base/templates/drive Dependency resolution: Installation order (3): nuxeo-6.0-HF01-1.0.0/nuxeo-6.0-HF02-1.0.0/nuxeo-drive-1.4.2 Unchanged packages (5): nuxeo-template-rendering:6.4.0, nuxeo-diff:1.5.0, nuxeo-web-mobile:1.6.0, nuxeo-dam:6.0.0, nuxeo-spreadsheet:1.0.0 Packages to upgrade (1): nuxeo-drive:1.4.1 Packages to download (3): nuxeo-6.0-HF02:1.0.0, nuxeo-drive:1.4.2, nuxeo-6.0-HF01:1.0.0 Do you want to continue (yes/no)? [yes] Downloading [nuxeo-drive-1.4.2, nuxeo-6.0-HF02-1.0.0, nuxeo-6.0-HF01-1.0.0]... Added nuxeo-drive-1.4.2 Added nuxeo-6.0-HF02-1.0.0 Added nuxeo-6.0-HF01-1.0.0 Uninstalling nuxeo-drive-1.4.1 Detected Tomcat server. Installing nuxeo-6.0-HF01-1.0.0 Detected Tomcat server. Nuxeo home: /Users/jfletcher/Share/Nuxeo/Projects/Bugs/lostChanges/nuxeo-cap-6.0-tomcat-base Nuxeo configuration: /Users/jfletcher/Share/Nuxeo/Projects/Bugs/lostChanges/nuxeo-cap-6.0-tomcat-base/bin/nuxeo.conf Include template: /Users/jfletcher/Share/Nuxeo/Projects/Bugs/lostChanges/nuxeo-cap-6.0-tomcat-base/templates/common-base Include template: /Users/jfletcher/Share/Nuxeo/Projects/Bugs/lostChanges/nuxeo-cap-6.0-tomcat-base/templates/common Include template: /Users/jfletcher/Share/Nuxeo/Projects/Bugs/lostChanges/nuxeo-cap-6.0-tomcat-base/templates/postgresql Dependency resolution: Installation order (1): nuxeo-6.0-HF02-1.0.0 Unchanged packages (6): nuxeo-template-rendering:6.4.0, nuxeo-6.0-HF01:1.0.0, nuxeo-diff:1.5.0, nuxeo-web-mobile:1.6.0, nuxeo-dam:6.0.0, nuxeo-spreadsheet:1.0.0 Local packages to install (1): nuxeo-6.0-HF02:1.0.0 Do you want to continue (yes/no)? [yes] Installing nuxeo-6.0-HF02-1.0.0 mbp15-josh:bin jfletcher$
- depends on
-
NXBT-879 nuxeoctl mp-hotfix must not uninstall other packages
- Open