Hello,
I am installing a node in VPS with ubuntu server 20.04 and I am having problems with the installation of the indexer V2. I have some doubts with the installation of postgrees and the indexer.
I installed the node as the manual says but when I got to the indexer section…i did:
2º - In a TMP directory:
wget https://github.com/algorand/indexer/archive/refs/tags/2.6.1-rc1.tar.gz
tar -xf 2.6.1-rc1.tar.gz -C ~/indexer
2º - in ~/indexer:
docker-compose up
and now, “./algorand-indexer daemon -P …” but the orden is unknown…where is the file?
Do i have to do something else?
{“error”:"~/node/data/algod.net: open ~/node/data/algod.net: no such file or directory",“level”:“error”,“msg”:“fetcher setup, ~/node/data/algod.net: open ~/node/data/algod.net: no such file or directory”,“time”:“2021-09-03T17:49:13+02:00”}
Any idea?
It tells me that the file does not exist, and indeed it is, but the manual is as is
You need to run an archival node with data directory ~/node/data.
Note that if you installed your node with the Debian package, you need to change ~/node/data with /var/lib/algorand.
ok, seeing the size of the databases, I think it is best to mount the archival node on two servers, one for the node and the other for the database. But the indexer…where should it be installed? On the two servers or only on the node? Sorry, but the documentation does not make some things very clear … hahaha