Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bob does not start in test mode #843

Open
ikopylov opened this issue Sep 26, 2023 · 0 comments · May be fixed by #844
Open

Bob does not start in test mode #843

ikopylov opened this issue Sep 26, 2023 · 0 comments · May be fixed by #844
Assignees
Labels
bug Something isn't working

Comments

@ikopylov
Copy link
Member

Multiple problems:

  1. Bob can't create data directory
  2. Bob tries to read logger config file, but it should not do this in test mode

First error:

thread 'main' panicked at 'Failed to create bob folder: Os { code: 2, kind: NotFound, message: "No such file or directory" }', bob-apps/bin/bobd.rs:360:42
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Aborted (core dumped)

Second error:

[root@local-node-2 ~]# bobd testmode --data /opt/disk1/bob
Bob is starting
Data directory: /opt/disk1/bob
gRPC API available at: 127.0.0.1:20000
REST API available at: http://0.0.0.0:8000
REST API Put and Get available at: http://0.0.0.0:8000/data
thread 'main' panicked at 'can't find log config: unable to determine the file format', bob-apps/bin/bobd.rs:94:10
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Aborted (core dumped)
@ikopylov ikopylov added the bug Something isn't working label Sep 26, 2023
@idruzhitskiy idruzhitskiy linked a pull request Sep 29, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants