PatrickHeneise opened a new issue #6: Can't create views on Ubuntu
URL: https://github.com/apache/couchdb-pkg/issues/6
 
 
   I just installed CouchDB via `snap` on a fresh Ubuntu 17.04 VM. I tried to 
create views on a db with >5k documents which shouldn't be an issue but ran 
into a lot of timeouts.
   
   After a while, I tried to create the view on an empty database which didn't 
work either, and finally ran the verification, says Views don't work.
   
   This is the syslog:
   
   ```
   Sep 12 16:45:26 bsr-couchdb kernel: [ 2503.848130] audit: type=1400 
audit(1505234726.242:41): apparmor="DENIED" operation="capable" 
profile="snap.couchdb.server" pid=2160 comm="beam" capability=35  
capname="wake_alarm"
   Sep 12 16:45:26 bsr-couchdb kernel: [ 2504.508119] audit: type=1400 
audit(1505234726.902:42): apparmor="DENIED" operation="exec" 
profile="snap.couchdb.server" name="/bin/df" pid=2216 comm="sh" 
requested_mask="x" denied_mask="x" fsuid=0 ouid=0
   Sep 12 16:46:12 bsr-couchdb kernel: [ 2550.225799] audit: type=1326 
audit(1505234772.618:43): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=2234 
comm="couchjs" exe="/snap/couchdb/1/rel/couchdb/bin/couchjs" sig=31 
arch=c000003e syscall=141 compat=0 ip=0x7f43259cdd27 code=0x0
   Sep 12 16:49:12 bsr-couchdb kernel: [ 2729.624138] audit: type=1326 
audit(1505234952.018:44): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=2268 
comm="couchjs" exe="/snap/couchdb/1/rel/couchdb/bin/couchjs" sig=31 
arch=c000003e syscall=141 compat=0 ip=0x7f877badfd27 code=0x0
   ```
   
   ## Expected Behavior
   
   Views should be created.
   
   ## Current Behavior
   
   <img width="709" alt="screen shot 2017-09-12 at 18 40 15" 
src="https://user-images.githubusercontent.com/74390/30338272-650be380-97eb-11e7-9462-07177740dd20.png";>
   
   ## Steps to Reproduce (for bugs)
   1. `sudo snap install couchdb`
   2. Setup single-node system
   3. Verify
   
   ## Context
   
   Can't use CouchDB without views.
   
   ## Your Environment
   * Version used: 2.0.0
   * Operating System and version (desktop or mobile): Ubuntu 17.04
 
----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to