Couchdb: Apache CouchDB Windows Service Paused

Created on 7 May 2017  路  19Comments  路  Source: apache/couchdb

I downloaded CouchDB as I was preparing my PouchDB project. My OS is Windows 10.
However when I tried to open Fauxton it said Connection refused, I went to look in my Services and I saw that Apache CouchDB Service is paused. I Stop ir and Start it, however I am getting this.
1

I tried googling all possible solutions, however I did not find what is exactly wrong. As there is no exact error and I do not understand CouchDB exactly the way it works or on what it relies, I can't seem to find solution.

Please let me know if I can provide any more details that would help to identify the issue.

bug windows

Most helpful comment

Guys try to start couchdb with the couchDB.batch file in install/couchDB/bin... Start with sysadmin permission. On win 10 system block couchdb with normal start.

All 19 comments

Hi there,

This is a known issue we will address with the next release of CouchDB. For now, you will need to update the permissions of your C:\CouchDB directory (and all children directories) to allow write access to whatever user is running your service.

Thank you for quick response.

I did what you said, however the problem still remains.
I added full access the the C:\CouchDB and its childrens, I restarted PC and but the issue still remains as it was.
Either I need to do something more or I did not do exactly what you suggested me to do.

2

Try adding the "LOCAL SERVICE" account and give it full control. Users shouldn't have it.

The problem still remains exactly as it was.

Is there anything more I can do?

Also before when I installed CouchDB for the first time few month ago, everything was working perfectly out of the box, it was still v2 at that time I think. How can I make sure to have clean install of it?

I'm also still having this problem after trying the solution above. My install is completely fresh though.

Guys try to start couchdb with the couchDB.batch file in install/couchDB/bin... Start with sysadmin permission. On win 10 system block couchdb with normal start.

Same problem here, tried everything but couchdb's windows service refuse to start. Any clue when this release that fix this issue is suppose to be released?

The workaround for now is to use what @FodOskar says and run the couchdb.cmd file as administrator manually. We'll get a fix out for this with the upcoming 2.1 release, which should happen in the next couple of weeks.

it is NSSM related issue, see here

Windows 10 Creators Update

2017-04-26: Users of Windows 10 Creators Update should use prelease build 2.2.4-101 to avoid an issue with services failing to start. If for some reason you cannot use that build you can also set AppNoConsole=1 in the registry, noting that applications which expect a console window may behave unexpectedly.

Thanks to Sebasian Krause for the initial diagnosis.

My temporary solution is run it manually

Start-Process -WorkingDirectory "D:\\Applications\\CouchDB" -FilePath "bin\\couchdb.cmd" -WindowStyle Hidden

Thanks for the diagnosis @nueko ! We'll update the version of nssm.exe we use in the next build.

also by copying nssm.exe from the pre-release version does work here.

run the couchdb.cmd file as administrator manually. does not work for me.

@dcmay Did you try copying the pre-release version nssm.exe from here over your existing nssm.exe?

@wohali I think @DCMay just run the /CouchDB/bin/couchdb.cmd directly.
but by doing that the Command Prompt will keep opening

for those that have windows 10 creators edition just follow this after install and couchdb will work for you https://stackoverflow.com/questions/44107334/couchdb-fails-to-start-after-applying-windows-10-creators-update

馃嵀 Great

This is the same fix that was stated earlier in this thread.

Locking down comments on this for now. We know what the problem is. 2.1 will be released shortly with this fix included.

I have a newly built version of the 2.0.0 installer with the replaced NSSM, Erlang 18.3 and OpenSSL 1.0.2l. I am waiting for access to the code signing service to be restored, at which point I'll publish the installer as v2.0.0.2.

The code signing service is out of commission for a few weeks, so rather than hold up the release, I'm releasing it unsigned.

Download it here:

https://apache.bintray.com/couchdb/win/2.0.0.2/couchdb-2.0.0.2.msi

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ondra-novak picture ondra-novak  路  4Comments

wohali picture wohali  路  5Comments

dpdornseifer picture dpdornseifer  路  3Comments

col-panic picture col-panic  路  5Comments

andrasbacsai picture andrasbacsai  路  5Comments