Comments (6)
Hey @Nidhi-Patel20,
I tried to reproduce your issues, with no luck. All is working for me.
At the moment, there is no way to configure your ports during (silent) installation! This needs to be implemented.
Next, try to start CouchDB from a normal command prompt for example with (install dir C:\CouchDB-3.3.3
):
C:\>CouchDB-3.3.3\bin\couchdb.cmd
This should start CouchDB (and there should be no output).
If you get a crash report, please append the message here!
Before we proceed, give this a try and show your findings.
Cheers, Ronny
from couchdb.
Hey Ronny,
Nidhi works with me, so I know her use case and let explain that to you.
Ours is a desktop based enterprise application for Windows. The application has a mobile app which uses CouchDB. The entire product is shipped in the form on an installer (.exe). The executable takes care of installing Tomcat, ActiveMQ, MariaDB and CouchDB as Windows services.
CouchDB v2.1.0:
Till now we have been using this version. The way we packaged it with our installer is:
- Install CouchDB using msi installer. Stop the services and zip the installation directory. This was just one time activity.
- Use the zip in all the enterprise installer bundling.
- When the installer is run, identify the open ports and use them in the config properties and run the commands like following to install the CouchDB service -
> C:/NS/Production/Mobile/CouchDB/bin/nssm.exe install NS-COUCHDB-5985 C:/NS/Production/Mobile/CouchDB/bin/couchdb.cmd C:/NS/Production/Mobile/CouchDB/bin SERVICE_AUTO_START
> sc start NS-COUCHDB-5985
CouchDB v3.3.3:
We're now upgrading to this version of CouchDB. We tried using the above steps. The service gets installed, but it doesn't start up. So this doesn't work anymore for us.
Next we tried the silent installation. This installs the CouchDB but we're now not in control to identify and specify the ports beforehand and customize the service name.
Controlling the ports and service name before installation is important to us, because if we don't follow this and there's any deviation in the port consumption or service name, our customers won't be happy.
So, with v3.3.3, is there any workaround with which we can achieve this?
Thanks in advance!
Regards,
Siddhesh Malpani
from couchdb.
Hi Siddhesh,
CouchDB v3.3.3: We're now upgrading to this version of CouchDB. We tried using the above steps. The service gets installed, but it doesn't start up. So this doesn't work anymore for us. Next we tried the silent installation. This installs the CouchDB but we're now not in control to identify and specify the ports beforehand and customize the service name.
Controlling the ports and service name before installation is important to us, because if we don't follow this and there's any deviation in the port consumption or service name, our customers won't be happy. So, with v3.3.3, is there any workaround with which we can achieve this?
thanks, understood! But if we go further, please do the steps I mentioned above:
Next, try to start CouchDB from a normal command prompt for example with (install dir C:\CouchDB-3.3.3):
C:>CouchDB-3.3.3\bin\couchdb.cmd
This should start CouchDB (and there should be no output in the command prompt).
If you get a crash report, please append the message here!
Before we proceed, give this a try and show your findings.
With this steps, I want to see if you can run CouchDB as a normal user.
from couchdb.
Hi Ronny,
As suggested by you, by running C:>CouchDB-3.3.3\bin\couchdb.cmd
we could run the CouchDB and it didn't not generate any crash dump.
However, if we create a service out of it and try to run, it fails to start and generates a crash dump. PFA, I hope it helps.
Regards,
Siddhesh Malpani
from couchdb.
Hi Ronny,
Did you get a chance to look at the crash dump?
Regards,
Siddhesh Malpani
from couchdb.
Hi,
mhh, I can't reproduce this!
I did this steps to install CouchDB (without the automatic service installation):
Silenty install CouchDB to C:\CouchDB-Test
:
msiexec /i apache-couchdb-3.3.3.msi /quiet APPLICATIONFOLDER=C:\CouchDB-Test ADMINUSER=a ADMINPASSWORD=a /norestart
Afterwards CouchDB should be installed into C:\CouchDB-Test
.
Now you can manually install the service with (you need admin rights):
C:\CouchDB-Test\bin\nssm.exe install "Apache CouchDB Test" "C:\CouchDB-Test\bin\couchdb.cmd"
Service "Apache CouchDB Test" installed successfully!
Now you can check the installation and the status of the service (should be stopped):
C:\CouchDB-Test\bin\nssm.exe status "Apache CouchDB Test"
SERVICE_STOPPED
The service should start with:
C:\CouchDB-Test\bin\nssm.exe start "Apache CouchDB Test"
Apache CouchDB Test: START: Der Vorgang wurde erfolgreich beendet. (<-- translating: starting was successful)
C:\CouchDB-Test\bin\nssm.exe status "Apache CouchDB Test"
SERVICE_RUNNING
Testing:
curl.exe http://127.0.0.1:5984/_up
{"status":"ok","seeds":{}}
So the crash dump doesn't show me anything interesting. Do you have any logs while starting the service?
Important is, that the install directory of CouchDB needs admin rights, so your (service) user needs that too,
or you have to change this permissions of the install dir after the installation!
Only informational if you want to install the service as well do:
msiexec /i apache-couchdb-3.3.3.msi /quiet INSTALLSERVICE=1 APPLICATIONFOLDER=C:\CouchDB-Test ADMINUSER=a ADMINPASSWORD=a /norestart
from couchdb.
Related Issues (20)
- "apache.jfrog.io" trial expired HOT 2
- "apache.jfrog.io" no more available. Where are the .deb packages now? HOT 2
- Installing from yum repo fails repomd.xml signature could not be verified for couchdb HOT 2
- Couchdb stoped writing to the journald logs HOT 4
- Extent log message about conflicted shards HOT 3
- Requiring support for leading wildcard search for nouveau HOT 3
- Inherited Permissions Not Applied in CouchDB's Windows Installer HOT 8
- No documentation on mem3 options in CouchDB
- Sign out from Admin HOT 5
- Invoking update function when changing document in Fauxton HOT 3
- HTTP call inside validation function in design document? HOT 2
- CouchDB replications cannot be configured with 'heartbeat'
- Slow couchdb after many queries HOT 29
- Add "exp" to mandatory JWT claims HOT 4
- Nouveau trial run observations HOT 2
- Unexpected JWT auth response "badmatch" HOT 7
- Verify CouchDB Installation fails with create view HOT 4
- replicator session auth cannot handle multiple Set-Cookie headers in /_session request HOT 1
- Create new Fauxton release and update couch
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from couchdb.