Open Matammanjunath opened 1 week ago
Did you remove your VOLTTRON_HOME (~/.volttron) when upgrading?
Check the ~/.volttron/config file, it should have [volttron] at the top of the file.
I am sure I did not remove any VOLTTRON_HOME when upgrading. Can you please let me know how to do it. In the process of debugging the error, I manually deleted the /home/pi/volttron folder and performed the VOLTTRON installation as per the list of codes given below. This I have done over a dozen times hoping to fix the error. Looks like my following installation instructions do have incomplete steps. Can you please guide me to a list of codes I can execute to install the VOLTTRON successfully. It is hard to find on the VOLTTRON documentation website.
I checked ~/.volttron/config file. It does have following:
pi@raspberrypi:~ $ cat ~/.volttron/config
[volttron]
message-bus = zmq
vip-address = tcp://127.0.0.1:22916
instance-name = tcp://127.0.0.1:22916
pi@raspberrypi:~ $
**COMPLETE VOLTTRON INSTALLATION STEPS:**
Step1: Install prerequisites. Execute the following one by one.
sudo apt-get update sudo apt-get full-upgrade sudo apt-get install build-essential python3-dev python3-venv openssl libssl-dev libevent-dev git sudo apt-get install libffi-dev
Step2: Clone VOLTTRON code. The voltron will download into the home directory.
`git clone https://github.com/VOLTTRON/volttron --branch main`
Step3: Set up virtual environment. Just go for ZMQ bus installation and this is easier and faster to install. I did not install RabbitMQ.
cd volttron python3 bootstrap.py # Coffee is a good to have now. It takes good time. source env/bin/activate # activate the volttron platform
Step4: Test the VOLLTRON.
./start-volttron
vctl install examples/ListenerAgent --tag listener
vctl start --tag listener
vctl status
tail -f volttron.log
./stop-volttron
deactivate
I would go ahead and remove the ~/.volttron directory from your system and then run ./start-volttron
Describe the bug I tried installing VOLTTRON but no success. I had installed and used it for a year and it was working fine. Recently, I deleted the VOLTTRON folder and decided to do the installation afresh again. I am surprised to see no success to this time. Don't know why?
To Reproduce
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.![image](https://github.com/VOLTTRON/volttron/assets/41698531/9674b765-a309-48a4-a420-0a0bb6af777a)
Operating System (please complete the following information):
Additional context Add any other context about the problem here.