Ubuntu 17.10 (Artful) how to install CouchDB

Ubuntu systems:

Version affected:

Distributor ID: Ubuntu
Description: Ubuntu 17.10
Release: 17.10
Codename: artful

Info:

When you are trying to install CouchDB on this version of Ubuntu, the service will not start.
This is due to the fact that CouchDB 1.6.x does not support the version of Erlang that ships with 17.10.
What now? well, you can either downgrade Erlang, but that could mess things up for you, so i want to provide you with a simple soloution to how to fix this by upgrading CouchDB.

Note: Make sure to uninstall CouchDB first before. And just to make sure all is gone follow this.

#sudo apt-get remove couchdb* --purge
#sudo apt-get update
#sudo apt autoremove --purge (it will clean out Erlang packages as well, better to start fresh).

Now to install.

Step 1:

#sudo add-apt-repository ppa:jderose/couchdb-1.7.0
#sudo apt-get update

Now if the repository aint down or removed you should now be able to install CouchDB 1.7.0

Step 2:

#sudo apt-get install couchdb -y

Step 3:

This is how i check to see if a net-service is up.

#netstat -atpn

You should be able to see the following

Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:5984 0.0.0.0:* LISTEN -

Now you are done.
The rest is up to you, the reason to why i wrote this is because i spent a few hours last night messing with the problem going thru logs and debbugging but could not figure out where the problem was.

Then i found a link: Installing CouchDB on Ubuntu 17.10

Made the help abit shorter, for those who dont want to read it all.

PS: Maybe move this thread to another section. Could only post here for now.

1 Like

moved to: #server-development:server-tutorials

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.