configure asks for and creates uploads dir, but not downloads #850
Labels
No labels
area: devops
area: discovery
area: docs
area: livestream
area: proposal
consider soon
dependencies
Epic
good first issue
hacktoberfest
help wanted
icebox
level: 1
level: 2
level: 3
level: 4
needs: exploration
needs: grooming
needs: priority
needs: repro
needs: tech design
on hold
Osprey
priority: blocker
priority: high
priority: low
priority: medium
protocol dependent
resilience
Tom's Wishlist
type: bug
type: discussion
type: error handling
type: improvement
type: new feature
type: refactor
type: task
type: testing
unplanned
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: LBRYCommunity/spee.ch#850
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently, configure relies on a default home Downloads directory to be created, but will happily create Uploads. If the target OS doesn't have a Downloads directory, the daemon is unable to download content.
I don't think I've ever seen the daemon fail to make the default download directory on any OS. This should still be a configurable setting through the setup cli tool.
Clement's image issues were solved by typing "mkdir Downloads". the speech cli only asks for a setting for Uploads, and creates that. So far speech has by defalut been relying on standard Downloads directory supplied by the OS (which probably isn't ideal as it mixes lbry files with whatever else is downloaded.)
It may be a good point that creating the directory for lbrynet is out of scope for speech, as opposed to just maybe knowing where it is.
It's probably best to give speech siteConfig the lbrynet root environment directory, prehaps create Uploads and Downloads there, although lbrynet should be responsible for creating those.