You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The script starts with "#/bin/sh" which is not even a valid "shebang" (should be #!/bin/sh or #!/bin/bash....as far as i know)
Then, there is the "while" at line 24 which make no sense to me:
file="./install.properties"
if [ -f "$file" ]
then
while IFS='=' read -r key value
do
key=$(echo "$key" | tr '.' '_')
eval '${key}'='${value}'
done < "$file"
The "eval" command takes its arguments and executes them as a command, so it is expect that the script will exit with errors like
./setup-suitecrm-data-integration.sh: line 27: #: command not found
./setup-suitecrm-data-integration.sh: line 27: SUITECRM_ANALYTICS_WEBAPP_PORT=8080: command not found
./setup-suitecrm-data-integration.sh: line 27: =: command not found
./setup-suitecrm-data-integration.sh: line 27: #: command not found
./setup-suitecrm-data-integration.sh: line 27: SMTP_ENABLED=1: command not found
./setup-suitecrm-data-integration.sh: line 27: #: command not found
$file contains just "key=value" pairs and a few comments and "eval" tries to execute them.
...I would rather assume that i`m missing something and the script is above my understanding than that this "Documentation" is absolutely broken.
Please advice, what am i doing wrong ?
Proposed fixes and/or additions
The text was updated successfully, but these errors were encountered:
Page with Issue
https://docs.suitecrm.com/admin/suitecrm-analytics/scrm-data-integration/
What is wrong, less clear, or missing
Environment: Centos 7
Hello.
So i followed this article to install Data Integration.
At the step https://docs.suitecrm.com/admin/suitecrm-analytics/scrm-data-integration/#_installing_suitecrm_data_integration
...when the user is told to execute the script "/setup-suitecrm-data-integration.sh"
...the script exits full of syntax errors
The script starts with "#/bin/sh" which is not even a valid "shebang" (should be #!/bin/sh or #!/bin/bash....as far as i know)
Then, there is the "while" at line 24 which make no sense to me:
The "eval" command takes its arguments and executes them as a command, so it is expect that the script will exit with errors like
$file contains just "key=value" pairs and a few comments and "eval" tries to execute them.
...I would rather assume that i`m missing something and the script is above my understanding than that this "Documentation" is absolutely broken.
Please advice, what am i doing wrong ?
Proposed fixes and/or additions
The text was updated successfully, but these errors were encountered: