Hi All,
We are upgrading our AEM from version 6.2 to version 6.4 with InPlace Upgrade approach.
Issue : Not able to access CRXDE tool i.e. neither crx/de nor crx/packmgr/index.jsp
Screenshot –
AEM 6.2 Config File -
path = /data/aem/author/crx-quickstart/repository/datastore
minRecordLength = 4096
maxcachedBinarySize = 50000
customBlobStore = true
============================================================
Then, Performed content repository migration as part of Inplace upgrade steps with below command –
java -Xmx12G -jar aem-author-4502.jar -v -x crx2oak -xargs -- --load-profile segment-fds --src-datastore=/data/aem/author/crx-quickstart/repository/datastore
Here, as highlighted, we used segment as fds since we are using file data store. Now In AEM6.4, we got config file of FileDataStore and SegmentNodeStore as below –
AEM 6.4 Config File -
path = /data/aem/author/crx-quickstart/repository/datastore
minRecordLength = 4096
path = /data/aem/author/crx-quickstart/repository/datastore
minRecordLength = 4096
maxcachedBinarySize = 50000
customBlobStore = true
customBlobStore = true
Need assistance to fix the CRXDE issue.
Thanks in Advance !!
Views
Replies
Total Likes
You can use the CRX Autoinstaller feature to install the package on server startup automatically. Just place the forms package in crx-quickstart/install folder and restart the server.
Views
Replies
Total Likes
.cfg files are not supported for AEM versions >6.3
Can you try to change the syntax and extensions for datastore and segmentstore configs as mentioned at [1] and try again?
Views
Replies
Total Likes
Kunal, Thanks for the suggestion. I tried auto installation but didn't work. Checked Error logs but didn't find anything getting installed.
Views
Replies
Total Likes
Check if 'crx' bundles are up & running in /system/console/bundles
503 is probably an outcome of upgrade process gone bad. One thing that I noticed is usage of '.cfg' instead of '.config'. I assume that could be an issue but not sure. You may try to rename the files or choose to upgrade again.
Configuring node stores and data stores in AEM 6
Newer versions of Oak employ a new naming scheme and format for OSGi configuration files. The new naming scheme requires that the configuration file be named .config and the new format requires values to be typed and is documented here.
If you upgrade from an older version of Oak, ensure that you make a backup of the crx-quickstart/install folder first. After the upgrade, restore the contents of the folder to the upgraded installation and modify the extension of the configuration files from .cfg to .config.
Views
Replies
Total Likes
Gaurav, CRX bundles are up .. Also, I did try with .cfg to .config but same error.
Views
Replies
Total Likes
To me, it is a clear case of upgrade gone wrong. You have a couple of options:
1) Redo the upgrade from scratch
2) Open DayCare ticket and ask for patch to fix the existing setup
3) Continue to debug till you find a solution.
You could do #2,3 in parallel.
Debugging steps:
- Setup a new 6.4 fresh instance in parallel
- Generate the server startup logs and compare the logs against this server to find more clues about impacted bundles/services. Most likely crx or authentication related bundles/service
- Compare sling.properties, number of active bundles, default configurations related to /crx bundles for this fresh instance and the bad instance.
Revert in case you find any 'crx' or 'authentication' specific clues in log files.
Views
Replies
Total Likes