Closed GoogleCodeExporter closed 9 years ago
Hi,
Strange, I also have a password in couch.ini and have not experienced this
problem (I am using couchdb 0.10 though).
But then I usually open a fresh database from futon
(http://localhost:5984/_utils) If you try to open the wiki page from futon (by
clicking on the database you created -> _design/tapir -> wiki.html under
_attachments) do you then experience the same problem?
Jeroen
Original comment by jeroen....@gmail.com
on 23 Aug 2010 at 4:20
Hi again,
I installed latest CouchDB 1.0.1 on a fresh server but could not repeat your
problem. TapirWiki initialized fine, even when pushing the app as one user and
initializing as another using user:passw in the url.
Is the problem still persisting for you?
Original comment by jeroen....@gmail.com
on 24 Aug 2010 at 4:26
I have seen this hanging problem on first run of tapir wiki as well. The
following is the workaround/fix. The log is under /var/log/couchdb/couch.log.
This is a good place to snoop around. It sort of just says an Erlang process
has crashed.
My setup:
Ubuntu 10.04
Erlang14B
CouchDB 1.0.1
Couchapp 0.7.2
Tapir: wiki.zip
Please check the xulrunner documentation on the page
http://wiki.apache.org/couchdb/Installing_on_Ubuntu
HERE IS THE WORKAROUND FOR xulrunner issue.
sudo vi /etc/ld.so.conf.d/xulrunner.conf
Note: To check what XULRunner version you have installed use xulrunner -v
Then add the following lines to the file (You may need to change the library
version to match whats installed):
/usr/lib/xulrunner-x.x.x.x
/usr/lib/xulrunner-devel-x.x.x.x
Once the configuration files is created and saved, you will need to run
ldconfig:
sudo /sbin/ldconfig
This solution is referenced in this bug report @
https://bugs.launchpad.net/ubuntu/+source/xulrunner-1.9/+bug/557275
On a browser http://127.0.0.1:5984/wiki/_design/tapir/wiki.html it should now
be working.
This should be a pre-requisite step before you manually run ./configure on
couchdb for Ubuntu 10.04.
Original comment by jmoisesr...@gmail.com
on 2 Nov 2010 at 6:22
Hi,
Thanks for that fix! I hope this solves the problem. Can't test it since I
couldn't reproduce the problem myself.
BTW I uploaded a new version in a zip file (it is the same as the current
latest revision) because it appears that people are downloading the zip more
than cloning the repository. The other zip was quite old already.
Original comment by jeroen....@gmail.com
on 5 Nov 2010 at 11:26
Below are enhanced instructions to the workaround. I was able to reproduce it
with a Ubuntu 10.04 install and also build everything (erlang, couchdb,
couchapp, tapirwiki) from source code and not from aptitude. I was able to
reproduce it on a physical machine as well as in a virtual environment. The
main culprit is xulrunner. I am glad I can contribute this fix. Tapirwiki is
great. I use it all the time to document. It is a minimalist design, fast, and
gets the wiki job done.
Enhanced workaround instructions:
Before fixing, one should always first stop couchdb
> sudo /etc/init.d/couchdb stop
HERE IS THE WORKAROUND FOR xulrunner issue.
http://wiki.apache.org/couchdb/Installing_on_Ubuntu
> sudo vi /etc/ld.so.conf.d/xulrunner.conf
Note: To check what XULRunner version you have installed use xulrunner -v
Then add the following lines to the file (You may need to change the library
version to match whats installed):
/usr/lib/xulrunner-x.x.x.x
/usr/lib/xulrunner-devel-x.x.x.x
Once the configuration files is created and saved, you will need to run
ldconfig:
> sudo /sbin/ldconfig
Now start couchdb again to see different behavior.
> sudo /etc/init.d/couchdb start
This solution is referenced in this bug report @
https://bugs.launchpad.net/ubuntu/+source/xulrunner-1.9/+bug/557275
On a browser go to
http://127.0.0.1:5984/wiki/_design/tapir/wiki.html
Original comment by jmoisesr...@gmail.com
on 5 Nov 2010 at 2:34
Original issue reported on code.google.com by
david.go...@btconnect.com
on 23 Aug 2010 at 3:00