Upcoming Maintenance Alert:

The UBNT Community will be upgraded at 5pm MDT on April 25th. During this time the community forums will be set to read-only status.

Learn more

×
Reply
Emerging Member
Posts: 92
Registered: ‎01-16-2014
Kudos: 28
Accepted Solution

UNMS on Ubuntu Server failed

[ Edited ]

Hi all

 

When use the command to install UNMS on Ubuntu Server: 

$ curl -fsSL https://raw.githubcontent.com/Ubiquiti-App/UNMS/master/install.sh > /tmp/unms_install.sh && sudo bash /tmp/unms_install.sh

 

it generates the follow error:

 

Error.jpg

 

In a Ubuntu Desktop VM, the UNMS installs without problems.

 

The VM are running on a Windows Server 2012 machine and Ubuntu 16.04.2 LTS (Xenial Xerus).

 

What am i missing?

 

Thanks for the help.


Accepted Solutions
Ubiquiti Employee
Posts: 286
Registered: ‎01-26-2017
Kudos: 66
Solutions: 27

Re: UNMS on Ubuntu Server failed


nathanielban wrote:

It appears you have APT configured to use a CDRom for some reason, not sure why or how you would have done that but you're going to need to fix it.


 @eJc2_ I don't think we can fix this on our side. Please try the solutions proposed at https://askubuntu.com/questions/776721/problem-with-sudo-apt-get-update-the-repository-cdrom-does-no... and let us know if it fixed your problem. 

 

View solution in original post


All Replies
New Member
Posts: 20
Registered: ‎07-18-2012
Kudos: 11

Re: UNMS on Ubuntu Server failed

[ Edited ]

It appears you have APT configured to use a CDRom for some reason, not sure why or how you would have done that but you're going to need to fix it.

 

P.S. Why run VMWare Player on Server 2012 when you have Hyper-V?

Emerging Member
Posts: 92
Registered: ‎01-16-2014
Kudos: 28

Re: UNMS on Ubuntu Server failed

It is because the version of WS is Foundation, so no Hyper-V Man Sad

Ubiquiti Employee
Posts: 286
Registered: ‎01-26-2017
Kudos: 66
Solutions: 27

Re: UNMS on Ubuntu Server failed


nathanielban wrote:

It appears you have APT configured to use a CDRom for some reason, not sure why or how you would have done that but you're going to need to fix it.


 @eJc2_ I don't think we can fix this on our side. Please try the solutions proposed at https://askubuntu.com/questions/776721/problem-with-sudo-apt-get-update-the-repository-cdrom-does-no... and let us know if it fixed your problem. 

 

Highlighted
Emerging Member
Posts: 92
Registered: ‎01-16-2014
Kudos: 28

Re: UNMS on Ubuntu Server failed

Thanks for your help.

 

Just comment the follow line 

 

deb cdrom:[Ubuntu-Server 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.3)]/ xenial main restricted

from:

/etc/apt/sources.list

UNMS installs normal now.

 
Reply