#support

SigNoz Install Script Errors

TLDR Nishant encountered errors with the install.sh script. Prashant suggested using bash install.sh or ./install.sh instead of sh.

Powered by Struct AI

1

7
7mo
Solved
Join the chat
May 02, 2023 (7 months ago)
Nishant
Photo of md5-c6e8dc7fcdf178830b4933494eff7768
Nishant
06:41 AM
Not sure if this might cause some issues in service recreation during update but I jut got few install script error on executing sh install.sh
ubuntu@ip-my-ip:/var/www/signoz/deploy$ sh install.sh

-e 👋 Thank you for trying out SigNoz! 

install.sh: 304: !=: not found
-e 🌏 Detecting your OS ...

install.sh: 36: [[: not found
install.sh: 341: [[: not found
install.sh: 421: [[: not found
install.sh: 436: [[: not found
-e 🐳 Starting Docker ...

install.sh: 205: [[: not found
install.sh: 218: [[: not found

-e 
🟡 Pulling the latest container images for SigNoz.

Pulling zookeeper-1            ... done
Pulling clickhouse             ... done
Pulling query-service          ... done
Pulling alertmanager           ... done
Pulling frontend               ... done
Pulling otel-collector         ... done
Pulling otel-collector-metrics ... done

🟡 Starting the SigNoz containers. It may take a few minutes ...

Starting zookeeper-1 ... done
Starting clickhouse  ... done
Recreating query-service                           ... done
Starting clickhouse-setup_otel-collector_1         ... done
Starting clickhouse-setup_otel-collector-metrics_1 ... done
Recreating clickhouse-setup_alertmanager_1         ... done
Recreating frontend                                ... done
install.sh: 230: [[: not found


install.sh: 496: [[: not found
install.sh: 421: [[: not found
++++++++++++++++++ SUCCESS ++++++++++++++++++++++

🟢 Your installation is complete!

-e 🟢 Your frontend is running on 

ℹ️  By default, retention period is set to 7 days for logs and traces, and 30 days for metrics.
-e To change this, navigate to the General tab on the Settings page of SigNoz UI. For more details, refer to  

ℹ️  To bring down SigNoz and clean volumes : sudo docker-compose -f ./docker/clickhouse-setup/docker-compose.yaml down -v

+++++++++++++++++++++++++++++++++++++++++++++++++

👉 Need help in Getting Started?
-e Join us on Slack https://signoz.io/slack

-e 
📨 Please share your email to receive support & updates about SigNoz!
Email: 
install.sh: 533: [[: not found
install.sh: 421: [[: not found
-e 
🙏 Thank you!

install.sh: 245: [[: not found

commit head -
commit d5e112a9bc809e0706f1f86032a4590bbbf75ecc (HEAD -> main, origin/main)
Merge: 975d57ca 428b10f7
Author: Ankit Nayan <[email protected]>
Date:   Wed Apr 26 16:51:41 2023 +0530

    Merge pull request #2634 from SigNoz/release/v0.18.3
    
    Release/v0.18.3

Machine config
• AWS t3a.2xlarge ubuntu running signoz community version
This never happened before but my update seems to work fine
Srikanth
Photo of md5-ce04a9988e2fd758a659dc55be6f2543
Srikanth
06:46 AM
Prashant might help here
Prashant
Photo of md5-1899629483c7ab1dccfbee6cc2f637b9
Prashant
06:57 AM
You can either use bash install.sh or ./install.sh
06:58
Prashant
06:58 AM
Using sh results in the above issues
Nishant
Photo of md5-c6e8dc7fcdf178830b4933494eff7768
Nishant
07:40 AM
okay got it
07:41
Nishant
07:41 AM
do I need to recreate the service by using any of the above commands u mentioned?
Prashant
Photo of md5-1899629483c7ab1dccfbee6cc2f637b9
Prashant
08:08 AM
If the existing signoz cluster is working fine, not needed

1