-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do I customize port and service name for couchdb during silent installation in Windows #5023
Comments
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
This should start CouchDB (and there should be no output). Cheers, Ronny |
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:
CouchDB v3.3.3: 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. Thanks in advance! Regards, |
Hi Siddhesh,
thanks, understood! But if we go further, please do the steps I mentioned above:
With this steps, I want to see if you can run CouchDB as a normal user. |
Hi Ronny, As suggested by you, by running Regards, |
Hi Ronny, Did you get a chance to look at the crash dump? Regards, |
Hi, mhh, I can't reproduce this! I did this steps to install CouchDB (without the automatic service installation): Silenty install CouchDB to
Afterwards CouchDB should be installed into Now you can manually install the service with (you need admin rights):
Now you can check the installation and the status of the service (should be stopped):
The service should start with:
Testing:
So the crash dump doesn't show me anything interesting. Do you have any logs while starting the service? Only informational if you want to install the service as well do:
|
No response from the user, closing for now. |
Hey there, I am looking for a solution either for method-1 or method-2.
For my enterprise software I need Couchdb to be packaged in it and install it with following specifications.
service name : Apache-COUCHDB-3.3.3
ports :
chttpd = 5984
httpd = 5986
ssl = 6984
Till now I was using CouchDB-2.1.0 packaging (same directory structure as when msi is installed and the above ports were made configurable) and install it using windows cmd.
Method-1
As I want to use upgraded couchdb version for my enterprise software I downloaded the apache-couchdb-3.3.3-2.msi from its official site and installed the Apache Couchdb. But as I need the package and then customize it as mentioned above, I zipped the installed directory folder and then extracted it to a different folder. Also, I uninstalled the previously installed service. I used the same commands as mentioned above and tried to install the service. Although the service got installed but it never starts and just remains in paused state. I tried to identify the root cause but couldn't find any specific. Even logs are not getting generated at C:/CouchDB-3.3.3/var/log/couchdb.log. But I observed a new file at C:/CouchDB-3.3.3/erl-cash.dump was generated and it had following in it -
Same thing when I tried with CouchDB-2.1.0, it worked. Service was installed and it was running fine with proper logs.
Method-2
I used apache-couchdb-3.3.3-2.msi and performed silent installation using the below cmd provided in couchdb documentation.
The service got installed and running fine. But I couldn't find a way to customize ports and services at the time of installation.
Could you please help me out with this?
The text was updated successfully, but these errors were encountered: