objectbox / objectbox-dart

Flutter database for super-fast Dart object persistence
https://docs.objectbox.io/getting-started
Apache License 2.0
991 stars 117 forks source link

Admin: on macOS no database found at location #651

Closed Aruljebaraj closed 2 weeks ago

Aruljebaraj commented 1 month ago

Objectbox Admin (Docker-Version)

NOTE: No database found at location '.', trying default location ('./objectbox') .. in MacOs

greenrobot-team commented 1 month ago

Can you share which command you have used to run the Admin Docker image? Our recommended script requires that the data.mdb file is in a directory called objectbox next to it: https://docs.objectbox.io/data-browser#run-via-docker

Aruljebaraj commented 1 month ago

tried this even made permission changes and copied to specified directory usr/local/ still got No database found at location '.', trying default location ('./objectbox') ..

greenrobot-team commented 1 month ago

Just tried this on macOS 13.6 and the objectbox-admin.sh can find a database file:

Objectbox Admin (Docker-Version)

Found database at local location '/Users/objectbox/Downloads'.
Open http://127.0.0.1:8081 in a browser.
Once done, hit CTRL+C to stop 'ObjectBox Admin' Docker container.
==================================================================

These are the permissions:

-rw-r--r--   1 objectbox  staff    32K Feb 13 10:30 data.mdb
-rwxr-xr-x@  1 objectbox  staff   1.6K Jul 15 10:37 objectbox-admin.sh

Maybe this is a macOS permissions issue? But on my test machine only Terminal has access to the Downloads folder I used.

github-actions[bot] commented 2 weeks ago

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.