Hi,

Thank you for your answer. I wanted to avoid building it myself, but
documentation seems to make it easy.
Is there a difference between a CouchDB tar.gz install and git -clone
install ?
If I build it from git source what will be the process to upgrade when
2.1.0 will be released ? Is it just an overwrite from the tar.gz release or
will I have to pull it from git again ?
Last question, do you have an idea of the next official patch date ? Some
months ? Weeks ?

Best,
Max

2017-01-27 4:54 GMT+01:00 Joan Touzet <[email protected]>:

> Hi Max,
>
> As you can see, the linked issue
>
> https://issues.apache.org/jira/browse/COUCHDB-3181
>
> has the fix for this problem, and the patch to fix it is in your email
> quotation as well.
>
> While CouchDB 2.1.0 will contain this fix, for now you can apply the
> patch yourself to couchdb-chttpd and rebuild to get the fix you need.
> Our documentation has full instructions on how to build CouchDB from
> scratch:
>
> http://docs.couchdb.org/en/2.0.0/install/unix.html
>
> and
>
> https://cwiki.apache.org/confluence/display/COUCHDB/Debian (e.g.)
>
> Best,
> Joan
>
> ----- Original Message -----
> > From: "max" <[email protected]>
> > To: [email protected]
> > Sent: Tuesday, January 17, 2017 12:30:49 PM
> > Subject: Re: _users upload attachment
> >
> > Hi,
> >
> > I'd like to know if there is a way to fix this issue in CouchDB 2.0 ?
> > I'd
> > like to upgrade but I need this issue to be fixed since my users got
> > some
> > attachments...
> >
> > Thanks,
> >
> > Max
> >
> > 2016-10-06 9:26 GMT+02:00 max <[email protected]>:
> >
> > > https://issues.apache.org/jira/browse/COUCHDB-3182
> > >
> > > 2016-10-05 20:02 GMT+02:00 Robert Samuel Newson
> > > <[email protected]>:
> > >
> > >> fyi
> > >>
> > >> diff --git a/src/chttpd_db.erl b/src/chttpd_db.erl
> > >> index 07a5eba..1b7fb55 100644
> > >> --- a/src/chttpd_db.erl
> > >> +++ b/src/chttpd_db.erl
> > >> @@ -1222,7 +1222,7 @@ db_attachment_req(#httpd{method=Method,
> > >> user_ctx=Ctx}=Req, Db, DocId, FileNamePa
> > >>              couch_doc:validate_docid(DocId),
> > >>              #doc{id=DocId};
> > >>          Rev ->
> > >> -            case fabric:open_revs(Db, DocId, [Rev], []) of
> > >> +            case fabric:open_revs(Db, DocId, [Rev],
> > >> [{user_ctx,Ctx}]) of
> > >>              {ok, [{ok, Doc0}]}  -> Doc0;
> > >>              {ok, [Error]}       -> throw(Error)
> > >>              end
> > >> (END)
> > >>
> > >> > On 5 Oct 2016, at 18:54, Robert Samuel Newson
> > >> > <[email protected]>
> > >> wrote:
> > >> >
> > >> > Can you make a jira ticket at https://issues.apache.org/jira
> > >> /browse/COUCHDB please?
> > >> >
> > >> > I have already found and solved the bug.
> > >> >
> > >> > B.
> > >> >
> > >> >> On 5 Oct 2016, at 17:42, max <[email protected]> wrote:
> > >> >>
> > >> >> I cannot add attachment to a document inside _users database.
> > >> >> Here is the answer I got:
> > >> >>
> > >> >> {"error":"unknown_error","reason":"function_clause","
> ref":1841055428}
> > >> >>
> > >> >> I've tried in fauxton and from a REST client.
> > >> >> Using CouchDB 2.0 Windows version.
> > >> >>
> > >> >> Thanks.
> > >> >>
> > >> >> Max.
> > >> >
> > >>
> > >>
> > >
> >
>

Reply via email to