Docker volume mapping to local directory generating River4 console errors

31 views
Skip to first unread message

Frank McPherson

unread,
Aug 17, 2015, 10:16:54 PM8/17/15
to river4
I am working on my Docker container for River4 and a GUI tool for Docker called Kitematic that appears to provide a way to map a pre-defined volume in a container to a local directory on my computer. If I get this to work, it would provide an easy way for one to update the reading list that River4 uses.

I have the river4data directory defined as a volume in the container, and it has the data, rivers, and lists subdirectories with a sample readinglist.opml file in the lists subdirectory. When I start the container, River4 runs, finds the reading lists, and starts pulling for new articles, all as you would expect. 

Next, I go into the Volume section of the container in Kitematic and map a local folder (Documents/Kitematic/River4) to the /river4data volume. River4 automatically creates the data, rivers, and lists subdirectories as the volume is now empty. I stop River4, copy another OPML file into the lists folder that is now local on my computer, re-start River4 and the console starts showing something similar to the following for every feed in the list.

fsNewObject: error == {
    "errno": -2,
    "code": "ENOENT",
    "path": "river4data/data/feeds/news.ycombinator.com:rss/feedInfo.json"
}

Does anyone have an idea of what this error could be point to? 

Oddly enough, if I remove the local drive mapping, everything is restored as previous and River4 runs as expected with no errors in the console.  I'll keep digging into this.

Dave Winer

unread,
Aug 17, 2015, 11:18:05 PM8/17/15
to riv...@googlegroups.com
ENOENT means "no such file or directory."


Dave



--
GitHub repository: https://github.com/scripting/river4
How to ask for help: http://scripting.com/2014/03/19/howToAskForHelpWithSoftware.html
---
You received this message because you are subscribed to the Google Groups "river4" group.
To unsubscribe from this group and stop receiving emails from it, send an email to river4+un...@googlegroups.com.
To post to this group, send email to riv...@googlegroups.com.
Visit this group at http://groups.google.com/group/river4.
To view this discussion on the web visit https://groups.google.com/d/msgid/river4/faac066f-380b-4100-8b7f-b81ad015b0d2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages