database initialization and backup scripts?

2018-07-22 Thread Rene Veerman
hi.. i am new to couchdb. back in SQL land, i'd use to have scripts to both initialize my database, and scripts to back up and restore my database too. how would i best implement such scripts in couchdb 2?

Re: database initialization and backup scripts?

2018-07-23 Thread Rene Veerman
com:6984/_utils/ <https://your.com:6984/_utils/> > > You may want to look into PouchDB as well. It’s a Javascript DB that > interfaces with CouchDB: > > https://pouchdb.com <https://pouchdb.com/> > > — > > Bill > > > > On Jul 22, 2018, at 10:48 PM, Rene

permissions specific to each document?

2018-07-24 Thread Rene Veerman
is this possible in couchdb? suppose i have a database 'tree node data', and several roles defined in the couchdb. i'd like to be returned only those tree node documents that the current user may access. in general, i'd like to outsource my entire CMS' users and roles and permissions system to c

Re: permissions specific to each document?

2018-07-25 Thread Rene Veerman
l want to look into the database-per-user approaches for CouchDB, > > including the built-in "couch_peruser" functionality we provide. This > lets you > > have a single database per user, and use the power of replication to > replicate > > that user'

Re: permissions specific to each document?

2018-07-25 Thread Rene Veerman
can views accept parameters? like a username to check permissions for? On Wed, Jul 25, 2018 at 11:48 AM Rene Veerman wrote: > and how about using custom users and groups (roles) tables, combined with > view functions that query permissions settings in docs? > that way my CMS' us

pouchdb : connecting to localhost doesn't work.. :(

2018-07-25 Thread Rene Veerman
javascript, run from localhost to a localhost apache and couchdb : var db = new PouchDB('http://localhost:5984/sa_tree'); db.query(function (doc, emit) { emit (doc); }, {}).then(function (result) { debugger; }).catch(function (err) {

Re: pouchdb : connecting to localhost doesn't work.. :(

2018-07-25 Thread Rene Veerman
thanks. that fixed it :) On Wed, Jul 25, 2018 at 7:05 PM Martin Broerse wrote: > Hi, > > Did you enable CORS ? > > >- npm install -g add-cors-to-couchdb >- add-cors-to-couchdb > > - Martin > > On Wed, Jul 25, 2018 at 5:18 PM Rene Veerman > wrote: >

Re: permissions specific to each document?

2018-07-25 Thread Rene Veerman
ok how would i do that in pouchdb .query() and .find() ? can't find it anywhere in the docs :( On Wed, Jul 25, 2018 at 6:58 PM Joan Touzet wrote: > Yes, as can Mango queries, which are faster and easier to use. > > - Original Message - > From: "Ren

Re: permissions specific to each document?

2018-07-26 Thread Rene Veerman
e view function. in the latter case, i could just use permissions.users_read.indexOf('rene')===-1 to determine that 'rene' is not in permissions.users_read can someone please please explain to me how to do this with the emit() and key: architecture? On Wed, Jul 25, 2018 at

Re: Couch Document with Fancy ID

2018-07-29 Thread Rene Veerman
i think you need a %2B for the +, (according to https://www.urlencoder.org/) instead of a %20. %20 is a space, %2B is the + sign let us know if this fixes it for you ok.. i'd like to know myself. On Fri, Jul 27, 2018 at 1:13 PM Jan Lehnardt wrote: > Try %20 instead of the + > > Cheers > Jan >

Re: Couch Document with Fancy ID

2018-07-29 Thread Rene Veerman
oh, sorry.. i missed the fact you're already trying a %2B.. try deleting it in fauxton? On Sun, Jul 29, 2018 at 9:45 AM Rene Veerman wrote: > i think you need a %2B for the +, (according to > https://www.urlencoder.org/) instead of a %20. > > %20 is a space, > %2B is the +

Re: PHP couchdb?

2018-08-01 Thread Rene Veerman
r php-couchdb). i'd much appreciate some tips here. On Wed, Aug 1, 2018 at 2:04 PM Rene Veerman wrote: > What's a good way to connect to a couchdb from PHP? > > I've looked at PHP-on-Couch but it's GPL, and i want something MIT/LGPL > licensed instead. > >

PHP couchdb?

2018-08-01 Thread Rene Veerman
What's a good way to connect to a couchdb from PHP? I've looked at PHP-on-Couch but it's GPL, and i want something MIT/LGPL licensed instead. I also need something that allows me to add users to the couchdb itself, and set permissions on new tables to specific users, or my app is never going to b

Re: database initialization and backup scripts?

2018-08-02 Thread Rene Veerman
ok, i've figured out how to keep my old way of initializing and resetting things in my CMS seductiveapps.com : i have a PHP script https://gitlab.com/seductiveapps/seductiveapps/blob/master/seductiveapps/siteData/reInit.php that via https://gitlab.com/seductiveapps/seductiveapps/blob/master/boot_s

Re: [ANNOUNCE] Apache CouchDB 2.2.0 released

2018-08-09 Thread Rene Veerman
thanks to everyone who contributed in one way or another :) i'm loving couchdb. never going back to SQL :D On Thu, Aug 9, 2018 at 1:17 AM Joan Touzet wrote: > Just a quick follow-up to say that the docker images are officially done: > > https://github.com/docker-library/official-images/pull

