Code Monkey home page Code Monkey logo

Comments (5)

urtho avatar urtho commented on June 30, 2024

You probably have ! (exclamation point) in your DB password.

try using single quotes :

./algorand-indexer daemon --data-dir /tmp -P 'host=[127.0.0.1] port=[5432] user=[root] password=[my_password] dbname=[aperion] sslmode=disable' --no-algod

from indexer.

block98ct avatar block98ct commented on June 30, 2024

@urtho I have removed double quotes because my password had a "!" mark
I ran the command I got this error
Error: unknown flag: --no-algod

{"error":"unknown flag: --no-algod","level":"error","msg":"an error occurred running indexer","time":"2024-04-26T15:44:18+05:30"}

After removing --no-algod flag run the command got another error

{"error":"openPostgres() err: getMigrationState() get state err: GetMetastate() err: ERROR: relation "metastate" does not exist (SQLSTATE 42P01)","level":"error","msg":"unable to open database, if tables are not initialized ensure Conduit is running","time":"2024-04-26T15:45:56+05:30"}

from indexer.

urtho avatar urtho commented on June 30, 2024

--no-algod is not longer supported in v3 indexer.

You are running an Indexer API which needs to connect to a synchronized database.
To synchronize a DB you need to run Conduit and a follower node.
Sychnronization will take about 2 to 4 weeks and use around 2.7 TB for the database - unless you intend to filter transactions in Conduit.

from indexer.

block98ct avatar block98ct commented on June 30, 2024

I want to run Node and sync that data in PostgreSQL. How can I do it?
do you know any way?
@urtho

from indexer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.