Issue with log file on Ubuntu

2017-11-28 Thread Kiril Stankov
Hi all, I have standard CouchDB 1.6.1 installation on Ubuntu 16. Recently I started building a script to monitor its state and when using 'service couchdb status', I noticed the following: Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable. Checking

Re: CouchDB sync error net::ERR_CONNECTION_RESET

2017-11-28 Thread Adam Kocoloski
Hi Yvonne, It looks like you’re trying to make an HTTPS connection to port 5984. Did you customize the server config? The default CouchDB configuration us port *6984* for HTTPS. Cheers, Adam > On Nov 28, 2017, at 9:37 AM, Yvonne Aburrow wrote: > > I am trying to sync a local PouchDB instance

Re: Architecture of a messaging app using Couchdb

2017-11-28 Thread Geoffrey Cox
You should be able to use a single on_change rule for all the DBs if you give the DBs a name that can be parsed, eg user_ as you can use a regex in the on_change rule. Spiegel will automatically take care of creating change_listener docs to keep track of the place in the _changes feed. You can comp

Re: Architecture of a messaging app using Couchdb

2017-11-28 Thread Sachin Divekar
That should work, I think. But do Spiegel change listeners required for all the databases to achieve this? Anyway, I am going to try all the solutions discussed in the last post and this one to get a better understanding. Regards Sachin On Tue, Nov 28, 2017 at 8:53 PM, Geoffrey Cox wrote: > Th

Re: Architecture of a messaging app using Couchdb

2017-11-28 Thread Sachin Divekar
On Tue, Nov 28, 2017 at 8:30 PM, Geoffrey Cox wrote: > Hi Sachin, > > I work on a teaching app called Quizster that handles some of the same > concerns. Here is my 2 cents: > > Quizster: wow, that's one awesome idea. On Tue, Nov 28, 2017 at 6:37 AM Sachin Divekar wrote: > > > Hi, > > > > I have

Re: Architecture of a messaging app using Couchdb

2017-11-28 Thread Geoffrey Cox
There is also a variation on 3. (the custom API) where you do use PouchDB. You could have users write messages to their database and then use Spiegel with an on_change rule that responds to new/edited messages and then copies tho

Re: Architecture of a messaging app using Couchdb

2017-11-28 Thread Geoffrey Cox
Hi Sachin, I work on a teaching app called Quizster that handles some of the same concerns. Here is my 2 cents: On Tue, Nov 28, 2017 at 6:37 AM Sachin Divekar wrote: > Hi, > > I have been studying a possibility to use Couchdb for a realtime messaging > app. The architecture I am thinking about

CouchDB sync error net::ERR_CONNECTION_RESET

2017-11-28 Thread Yvonne Aburrow
I am trying to sync a local PouchDB instance with a remote CouchDB instance on Google App Engine. I am not using Node.js I have successfully logged in to the remote instance , but I am getting the following err

Architecture of a messaging app using Couchdb

2017-11-28 Thread Sachin Divekar
Hi, I have been studying a possibility to use Couchdb for a realtime messaging app. The architecture I am thinking about is as follows. The app will access only the local offline database using Pouchdb which is in continuous replication with a remote Couchdb cluster. On the server, it'd be one dat