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

error: No store configured, uploads not possible. But how? #1

Closed
parajbs opened this issue Nov 6, 2022 · 3 comments
Closed

error: No store configured, uploads not possible. But how? #1

parajbs opened this issue Nov 6, 2022 · 3 comments

Comments

@parajbs
Copy link

parajbs commented Nov 6, 2022

Hello @redsolver,

cool project.

I took a look at it and immediately tried to install a test node. it also worked, but when I want to upload something to "http://127.0.0.1:5522/s5/upload" I get an error message:
No store configured, uploads not possible

hence my first question:

  • How can I set up the storage backends: for local file system and S3 (how do the [store.entries] have to be in the config.toml?)?

Second question:

  • What do I have to change to make the s5-node publicly available and not only on "localhost:5522"?
    I've also tested it on linux and windows, but it only says "127.0.0.1:5522" when it starts.
    Can this also be set in the config.toml?

I urgently need help with this.

Is there documentation anywhere?

If my S5 test and development environment is installed and running, then I can also help you with development and programming.
I also helped "SkynetLabs" with porting "skynet-js" to "nodejs-skynet" or rather tried to keep it up to date.

@redsolver
Copy link
Collaborator

Hi, thanks for your interest in the project!
I'm currently doing a lot of breaking changes that will be published soon and would recommend waiting for that. After that I will write some documentation for how to setup stores.

@parajbs
Copy link
Author

parajbs commented Nov 18, 2022

Hello developers and users,

I wanted to give an answer to the question so that you all get the information.

The entries for local storage in config.toml are:

[store.local] # Stores file and metadata objects that are uploaded with this node
path="/path/to/store"

[store.local.http]
bind="127.0.0.1"
port = 1234
url="http://localhost:1234"

and entries for S3 are:

[store.s3]
accessKey = "TODO_CHANGE_ME"
bucket = "TODO_CHANGE_ME"
endpoint="s3.filebase.com"
secretKey = "TODO_CHANGE_ME"

Caution: Only one entry may be entered in config.toml, either "local store" or "s3 store".

@redsolver
Copy link
Collaborator

There's now documentation available: https://docs.sfive.net/stores/index.html

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