Access from the forum to VDS to a home computer with MinIO via nodebb-plugin-s3-uploads
-
I'm trying to use nodebb-plugin-s3-uploads.
My home computer has Ubuntu and MinIO. It has a static IP.
The VDS has a forum, nodebb-plugin-s3-uploads and the MinIO console (mc).
The console (mc) works fine.
AWS_ACCESS_KEY_ID="minioadmin"
AWS_SECRET_ACCESS_KEY="minioadmin"
Bucket = data1
Host = http://"IP":9000When I try to insert an image into the response, I get the following message:
![kitt1.png](@nodebb/nodebb-plugin-s3-uploads :: Missing credentials in config,
if using AWS_CONFIG_FILE, set AWS_SDK_LOAD_CONFIG=1)How can I solve this problem?
-
After updating to version 3.0.7, the storage entry started working, but some new error appeared. Files by link
cannot be downloaded. The error appears:
<Error>
<Code>AccessDenied</Code>
<Message>Access Denied.</Message>
<BucketName>e8d5880f-0f0a-4efd-97b6-9085818f0e26.jpg</BucketName>
<Resource>/e8d5880f-0f0a-4efd-97b6-9085818f0e26.jpg</Resource>
<RequestId>180385CCD86EF16A</RequestId>
<HostId>dd9025bab4ad464b049177c95eb6ebf374d3b3fd1af9251148b658df7ac2e3e8</HostId>
</Error>Access to Bucket seems to be would be public
data1
Created on: Wed, Oct 23 2024 13:44:13 (GMT+3)Access: PUBLIC 69.2 KiB — 2 ObjectsWhat could be the matter?
-
@julian When recording a large file, the disk is used.
The file is first downloaded to the disk, and then written to the storage.
During recording, you can see how the disk space is decreasing.
After writing to the storage, free space is returned.
I have very little space on my VDS. Is there any way to make
the file be written in pieces through a buffer in memory?