Re: database initialization and backup scripts?

2018-08-09 Thread Rene Veerman
. On Thu, Aug 2, 2018 at 5:53 PM Rene Veerman wrote: > ok, i've figured out how to keep my old way of initializing and resetting > things in my CMS seductiveapps.com : > > i have a PHP script > https://gitlab.com/seductiveapps/seductiveapps/blob/master/seductiveapps/siteData

efficiency of storing large HTML documents in couchdb?

2018-08-24 Thread Rene Veerman
hi. i'm building a CMS, and am wondering if it's a smart idea to store HTML in couchdb. i'd like my CMS to be able to grow to "facebook size" with the least amount of hassle later on.. that means load balancers and replication to other servers, without a doubt. so what's the story about storing

replication of binary (image and video) files, anyone know an efficient stable way of doing this?

2018-08-24 Thread Rene Veerman
i have another to-do item that people here might be able to help me with.. i'm using jQuery-File-Upload-SA ( https://gitlab.com/seductiveapps/seductiveapps/tree/master/seductiveapps/lib/jQuery-File-Upload-9.21.0-SA) (sourced from https://github.com/blueimp/jQuery-File-Upload) to upload images to a

can't set permissions on databases from PHP, help will be much appreciated.

2018-09-19 Thread Rene Veerman
i'm trying to extend php-couchdb to allow it to set permissions on databases in a couchdb, but have run into a snag.. thread for php-couchdb upgrade : https://github.com/ibm-watson-data-lab/php-couchdb/issues/13 source-codes of my fork of couchdb : https://gitlab.com/seductiveapps/seductiveapps/tr

Re: can't set permissions on databases from PHP, help will be much appreciated.

2018-09-21 Thread Rene Veerman
pache/couchdb/issues/1384 > > Are you able to re-do your example without PHP, from cURL and the command > line > directly, so we can rule out any PHP-specific bugs? > > -Joan > > - Original Message - > From: "Rene Veerman" > To: user@couchdb.apac

Re: can't set permissions on databases from PHP, help will be much appreciated.

