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

Can't work with files #9208

Open
betterthanever2 opened this issue May 14, 2024 · 1 comment
Open

Can't work with files #9208

betterthanever2 opened this issue May 14, 2024 · 1 comment
Assignees

Comments

@betterthanever2
Copy link

With my self-hosted setup, for some reason, I cannot work with files (CSV etc).

When uploading a file,

  • the process finishes successfully,
  • record in the file table of the primary DB gets created,
  • copy of the file gets saved in mdb_data/storage/file_None_{N} directory (where N is a sequential number)

However, attempts to query it fail with mindsdb.api.http.namespaces.sql: Error profiling query > mindsdb.utilities.exception.EntityNotExistsError: Can't select from files in project: unknown.

I'm using the compose file located at the root of the repo, with modification to use postgres instead of mysql, and data and config file persisted on host system.

I can see that there is a compose file with ci suffix, which has things like executor and handler_discovery - should I be using these services?

@ZoranPandovski ZoranPandovski self-assigned this May 15, 2024
@ZoranPandovski
Copy link
Member

Hey, @betterthanever2, the docker-compose file you are using is outdated and I guess should be removed. As I can see, it is using a very old dev tag image, which can be years old. You can re-use the same compose file but just change the image tag to mindsdb:latest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants