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

Self-hosting with MinIO #669

Open
jerebenitez opened this issue Sep 17, 2024 · 1 comment
Open

Self-hosting with MinIO #669

jerebenitez opened this issue Sep 17, 2024 · 1 comment

Comments

@jerebenitez
Copy link

I'm having problems trying to self-host the app and using a minio instance for files. The .env is configured as follows:

S3_REGION=US
S3_ACCESS_KEY_ID=...
S3_SECRET_ACCESS_KEY=...
S3_ENDPOINT=http://[droplet IP address]:9002/
S3_BUCKET=bigcapital
S3_FORCE_PATH_STYLE=true

MinIO is running, and the API is available on [IP address]:9002. The access key was generated, and the values were copied to the corresponding env vars. I ended up using the droplet IP address cause I thought that maybe the server wasn't able to access minio on localhost, but that didn't work either. Whenever I try to load an attachment, the web app tells me "Something went wrong! Please try again." and the following error is shown in the dev console:

Uncaught (in promise) 
Object { stack: "U@https://[redated]/static/js/main.1bc55b3d.js:2:2394710\nMe@https://[redated]/static/js/main.1bc55b3d.js:2:2406285\nu@https://[redated]/static/js/main.1bc55b3d.js:2:2410849\n", message: "Request failed with status code 500", name: "AxiosError", code: "ERR_BAD_RESPONSE", config: {…}, request: XMLHttpRequest, response: {…} }

No error is shown in the logs for the bigcapital-webapp container. The bigcapital-server container shows the following error:

Error: connect ECONNREFUSED ::1:9002
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1494:16)

I guess it has something to do with auth, but I have no idea how to proceed. Any help?

Copy link

linear bot commented Sep 17, 2024

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

1 participant