2018-09-21 Thread Rene Veerman
ep 21, 2018 at 11:30 AM Rene Veerman wrote: > thanks. > > it did work via the command-line. > > rene@crow:~$ curl -X PUT $db/sa_tree__administrator/_security -d @- > { > "admins": { > "names": [], > "roles": []

Re: Problem with Local Replication on CouchDB 2.2

2018-09-24 Thread Rene Veerman
maybe an obvious question but did you check that the ports are forwarded all the way to rubidio.roma.schema31.it ? On Mon, Sep 24, 2018 at 4:48 PM Andrea Brancatelli wrote: > Just a side note: the very same replication document started working > when I changed rubidio.roma.schema31.it in 10

email and chat for a website using couchdb.. looking for ideas and preferably libraries (LGPL/MIT/Apache)

2018-10-25 Thread Rene Veerman
Now that i've got blogging powered by couchdb and some other stuff powered by couchdb done for my seductiveapps.com platform, i'm looking to start on email and chat features, between couchdb users and even between roles or between a user and someone from a role. a role like 'law enforcement', bec

Re: email and chat for a website using couchdb.. looking for ideas and preferably libraries (LGPL/MIT/Apache)

2018-10-25 Thread Rene Veerman
ut 20 million databases per 1 million users? there is that b-tree feature which i assume is used for table-name to table data access too? On Fri, Oct 26, 2018 at 7:19 AM Rene Veerman wrote: > Now that i've got blogging powered by couchdb and some other stuff powered > by cou

Re: email and chat for a website using couchdb.. looking for ideas and preferably libraries (LGPL/MIT/Apache)

2018-10-25 Thread Rene Veerman
26, 2018 at 7:32 AM Rene Veerman wrote: > my current, newbie strategy, is to have multiple databases per user each > dedicated to a single feature, like customizations of the look of a page, > or the blog entries. > this has the advantage of easy permissions enforcement, > b

Re: email and chat for a website using couchdb.. looking for ideas and preferably libraries (LGPL/MIT/Apache)

2018-11-01 Thread Rene Veerman
pains as we deal with increasing numbers of real customers. feel free to email me to pick my brain some more, if that's what you feel you need. or just reply to this list. On Fri, Oct 26, 2018 at 10:34 AM Martin Broerse wrote: > Hi Rene, > > Perhaps take a look at https://github.c

Re: email and chat for a website using couchdb.. looking for ideas and preferably libraries (LGPL/MIT/Apache)

2018-11-01 Thread Rene Veerman
. Keep in mind, the Horde project is actively developed with a version 6 underway. On Thu, Nov 1, 2018 at 2:11 PM Rene Veerman wrote: > i've thought about it some more, have looked at the demo of Martin's > ember, and i'm currently leaning in the direction of something like Hor

can´t install couchdb?

2019-05-16 Thread Rene Veerman
ubuntu 18.04, installed, updated, then : root@albatross:~# curl -L https://couchdb.apache.org/repo/bintray-pubkey.asc | sudo apt-key add - % Total% Received % Xferd Average Speed TimeTime Time Current Dload Upload Total SpentLeft Speed 100

Re: can´t install couchdb?

2019-05-16 Thread Rene Veerman
Lehnardt wrote: > looks like you skipped this step: > > > http://docs.couchdb.org/en/stable/install/unix.html#enabling-the-apache-couchdb-package-repository > > Best > Jan > — > > > On 16. May 2019, at 15:39, Rene Veerman wrote: > > > > ubuntu 18.04,

Re: can´t install couchdb?

2019-05-16 Thread Rene Veerman
i'm a disaster today ;) thanks a lot. On Thu, May 16, 2019 at 4:06 PM Jan Lehnardt wrote: > now you have missed this particular sentence: > > > and replace {distribution} with the appropriate choice for your OS > version: > > > > > On 16. May 2019, at 15:56,

can't connect to outside IP couchdb

2019-05-16 Thread Rene Veerman
i've got couchdb up and running on localhost, but now i want to use it from an outside IP addess tied to a domain name.. i think the lingering 127.0.0.1 in the output below might indicate a problem, but i have no clue about how to fix that. http://seductiveapps.com/seductiveapps/siteData/reInit.p

Re: can't connect to outside IP couchdb

2019-05-16 Thread Rene Veerman
no that wasn't it. i already did that.. On Thu, May 16, 2019 at 6:00 PM Martin Broerse wrote: > Hi Rene, > > I think bind_address 0.0.0.0 in your config will fix it. > > - Martin > > On Thu, 16 May 2019 at 17:12, Rene Veerman > wrote: > >> i've got c

Re: can't connect to outside IP couchdb

2019-05-16 Thread Rene Veerman
at 6:54 PM Martin Broerse wrote: > Hi Rene, > > We do this all the time with only bind_address 0.0.0.0 . Try temporary > without the windows firewall and enable CORS. > > >- npm install -g add-cors-to-couchdb >- add-cors-to-couchdb > > - Martin > > > On

Re: can't connect to outside IP couchdb

2019-05-16 Thread Rene Veerman
to be clear : seductiveapps.com is the same machine as i browse from. On Thu, May 16, 2019 at 7:42 PM Rene Veerman wrote: > i use an ubuntu server and firefox on the same machine, to connect to > seductiveapps.com as shown in the initial post in this thread. > > i've already g

trying to run couch for multiple domains on the same machine

2019-05-29 Thread Rene Veerman
hi. my adsl modem is set to forward all port 80 and couchdb-port traffic to a certain machine. i serve 2 domains that are of note here : seductiveapps.com (that my couchdb is set to, for as far as couchdb settings that involve the domain it's being served from matter, if at all), and said.by from

Re: trying to run couch for multiple domains on the same machine

2019-05-29 Thread Rene Veerman
:07 AM Rene Veerman wrote: > hi. > > my adsl modem is set to forward all port 80 and couchdb-port traffic to a > certain machine. > > i serve 2 domains that are of note here : seductiveapps.com (that my > couchdb is set to, for as far as couchdb settings that involve the domai

automated replication of all databases on a couchdb server?

2019-06-12 Thread Rene Veerman
i'm trying to set up replication of my databases, but i'm stuck in 3 ways : 1) i can't seem to be able to set up automated backup of all databases on a couchdb server to another server. 2) when i try to replicate a single database from couchdb servers which have no problem accessing databases via

Re: automated replication of all databases on a couchdb server?

2019-06-18 Thread Rene Veerman
ugh Erlang port, perhaps port 4369. > > Thus you should check if the servers can speak to each other on the > > necessary ports. > > > > On Wed, 12 Jun 2019 at 11:23, Rene Veerman > wrote: > > > >> i'm trying to set up replication of my databases, but i

can't get couchdb installed (on a fresh 18.04 ubuntu)

2019-06-24 Thread Rene Veerman
i followed https://linuxize.com/post/how-to-install-couchdb-on-ubuntu-18-04/ but ended up with : root@crow:~# apt upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages were automatically installed and a

Re: can't get couchdb installed (on a fresh 18.04 ubuntu)

2019-06-24 Thread Rene Veerman
; Jan > — > > > On 24. Jun 2019, at 10:55, Rene Veerman wrote: > > > > i followed > https://linuxize.com/post/how-to-install-couchdb-on-ubuntu-18-04/ > > > > > > but ended up with : > > > > root@crow:~# apt upgrade > > Reading pac

Re: can't get couchdb installed (on a fresh 18.04 ubuntu)

2019-06-24 Thread Rene Veerman
roblem. > > > https://askubuntu.com/questions/1056780/cant-upgrade-update-ubuntu-18-04-as-apt-dpkg-error-is-showing-up > > Uninstall HPLIP from the .deb, then finish your upgrade, then reinstall > HPLIP from .deb or source package. > > -Joan > > On 2019-06-24 4:55 a.m., Rene Vee

Re: automated replication of all databases on a couchdb server?

2019-07-03 Thread Rene Veerman
cate --from http://r...@server.com:5984 \ >--to http://ad...@other-server.com:5984 > > I hope this helps. > > Adrien > > Le mer. 19 juin 2019 à 02:16, Rene Veerman a > écrit : > >> as far as a i know, i can't specify a port for

FolderDB - advice wanted

2019-07-21 Thread Rene Veerman
Hi. I like JSON a lot better than the SQL data model, but now that i've been using it for a few years, i find myself combining file system storage of lots of JSON files in many sub-folders into a web app, like news gathering with commandline PHP per N minutes from 280+ RSS online sources, into a P

installing couchdb on ubuntu 19.04

2019-07-21 Thread Rene Veerman
root@crow:~# apt install couchdb Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages hav

running couchdb on a .app domain (https enforced)

2019-08-11 Thread Rene Veerman
i can connect to localhost:5984/_utils, but not to nicer.app:5984/_utils it's the same machine. how do i get couchdb to work on a .app domain and be addressable by that .app domain name? thanks in advance for any help you can provide.

Re: running couchdb on a .app domain (https enforced)

2019-08-11 Thread Rene Veerman
. > > ⁣Best regards, > Kiril Stankov.​ > > On 11 Aug 2019, 18:36, at 18:36, Rene Veerman > wrote: > >i can connect to localhost:5984/_utils, but not to > >nicer.app:5984/_utils > >it's the same machine. > > > >how do i get couchdb to work on

Re: running couchdb on a .app domain (https enforced)

2019-08-11 Thread Rene Veerman
oes work by the way. i'd love to hear more about what to adjust in what file. coz now i'm still stuck :( On Sun, Aug 11, 2019 at 5:52 PM Peter J Krawetzky wrote: > You either need a DNS definition on your network or an entry in the local > host's file on the couch server Pet

Re: running couchdb on a .app domain (https enforced)

2019-08-11 Thread Rene Veerman
entry > like couchdb.nicer.app and point it to the couchdb server and > port?PeterSent from my Verizon, Samsung Galaxy smartphone > Original message From: Rene Veerman < > seductivea...@gmail.com> Date: 8/11/19 11:58 (GMT-05:00) To: > user@couchdb.apache.org Subj

Re: running couchdb on a .app domain (https enforced)

2019-08-11 Thread Rene Veerman
ain to the > server then you can use any port you want for example > > https://DOMAIN:PORT/_utils for example if you want to access fauxton > > Regards, > Jonathan > > -Original Message- > From: Rene Veerman > Sent: Monday, 12 August 2019 05:46 > To: use

Re: running couchdb on a .app domain (https enforced)

2019-08-11 Thread Rene Veerman
it is there > anything useful maybe in the logs? > > > > -Original Message- > From: Rene Veerman > Sent: Monday, 12 August 2019 06:06 > To: user@couchdb.apache.org > Subject: Re: running couchdb on a .app domain (https enforced) > > if i browse to https://nicer.a

Re: running couchdb on a .app domain (https enforced)

2019-08-11 Thread Rene Veerman
-Per > > > 12 aug. 2019 kl. 07:49 skrev Rene Veerman : > > > > root@albatross:/home/rene/data1/htdocs/nicer.app# tail > > /var/log/couchdb/couchdb.log > > [notice] 2019-08-12T03:46:47.333273Z couchdb@127.0.0.1 <0.28155.22> > > 90ff2d612e nicer.app 211.

Re: running couchdb on a .app domain (https enforced)

2019-08-11 Thread Rene Veerman
gt; ________ > From: Rene Veerman > Sent: Monday, August 12, 2019 8:02:52 AM > To: user@couchdb.apache.org > Subject: Re: running couchdb on a .app domain (https enforced) > > doesn't a host file just translate names to IP addresses, without > spec

Re: running couchdb on a .app domain (https enforced)

2019-08-11 Thread Rene Veerman
App, CN = nicer.app, emailAddress = rv.nicer@gmail.com Getting Private key root@albatross:/opt/couchdb/etc/https# cd .. root@albatross:/opt/couchdb/etc# gedit local.ini ^C root@albatross:/opt/couchdb/etc# vi local.ini root@albatross:/opt/couchdb/etc# service couchdb restart On Mon, Aug 1

Re: running couchdb on a .app domain (https enforced)

2019-08-12 Thread Rene Veerman
node 'couchdb@127.0.0.1' [info] 2019-08-12T06:48:18.789317Z couchdb@127.0.0.1 <0.9.0> Application global_changes started on node 'couchdb@127.0.0.1' [info] 2019-08-12T06:48:18.789335Z couchdb@127.0.0.1 <0.9.0> Application jiffy started on node 'couch

Re: running couchdb on a .app domain (https enforced)

2019-08-12 Thread Rene Veerman
t. i'll dig though the /opt/couchdb/etc/local.ini a bit more and see if i can get this fixed. On Mon, Aug 12, 2019 at 8:59 AM Rene Veerman wrote: > reboot didn't fix the current hurdle, but specifying port forwarding on my > ADSL modem for the new port (i use 7984) did. &g

Re: running couchdb on a .app domain (https enforced)

2019-08-12 Thread Rene Veerman
ve. All requests to ; the Virual Host will be redirected to the path. In the example below all requests ; to http://example.com/ are redirected to /database. ; If you run CouchDB on a specific port, include the port number in the vhost: ; example.com:5984 = /database [vhosts] ;example.com =

Re: running couchdb on a .app domain (https enforced)

2019-08-12 Thread Rene Veerman
you getting logged out. > ; require_valid_user = false > > ; ssl] > ;enable = true > ;cert_file = /full/path/to/server_cert.pem > ;key_file = /full/path/to/server_key.pem > ;password = somepassword > ; set to true to validate peer certificates > ;verify_ssl_certificates =

Re: running couchdb on a .app domain (https enforced)

2019-08-12 Thread Rene Veerman
; ``` > [chttpd] > port = 1234 > bind_address = 0.0.0.0 > > [httpd] > port = 5986 > bind_address = 127.0.0.1 > > [ssl] > port = 5984 > key_file = YOUR PATH HERE > cert_file = YOUR CERT HERE > cacert_file = YOUR CACERT HERE > ``` > > > > On 2019-08-1

Re: running couchdb on a .app domain (https enforced)

2019-08-12 Thread Rene Veerman
be a real stubborn problem if i try letsencrypt. i may try it out later, ok... i wanna get some coding work done too today. On Tue, Aug 13, 2019 at 6:25 AM Jonathan Aquilina wrote: > Also have you tried to use a lets encrypt free SSL certificate? > > > -Original Message- > From

Re: running couchdb on a .app domain (https enforced)

2019-08-12 Thread Rene Veerman
e somehow, with another cryptic browser > error, > that i use the same certificate as for regular https traffic to apache on > the same machine. > > and since my primary use for couchdb is AJAX access from the browser with > a javascript plugin, > this could be

Re: running couchdb on a .app domain (https enforced)

2019-08-12 Thread Rene Veerman
5984/ > > Let's get that working first before we try and sort out whatever the > heck is going on with .app domains. > > -Joan > > On 2019-08-13 12:38 a.m., Rene Veerman wrote: > > and the log : > > > > root@albatross:/opt/couchdb/etc# rm /var/log/couch

Re: running couchdb on a .app domain (https enforced)

2019-08-12 Thread Rene Veerman
curl --verbose http://localhost:5984/ > > curl --verbose https://localhost:5984/ > > Let's get that working first before we try and sort out whatever the > heck is going on with .app domains. > > -Joan > > On 2019-08-13 12:38 a.m., Rene Veerman wrote: > > and t

Re: running couchdb on a .app domain (https enforced)

2019-08-12 Thread Rene Veerman
ome network. > > Also what distribution is it and have you check if the firewall is enabled > and maybe blocking the 5984 port? > > Regards, > Jonathan > > -Original Message- > From: Rene Veerman > Sent: Tuesday, 13 August 2019 06:45 > To: user@couchdb.ap

Re: running couchdb on a .app domain (https enforced)

2019-08-12 Thread Rene Veerman
nope On Tue, Aug 13, 2019 at 7:12 AM Jonathan Aquilina wrote: > Question have you setup a vhost for apache that will redirect the traffic > from http to https? > > > > -Original Message- > From: Rene Veerman > Sent: Monday, 12 August 2019 08:06 > To: user@c

Re: running couchdb on a .app domain (https enforced)

2019-08-12 Thread Rene Veerman
any connections there. > > Sorry, I'm out of ideas. I recommend you hop on the CouchDB Slack > (instructions at https://couchdb.apache.org/) and get some real-time help. > > On 2019-08-13 12:41 a.m., Rene Veerman wrote: > > total disobedience ;) > > > > root@albat

Re: running couchdb on a .app domain (https enforced)

2019-08-12 Thread Rene Veerman
never mind, found it.. :) https://mail-archives.apache.org/mod_mbox/couchdb-user/201908.mbox/browser On Tue, Aug 13, 2019 at 7:24 AM Rene Veerman wrote: > ok Joan, thanks for your help. > > one final question : is this email list we're using here archived on the > web anywh

Re: running couchdb on a .app domain (https enforced)

2019-08-12 Thread Rene Veerman
ok :) On Tue, Aug 13, 2019 at 7:33 AM Joan Touzet wrote: > The other link I sent is way better :D > > On 2019-08-13 1:32 a.m., Rene Veerman wrote: > > never mind, found it.. :) > > > https://mail-archives.apache.org/mod_mbox/couchdb-user/201908.mbox/browser > > &g

