objectbox-dart icon indicating copy to clipboard operation
objectbox-dart copied to clipboard

ObjectBox Admin with Docker not working in Windows

Open VarmaTech opened this issue 1 year ago • 1 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)

VarmaTech avatar Feb 26 '24 05:02 VarmaTech

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.

greenrobot-team avatar Feb 26 '24 07:02 greenrobot-team

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.

github-actions[bot] avatar Mar 19 '24 01:03 github-actions[bot]