rwadholm/The-Little-Library-Beta — Issue #4: New replication issues
Author: maf-jclark
Created: 2011-10-13 16:47:11+00:00
State: open

I have created a "branded" version of the Little Library, which points to my server for replication, but something weird is happening. I'm only getting 2 of the design documents to replicate after using the Java install method, and they're at very low _rev numbers.

I created a "library" db on my server, replicated once it against http://library.iriscouch.com/library and verified all of the _rev numbers matched. I then modified library.php and library.js as required (in the Readme file) and put them in the correct places. Since I'm testing this internally, I changed the https: reference in library.js to http:

I navigated to /library/_design/takeout/install.html and installed the Little Library successfully - my browser opened to the "create your account" page. I went and looked at _utils to see if the _rev numbers matched - they didn't, and I only have 2 of the 3 _design docs (library and takeout-settings.jnlp) and neither of the language files.

I've done this a few times (each time uninstalling the local Little Library and deleting the .couchapptakeout folder), and have had the same problem 2-3 times. I thought it could be due to a compaction issue, so I compacted the "library" db, but it hasn't made a difference. Closing and re-opening the Little Library on my machine has not made a difference either. It's not restarting replication against http://:5984/library. It's listed on Futon's status page as "Starting", but it never does.

The strangest part is that I've had it working before.

Restarting CouchDB on my server has no effect on whether replication starts working again from my localhost. And restarting the Little Library locally also has no effect on whether or not replication restarts. Clearing my browser cache also appears to have no impact.

Any ideas what could be going on?