Re: running couchdb on a .app domain (https enforced)

2019-08-12 Thread Rene Veerman
le to load Private Key 140390305173952:error:0909006C:PEM routines:get_name:no start line:../crypto/pem/pem_lib.c:745:Expecting: ANY PRIVATE KEY On Tue, Aug 13, 2019 at 7:34 AM Rene Veerman wrote: > ok :) > > On Tue, Aug 13, 2019 at 7:33 AM Joan Touzet wrote: > >> The other link

https support for coucharchive?

2019-09-16 Thread Rene Veerman
hi. i'm trying to get a backup script for couchdb going, but once again i'm running into a snafu with regards to the https enforcement of the entire .app tld, which i use for my site. root@crow:/home/rene/data1/htdocs/localhost/backupAndRestore# /root/.local/bin/coucharchive create --from https:/

couchdb on multiple domains, mixing http and https?

2019-09-16 Thread Rene Veerman
thanks to some help from someone on the slack couchdb chat channel, i was able to get https support for couchdb working. however, i now want to use the same couchdb server on multiple domains on either https or http, all hosted to the same machine. i think couchdb supports only one https domain,

can't get couchdb to work on https

2020-04-23 Thread Rene Veerman
i've installed couchdb on ubuntu-18.04, have modified /opt/couchdb/etc/local.ini to use the proper https certificates, but i can't get a connection to https://mydomain.com:5984 going at all. there is nothing of use in /var/log/couchdb/couchdb.log, and all i get in the browser is a connection timedo

