Self Hosting - Feedback
Closed this issue · 10 comments
Two issues I wanted to raise, neither were major obstacles.
First, when you run your any-sync-tools and create the YAML files, the output is called sync_1.yml
and your instructions don't make it clear that it should be used for the any-sync-node
application.
Second, and more important, it defaults to a storage location of db
and if that folder doesn't exist, it throws an error. I'm not sure what the best way to fix this is, either
- Fix the any-sync-tools utility so it prompts for a directory and creates it if it doesn't exist
- Have the script simply try to create the directory if it doesn't exist.
Hi @ChadDaemon, thank you for the feedback!
We have made an effort to address the correct configuration allocation in step 5 of the how-to.
We will consider how to better handle the issue of a non-existing folder. Thank you for bringing it to our attention!
Haha, I got so wrapped up in following the README in the individual repos I forgot about your how-to article.
@ChadDa3mon if you are interested, I'm working on docker images to simplify self hosting. I got the coordinator image built and running, and I ran into the same issue for the sync node. Also for the file node I've some issues to fix. Feel free to take a look here:
I had the same issue with the sync node here, too.
I would advise against the script (any-sync-network) trying to create folders as you could potentially run any-sync-network on a different machine to just create the config files for deployment, hence creating directories on that machine wouldn't help.
A word of warning in the self-hosting instructions would definitely be helpful.
Am I right to assume that the client apps MUST be compiled ? I can't use the the app from the App Store ?
Am I right to assume that the client apps MUST be compiled ? I can't use the the app from the App Store ?
Correct, the network configuration settings are embedded/hardcoded into the app when compiling, so you could compile your own Anytype client, but it will connect to the Anytype hosted nodes.
@olluz Just to add here: we are already working on a network configuration inside the app. I hope we will deliver this in the September release.
@clems4ever, only in our internal task tracker. We're working on a way to sync tasks and bugs between our tracker and GitHub.
ok, thanks.