SOLVED XiVO Install Fails Digital Ocean

Epsium

New Member
Joined
Jul 20, 2016
Messages
6
Reaction score
0
Good morning everyone, and thank you for being awesome!

Following the DigitalOcean tutorial I get the following:

Cn0UOVnWAAA9rj-.jpg


I received a single error message during installation that clearly indicated it was an XiVO configuration thing; and to ignore it.

I enabled all of the optional features; including VPN; and I am unable to access the web interface; "refused to connect."
The final side note is the droplet was created with SSH keys, and therefore I don't have a root password.

Thoughts....
 
Last edited by a moderator:
@Epsium Just ran through a fresh D.O. 512MB install following this Digital Ocean tutorial. Installed the cache. Ran the installer. Debian 8 updated and rebooted. Ran the installer again. Chose ALL Incredible PBX options. Picked time zone. XiVO install completed without errors. Pressed ENTER. XiVO Config Wizard (wizard.py) completed without errors. Pressed ENTER. Remainder of install completed without errors.

Elapsed time: 15 minutes. What did you do differently??

Cn0VlICWYAAFzUS.jpg
 
@wardmundy I'm attempting to install from scratch without running the passwd command as I use SSH keys.

Here is the error:

Errors were encountered while processing:
rabbitmq-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
xivo_install_current.sh: line 58: xivo-service: command not found
Please verify above that XiVO installation step completed successfully.
We will handle the web configuration for you. Ignore the message above.
To continue with installation, press ENTER. Or press Ctrl-C to abort.


The only deviation from your tutorial is that I'm not issuing the passwd command and I'm using my own FQDN
(my total time is more than 15 mins, I'm on NYC 3)

I get the same PBXStatus report as posted before.

I will now, rebuild the droplet using the Debian8.5 64bit as the base image (I like the IP they assigned) and issue the passwd command. Wish me luck.
 
@wardmundy more diagnostics:

From Install. (wizard.py)

Configuring XiVO. One moment please...
--2016-07-20 14:24:44-- http://incrediblepbx.com/wizard.py
Resolving incrediblepbx.com (incrediblepbx.com)... 107.158.44.25
Connecting to incrediblepbx.com (incrediblepbx.com)|107.158.44.25|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1143 (1.1K) [text/plain]
Saving to: ‘wizard.py’

0K . 100% 96.8M=0s

2016-07-20 14:24:44 (96.8 MB/s) - ‘wizard.py’ saved [1143/1143]

Traceback (most recent call last):
File "./wizard.py", line 4, in <module>
from xivo_confd_client import Client
ImportError: No module named xivo_confd_client
Please verify no errors shown above in XiVO configuration step.


I'm going ahead and creating a new droplet with your FQDN of xivo.incrediblepbx.com to see if that fixes me up.
 
The base XiVO install is failing. Did you install the disk caching component? That error looks like what happens when you run out of RAM. PM a link to the install log which you will find in /root. Also post the results of running this command: free
 
I certainly did. I cut and pasted from the tutorial. See the outputs below:


root@xivo:~# cat /proc/swaps
Filename Type Size Used Priority
/swapfile file 1048572 268 -1
root@xivo:~#


root@xivo:~# free
total used free shared buffers cached
Mem: 506324 430604 75720 5668 16116 265460
-/+ buffers/cache: 149028 357296
Swap: 1048572 268 1048304
root@xivo:~#
 
Is anyone else having issues setting up their Digital Ocean XiVO server?

After reviewing the log files, it was speculated a memory issue was the cause of the issue. I went ahead and resized my droplet to 2GB of ram, ran through the steps again, create swap, update, install, and I'm still seeing the following failures:

Thinking it was something to do with my D.O. Account, I created a brand new account, built a brand new droplet, again resized the memory to 2GB and it's still failing.

Am I the only one?


From Log File:
Errors were encountered while processing:
rabbitmq-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
xivo_install_current.sh: line 58: xivo-service: command not found
Please verify above that XiVO installation step completed successfully.
We will handle the web configuration for you. Ignore the message above.
To continue with installation, press ENTER. Or press Ctrl-C to abort.
Configuring XiVO. One moment please...
--2016-07-20 14:24:44-- http://incrediblepbx.com/wizard.py
Resolving incrediblepbx.com (incrediblepbx.com)... 107.158.44.25
Connecting to incrediblepbx.com (incrediblepbx.com)|107.158.44.25|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1143 (1.1K) [text/plain]
Saving to: ‘wizard.py’

0K . 100% 96.8M=0s

2016-07-20 14:24:44 (96.8 MB/s) - ‘wizard.py’ saved [1143/1143]

Traceback (most recent call last):
File "./wizard.py", line 4, in <module>
from xivo_confd_client import Client
ImportError: No module named xivo_confd_client
Please verify no errors shown above in XiVO configuration step.
 
SOLVED
The final word on this is it appears that providing my own FQDN was not enough for the installation; more specifically rabbitmq-server; to work. I used the following (from the cloud@cost tutorial) to reset my hostname, and voila the install finished successfully:

cd /root
sed -i 's|127.0.1.1\tlocalhost|127.0.1.1\txivo.incrediblepbx.com\tlocalhost.localdomain|'/etc/hosts
hostname xivo.incrediblepbx.com
sed -i 's|localhost|xivo|'/etc/hostname


Save yourself the trouble; use xivo.incrediblepbx.com as your hostname.
 

Members online

Forum statistics

Threads
26,688
Messages
174,412
Members
20,258
Latest member
RandomPerson
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top