You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2017/11/25 02:09:49 UTC
[GitHub] sensiblearts commented on issue #1019: couch_peruser database 'does not exist' -- but I can see userdb- in Fauxton
sensiblearts commented on issue #1019: couch_peruser database 'does not exist' -- but I can see userdb- in Fauxton
URL: https://github.com/apache/couchdb/issues/1019#issuecomment-346913037
My hex conversion of the _id was mostly numbers, and I did not notice that the alpha chars were uppercase!
Instead of
```elixir
couch_db = "userdb-#{user_id |> Base.encode16}"
```
I had to use
```elixir
couch_db = "userdb-#{user_id |> Base.encode16 |> String.downcase}"
```
Sorry to trouble you on this.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services