on ‎2018 Apr 06 9:48 AM
Steps I followed to arrive at the problem:
1) Fresh OSX install. I tried Sierra, now High Sierra, both gave the same problem.
2) Java JDK installation and setting the JAVA_HOME Path variables.
3) Unzip the Hybris 6.6 zip, again set all necessary Path variables for Hybris to be able to run, and set the ant environment.
4) Follow the Hybris Accelerator instructions from help.hybris
cd $HYBRIS_HOME_DIR/installer; ./install.sh -r b2b_acc setup;
./install.sh -r b2b_acc initialize;
./install.sh -r b2b_acc start;
5) Setting hosts and browse to https://powertools.local:9002/backoffice/
In the backoffice, when I go to Products > Catalog it tells me the index needs to be initialized.
When clicking the "Initialize Index here", I receive the following error. I do not get any option to let Solr index anything at all, it just gives me the "No converter registered for model class class java.lang.String"

When going to facet settings in Backoffice and trying to index anything, clicking on "Index" or "Hot Update Index ", nothing happens.
So like I said, all I've done is install OSX, unzip hybris and set necessary prerequisites, and try to initialize an accelerator through a recipe. I hope someone recognizes this problem on OSX and knows what I could to do to fix it, without Solr I cannot access the Product cockpit and configure much at all.
Thank you for any help provided.
Request clarification before answering.
Dear ,
I was trying to recreate the problem that you are talking about, but everything worked fine for me. Please check if versions match and path variables are ok.
My MacOS version: 10.13.4
Hybris version: 6.6.0.3
I unziped fresh hybris-commerce-suite-6.6.0.3.zip
cd /opt
unzip hybris-commerce-suite-6.6.0.3.zip -d HYBRIS6.6.0.3
I updated my path variables (in my case its .zshrc file)
export HYBRIS_HOME_DIR=/opt/HYBRIS6.6.0.3
export ANT_HOME=${HYBRIS_HOME_DIR}/hybris/bin/platform/apache-ant-1.9.1
export JAVA_HOME=$(/usr/libexec/java_home)
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home
export JAVA_HOME;
export PATH=${PATH}:${ANT_HOME}/bin:${JAVA_HOME}
I set up and started Hybris
cd /opt/HYBRIS6.6.0.3/installer;
./install.sh -r b2b_acc setup;
./install.sh -r b2b_acc initialize;
./install.sh -r b2b_acc start;
After opening backoffice, the same pop-up window appeared

5 . After selecting "full" as the operation value I pressed "START" and products appeared.

Please, let me know if it helps
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I got it to work. My previous projects has a dash in the name
"project-demo" "project-test" and now it doesn't, I'm not sure that really made the difference though.
These are my working PATH variables (which I adapted to your working ones in your example,
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home
export JAVA_HOME;
export PROJECT=DEV
export HYBRIS_HOME_DIR=/Users/sercka/Documents/${PROJECT}
export HYBRIS_OPT_CONFIG_DIR=/${HYBRIS_HOME_DIR}/hybris/config
export ANT_HOME=${HYBRIS_HOME_DIR}/hybris/bin/platform/apache-ant-1.9.1
export PATH=${PATH}:${ANT_HOME}/bin:${JAVA_HOME}
export PLATFORM_HOME=${HYBRIS_HOME_DIR}/hybris/bin/platform
export DEV=${HYBRIS_HOME_DIR}/hybris/bin/platform
(project folder simply is called DEV right now)
Thanks again!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello, and thank you for your reply/test!
The steps you followed are the exact same, with the difference that my hybris 6.6 zip is: HYBRISCOMM6600P_0-70003031 (6.6.0.0?)
I never get the screen at your step 5. and I really don't know why, but I'll try 6.6.0.3 and see if it changes anything.
Thanks again
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, no terminal errors whatsoever. Solr also starts as normal, "Happy searching" start message.
When I browse to https://localhost:8983/solr/ it asks me for a login/password.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.