Re: can't get couchdb to work on https

2020-04-23 Thread Rene Veerman
t/live/YOUR.com/privkey.pem > sudo chmod 600 /opt/couchdb/letsencrypt/live/YOUR.com/fullchain.pem > > sudo chown -R couchdb /opt/couchdb/letsencrypt/ > > sudo nano /opt/couchdb/etc/local.ini > > # You will need to modify the following entries: > > port = 6984 > cert_file = /opt

Re: can't get couchdb to work on https

2020-04-23 Thread Rene Veerman
under couchdb 2.x, this all used to work like a charm not so in couchdb 3.x :( On Fri, Apr 24, 2020 at 4:53 AM Rene Veerman wrote: > i'm using the certificate files given to me by my certificate provider, > and i'm getting the following error in /var/log/couchdb/couchdb.log n

Re: can't get couchdb to work on https

2020-04-24 Thread Rene Veerman
modify the following entries: > > port = 6984 > cert_file = /opt/couchdb/letsencrypt/live/YOUR.com/cert.pem > key_file = /opt/couchdb/letsencrypt/live/YOUR.com/privkey.pem > cacert_file = /opt/couchdb/letsencrypt/live/YOUR.com/fullchain.pem < > http://your.com/fullchain.pem&g

Re: can't get couchdb to work on https

2020-04-24 Thread Rene Veerman
... > > Vom iPhone gesendet > > > Am 24.04.2020 um 11:52 schrieb Rene Veerman : > > > > ok, i used letsencrypt, but now i get a startup error in > > /var/log/couchdb/couchdb.log (named 'eaddrinuse') > > > > [info] 2020-04-24T09:50:45.814991Z c

Re: can't get couchdb to work on https

2020-04-24 Thread Rene Veerman
> > unfortunately that didn't fix things either. i'm still stuck at the > eaddrinuse error.. > [info] 2020-04-25T01:49:15.730815Z couchdb@127.0.0.1 <0.232.0> Apache CouchDB has started on https://0.0.0.0:6984/ [info] 2020-04-25T01:49:15.731032Z couchdb@127.0.0.1 <0.11.0> Applicat

Re: can't get couchdb to work on https

2020-04-25 Thread Rene Veerman
y to telnet to the port while couchdb is down? If there is no > open port, telnet won't connect. > > > On April 25, 2020 03:50:56 Rene Veerman wrote: > > >> > >> unfortunately that didn't fix things either. i'm still stuck at the > >> eadd

Re: can't get couchdb to work on https

2020-04-25 Thread Rene Veerman
also (FYI) : i have already entered the right port forwarding commands into my ADSL modem.. On Sat, Apr 25, 2020 at 4:21 PM Rene Veerman wrote: > that gets me a 'connection refused' : > > ('albatross' === localhost === nicer.app) > > root@albatross:/opt/couchd

Re: can't get couchdb to work on https

2020-04-25 Thread Rene Veerman
yes, i did.. On Sat, Apr 25, 2020 at 9:16 PM Bill Stephenson wrote: > Did you do a "sudo ufw allow 6984”? > > > Kindest Regards, > > Bill Stephenson > Tech Support > www.cherrypc.com <http://www.ezinvoice.com/> > 1-417-546-8390 > > > > >

Re: can't get couchdb to work on https

2020-04-30 Thread Rene Veerman
developer, and after discovering Ansible I could > never imagine myself handling performing a complex task (server > configuration) manually! > > I hope it helps you in some way. > > On Sat, Apr 25, 2020 at 6:28 PM Rene Veerman > wrote: > > > yes, i did.. > >

couch on ubuntu 20.4?

2020-05-02 Thread Rene Veerman
any idea when it'll be out? coz in order to get rid of bugs while playing movies, i had to upgrade one of my machines over here, and i doubt running the 18.04 installer is going to work on a 20.4 system..

Re: couch on ubuntu 20.4?

2020-05-02 Thread Rene Veerman
quot;it's the weekend" Touzet > > On 2020-05-02 6:06 p.m., Rene Veerman wrote: > > any idea when it'll be out? > > > > coz in order to get rid of bugs while playing movies, i had to upgrade > one > > of my machines over here, and i doubt running the 18.04 installer is > going > > to work on a 20.4 system.. > > >

Re: can't get couchdb to work on https

2020-05-19 Thread Rene Veerman
thanks, Bill :) i'll look into it within the next few days :) On Fri, May 15, 2020 at 8:18 PM Bill Stephenson wrote: > I don’t check into Reddit much but I saw this post there today that’s > worth checking into: > > CouchDB 3 setup on Ubuntu 18.04 < > https://konstruktor.ee/couchdb-setup-on-ubu

