CodeChain-io / CodeChain-io/codechain-dashboard

Cannot install the server

Open
#49 4 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Rust
Stars
27
Forks
7
PR merge metrics
No merged PRs in 30d

Description

I tried to install server but `generate-schema` failed with the following messages.
```
Running `target/debug/generate-schema`
#2019-06-05 13:39:13 main INFO agent-hub Create agent_extra table
#2019-06-05 13:39:13 main INFO agent-hub Create logs table
#2019-06-05 13:39:13 main INFO agent-hub Create logs_timestamp index
#2019-06-05 13:39:13 main INFO agent-hub Create logs_target index
#2019-06-05 13:39:13 main INFO agent-hub Create network_usage table
#2019-06-05 13:39:13 main INFO agent-hub Create network_usage_time_index
#2019-06-05 13:39:13 main INFO agent-hub Create materialized views
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error(Db(DbError { severity: "ERROR", parsed_severity: Some(Error), code: SqlState("42P01"), message: "relation \"peer_count\" does not exist", detail: None, hint: None, position: Some(Normal(259)), where_: None, schema: None, table: None, column: None, datatype: None, constraint: None, file: Some("parse_relation.c"), line: Some(1180), routine: Some("parserOpenTable") }))', src/libcore/result.rs:997:5
note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
```

I used PostgreSQL 10.8.
```
psql (PostgreSQL) 10.8 (Ubuntu 10.8-0ubuntu0.18.04.1)
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.