Snipe-it: Cannot install on Ubuntu v18.04

Created on 29 May 2018  路  15Comments  路  Source: snipe/snipe-it

Hi,

Trying to install on Ubuntu v18.04 but get 'Unsupported Ubuntu version.
Online document states v14 and greater so not sure why i would get this error.

Thanks,
Paul


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

not sure if bug

Most helpful comment

I too get the same error on a completely clean AWS EC2 Ubuntu instance:
Q. Do you want to automatically create the database user password? (y/n) y

./snipeit.sh: line 425: [: 18.04: integer expression expected
Unsupported Ubuntu version. Version found: 18.04

EDIT: I've fixed the issue myself. Went to line 425 on the installation script (snipeit one), then changed -ge to ==

All 15 comments

I'm running Snipe-IT v4.3 on Ubuntu 18.04 LTS since 2 May 2018 then upgraded to v4.4.1 on 21 May 2018 till now, seems ok.

image

used the following and got the above:

wget https://raw.githubusercontent.com/snipe/snipe-it/master/install.sh
chmod 744 install.sh
./install.sh

I also tried to install using the command below:

wget https://raw.githubusercontent.com/snipe/snipe-it/master/install.sh
chmod 744 install.sh
./install.sh

After I enter a new password on the password option, I get the same prompt, "Unsupported Ubuntu Version. Version found: 18.04"

I also tried using the auto-generated password option and arrived at the same error prompt.

image

I see. I'm using this instruction as recommended by the owner. Installing via github is recommend and future version upgrade is easier.

https://snipe-it.readme.io/docs/introduction

even when using the github to clone. you then run the install.sh and get the exact same error

appears in the :snipeit.sh script it doesnt have anything for ubuntu 18.04

i see, this question might goes to the owner as i was using github to clone but not run with install.sh.

I have the same problem, decided to use centos 7 because it worked

Ill get snipeit.sh updated for 18.04.

Once #5687 is merged and makes its way to master 18.04 will be supported.

This one can be closed

Hi everyone!
I have exactly the same issue with Debian 10:

   _____       _                  __________
  / ___/____  (_)___  ___        /  _/_  __/
  \__ \/ __ \/ / __ \/ _ \______ / /  / /
 ___/ / / / / / /_/ /  __/_____// /  / /
/____/_/ /_/_/ .___/\___/     /___/ /_/
            /_/

Welcome to Snipe-IT Inventory Installer for CentOS, Fedora, Debian and Ubuntu!

The installer has detected Debian version 10 codename buster.
Q. What is the FQDN of your server? (XXXXXXXXXX): Setting to XXXXXXXXXX

Q. Do you want to automatically create the database user password? (y/n) y

Q. What do you want your snipeit user password to be?
Unsupported Debian version. Version found: 10

I get a similar error message on ubuntu 18.04

Q. Do you want to automatically create the database user password? (y/n) y

./snipeit.sh: line 425: [: 18.04: integer expression expected
Unsupported Ubuntu version. Version found: 18.04

I too get the same error on a completely clean AWS EC2 Ubuntu instance:
Q. Do you want to automatically create the database user password? (y/n) y

./snipeit.sh: line 425: [: 18.04: integer expression expected
Unsupported Ubuntu version. Version found: 18.04

EDIT: I've fixed the issue myself. Went to line 425 on the installation script (snipeit one), then changed -ge to ==

Was this page helpful?
0 / 5 - 0 ratings

Related issues

comisso picture comisso  路  4Comments

WELLBOREIS picture WELLBOREIS  路  3Comments

ArchdukeNavaron picture ArchdukeNavaron  路  4Comments

snipe picture snipe  路  3Comments

tbradsha picture tbradsha  路  4Comments