Re: can't get couchdb to work on https

2020-05-20 Thread Rene Veerman
ehm, Bill & the rest of the couchdb team i have a company to run. so i can't test the solution you provided, at this time. i don't know when i'll be able to. sorry. On Wed, May 20, 2020 at 3:42 AM Rene Veerman wrote: > thanks, Bill :) > > i'll look

Re: can't get couchdb to work on https

2020-05-21 Thread Rene Veerman
i've found some time on my company's agenda, and i *might* be able to look into this issue over the next few days :) On Wed, May 20, 2020 at 5:18 PM Rene Veerman wrote: > ehm, Bill & the rest of the couchdb team > > i have a company to run. > > so i can't

Re: can't get couchdb to work on https

2020-05-21 Thread Rene Veerman
i need user rnewson to unblock me on the slack feed of couchdb though.. i need his help to even test this. On Fri, May 22, 2020 at 12:57 AM Rene Veerman wrote: > i've found some time on my company's agenda, and i *might* be able to > look into this issue over the next few da

Re: can't get couchdb to work on https

2020-05-22 Thread Rene Veerman
here, I > am willing to reinstate you on Slack on a trial basis. Any further descent > into abuse on your part and I will remove you from Slack permanently and > from our mailing lists. > > Sincerely, > > Robert Samuel Newson > > Apache CouchDB PMC Member > Member

