Hi Joan,

   I've actually been working on a separate "how-to" doc for 2.0
installation on Ubuntu linux just for my own records.  It has info on a
few issues I've found as I go through the process.  If you're
interested in it, I'd be happy to share (after I clean it up...).  Or I
can submit individual pull requests if that works better.

regards,
Karl


> Hi Karl,
>
> Agreed. The docs were rushed for the v2.0.0 release and need work.
> Pull requests are welcome ;-)
>
> -Joan
>
> ----- Original Message -----
>> From: "Karl Helmer" <[email protected]>
>> To: [email protected]
>> Cc: [email protected], "Joan Touzet" <[email protected]>
>> Sent: Tuesday, December 6, 2016 9:13:21 AM
>> Subject: Re: Creating users - getting back "Database does not exist."
>>
>> Hi,
>>
>>    I think one possible reason for why this question comes up fairly
>> frequently is that if you follow the installation instructions
>> starting
>> at 2.1 and then keep hitting "next topic", section 2.6, Single-node
>> Setup, is skipped - it goes from 2.5 -> 3.0.
>>
>> regards,
>> Karl
>>
>>
>> > Thank you Joan - indeed I was missing something!
>> >
>> > Much appreciated -
>> >
>> > Nick
>> >
>> > (email / Skype for Business):
>> > [email protected]<mailto:[email protected]>
>> > (mobile / iMessage): +44 7540 695741<tel:+44%207540%20695741>
>> > (office): +44 1752 586257<tel:+44%201752%20586257>
>> > (twitter): noutram_at_uop
>> >
>> > iTunes U course: iOS Development in Swift:
>> > http://iTunes.com/plymouthswift<http://itunes.com/plymouthswift>
>> >
>> > On 5 Dec 2016, at 18:33, Joan Touzet
>> > <[email protected]<mailto:[email protected]>> wrote:
>> >
>> > You missed the setup step where you create the _users database:
>> >
>> > http://docs.couchdb.org/en/2.0.0/install/index.html#single-node-setup
>> >
>> > -Joan
>> >
>> > ----- Original Message -----
>> > From: "Nicholas Outram"
>> > <[email protected]<mailto:[email protected]>>
>> > To: [email protected]<mailto:[email protected]>
>> > Sent: Monday, December 5, 2016 10:42:00 AM
>> > Subject: Creating users - getting back "Database does not exist."
>> >
>> > I'm working though the tutorial on CouchDB
>> >
>> > http://docs.couchdb.org/en/latest/intro/security.html
>> >
>> > I'm at the section "Creating a New User", where is says:
>> >
>> > Creating a new user is a very trivial operation. You just need to
>> > do
>> > a PUT<http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.6>
>> > request with the user's data to CouchDB. Let's create a user with
>> > login jan and password apple:
>> >
>> > curl -X PUT http://localhost:5984/_users/org.couchdb.user:jan \
>> >     -H "Accept: application/json" \
>> >     -H "Content-Type: application/json" \
>> >     -d '{"name": "jan", "password": "apple", "roles": [], "type":
>> >     "user"}'
>> >
>> > When I try this, I get
>> >
>> > {"error":"not_found","reason":"Database does not exist."}
>> >
>> >
>> >
>> > I'm missing something here. Can anyone advise?
>> >
>> > Nick
>> > ________________________________
>> > [http://www.plymouth.ac.uk/images/email_footer.gif]<http://www.plymouth.ac.uk/worldclass>
>> >
>> > This email and any files with it are confidential and intended
>> > solely
>> > for the use of the recipient to whom it is addressed. If you are
>> > not
>> > the intended recipient then copying, distribution or other use of
>> > the information contained is strictly prohibited and you should not
>> > rely on it. If you have received this email in error please let the
>> > sender know immediately and delete it from your system(s). Internet
>> > emails are not necessarily secure. While we take every care,
>> > Plymouth University accepts no responsibility for viruses and it is
>> > your responsibility to scan emails and their attachments. Plymouth
>> > University does not accept responsibility for any changes made
>> > after
>> > it was sent. Nothing in this email or its attachments constitutes
>> > an
>> > order for goods or services unless accompanied by an official order
>> > form.
>> >
>> > ________________________________
>> > [http://www.plymouth.ac.uk/images/email_footer.gif]<http://www.plymouth.ac.uk/worldclass>
>> >
>> > This email and any files with it are confidential and intended
>> > solely for
>> > the use of the recipient to whom it is addressed. If you are not
>> > the
>> > intended recipient then copying, distribution or other use of the
>> > information contained is strictly prohibited and you should not
>> > rely on
>> > it. If you have received this email in error please let the sender
>> > know
>> > immediately and delete it from your system(s). Internet emails are
>> > not
>> > necessarily secure. While we take every care, Plymouth University
>> > accepts
>> > no responsibility for viruses and it is your responsibility to scan
>> > emails
>> > and their attachments. Plymouth University does not accept
>> > responsibility
>> > for any changes made after it was sent. Nothing in this email or
>> > its
>> > attachments constitutes an order for goods or services unless
>> > accompanied
>> > by an official order form.
>> >
>>
>>
>> --
>> Karl Helmer, PhD
>> Athinoula A Martinos Center
>> for Biomedical Imaging
>> Massachusetts General Hospital
>> 149 - 13th St Room 2301
>> Charlestown, MA 02129
>> (p) 617.726.8636
>> (f) 617.726.7422
>> [email protected]
>>
>>
>>
>>
>>
>> The information in this e-mail is intended only for the person to
>> whom it is
>> addressed. If you believe this e-mail was sent to you in error and
>> the e-mail
>> contains patient information, please contact the Partners Compliance
>> HelpLine at
>> http://www.partners.org/complianceline . If the e-mail was sent to
>> you in error
>> but does not contain patient information, please contact the sender
>> and properly
>> dispose of the e-mail.
>>
>>
>
>
>


-- 
Karl Helmer, PhD
Athinoula A Martinos Center
for Biomedical Imaging
Massachusetts General Hospital
149 - 13th St Room 2301
Charlestown, MA 02129
(p) 617.726.8636
(f) 617.726.7422
[email protected]



Reply via email to