objectbox / objectbox-dart

Flutter database for super-fast Dart object persistence

Home Page:https://docs.objectbox.io/getting-started

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ObjectBox Admin with Docker not working in Windows

VarmaTech opened this issue · comments

Hi,

https://docs.objectbox.io/data-browser#run-via-docker

As per the document we have download and did the steps to view data.mdb file but
below is the error we got

$ ./objectbox-admin.sh 
Objectbox Admin (Docker-Version)

NOTE: No database found at location '.', trying default location ('./objectbox') ..
Found database at local location '/d/browserOB/objectbox'.
Open http://127.0.0.1:8081 in a browser.
Once done, hit CTRL+C to stop 'ObjectBox Admin' Docker container.
==================================================================
Starting server on http://0.0.0.0:8081
Could not start server: Database at path doesn't exist: /db

usage: ./objectbox-admin.sh [options] [<database-directory>]

<database-directory> ( defaults to ./objectbox ) should contain an objectbox "data.mdb" file.

Available (optional) options:
[--port <port-number>] Mapped bind port to localhost (defaults to 8081)

Thanks for reporting! I assume by Windows you mean via WSL2? What distro are you using? We have tested this with Ubuntu 22.04.

Edit: The path /d/browserOB/objectbox hints that this was likely not run from a Linux distro.

Without additional information, we are unfortunately not sure how to resolve this issue. Therefore this issue has been automatically closed. Feel free to comment with additional details and we can re-open this issue.