Re: can't get couchdb to work on https

2020-06-23 Thread Rene Veerman
app.slack.com/client/T49P1AZRT/C49LEE7NW> Last reply today at 9:36 AMView thread Rene Veerman <https://app.slack.com/team/UMAEQMLJ1> 4:59 PM <https://couchdb.slack.com/archives/C49LEE7NW/p1592837985303700> please note that i'm using ubuntu 20.04, i don't know if that mat

FYI : a new library for accessing couchdb through PHP, which i'm willing to upgrade, maintain and bugfix.

2021-02-28 Thread Rene Veerman
Hi all. I've made a new small PHP library up at https://github.com/nicerapp/php-couchdb , which aims to provide simple yet robust access to couchdb from PHP. I'm open to feature requests, bugfix support, etc. Enjoy :) Oh, you'll have to run and examine unitTest.php to get started.

Re: FYI : a new library for accessing couchdb through PHP, which i'm willing to upgrade, maintain and bugfix.

2021-03-02 Thread Rene Veerman
ving: > > https://github.com/skeyby/sag > > fragmentation is never a good idea so maybe we could merge forces. > > Have a good day. > > --- > > *Andrea Brancatelli > * > > On 2021-02-28 15:29, Rene Veerman wrote: > > Hi all. > > I've made a n

Re: R: FYI : a new library for accessing couchdb through PHP, which i'm willing to upgrade, maintain and bugfix.

2021-03-04 Thread Rene Veerman
hey, is https://github.com/skeyby/sag gonna get listed on an easy to find couchdb documentation page any time soon? On Thu, Mar 4, 2021 at 9:14 AM Jonathan Hall wrote: > > On 3/2/21 5:35 PM, Matteo Guadrini wrote: > > @Jonathan: How do I get my powershell module into that list? > > Can you sign

Re: R: FYI : a new library for accessing couchdb through PHP, which i'm willing to upgrade, maintain and bugfix.

2021-03-06 Thread Rene Veerman
FYI : i had to upgrade https://github.com/skeyby/sag just a little bit, adding the following to src/Sag.php : public function setAdmins($data) { return $this->procPacket ('PUT', '/'.$this->db.'/_security', $data); } this is intended to be used as such : $cdb = new Sag($cdbConfig['domain'

Re: Disabling CouchDB server signature

2022-07-25 Thread Rene Veerman
nginx is an alternative to haproxy. i have an easy install manual for it in the README.md section of my https://github.com/nicerapp/nicerapp but that only points you to getting 3 domain names running on a single outgoing IP server. the idea behind secure web design is that you have your php / ruby

Re: Multiple queries against a view

2022-09-30 Thread Rene Veerman
multi-threaded curl would seem the answer to this. the view definition itself would enable a binary tree for the searches to happen quickly, wouldn't it? On Sat, Sep 3, 2022 at 11:29 AM Paul Milner wrote: > Hello > > I'm looking to execute a view multiple times at once for different keys > with

Re: Multiple queries against a view

2022-09-30 Thread Rene Veerman
with this as well. On Sat, Oct 1, 2022 at 1:26 AM Rene Veerman < rene.veerman.netherla...@gmail.com> wrote: > multi-threaded curl would seem the answer to this. > the view definition itself would enable a binary tree for the searches to > happen quickly, wouldn't it? > >

Re: Multiple queries against a view

2022-09-30 Thread Rene Veerman
alternately, you could use your own current db-access business logic routines, and request each view result through javascript, then combine the data in javascript. On Sat, Oct 1, 2022 at 1:28 AM Rene Veerman < rene.veerman.netherla...@gmail.com> wrote: > > https://github.com/Nice

Re: Multiple queries against a view

2022-09-30 Thread Rene Veerman
>I see it as a way to prevent concurrence when deleting items with multiple concurrent jobs. what's the initiator of this job? coz i can't figure out what the solution might really be here. On Sat, Oct 1, 2022 at 1:30 AM Rene Veerman < rene.veerman.netherla...@gmail.com> wr