snipe-it icon indicating copy to clipboard operation
snipe-it copied to clipboard

Unsupported Ubuntu version. Version found: 20.04, same as #5622

Open cb900crdr opened this issue 6 years ago • 3 comments

Please confirm you have done the following before posting your bug report:

Describe the bug Cannot use install script on ubuntu 20.04.

To Reproduce Steps to reproduce the behavior: wget https://raw.githubusercontent.com/snipe/snipe-it/master/install.sh chmod 744 install.sh ./install.sh

receive Unsupported Ubuntu version. Version found: 20.04

Expected behavior Snipe-it should install on ubuntu 20.04 since it's newer than 14 as required.

Screenshots

image

Server (please complete the following information):

  • Snipe-IT Version Latest
  • OS: Ubuntu 20.04
  • Web Server: Apache
  • PHP Version: 7.4.3

Additional context

  • fresh install
  • Ubuntu 20.04
  • What method you used to install Snipe-IT (install.sh)
  • Include what you've done so far in the installation, and if you got any error messages along the way.
  • Indicate whether or not you've manually edited any data directly in the database

cb900crdr avatar Jul 01 '20 12:07 cb900crdr

Could you please change the check in snipeit.sh on line 425 to if [ "$version" == "20.04" ]; then: https://github.com/snipe/snipe-it/blob/master/snipeit.sh#L425

I believe the commands for Ubuntu 18.04 and 20.04 are the same.

GitHub
A free open source IT asset/license management system - snipe/snipe-it

EDVLeer avatar Jul 02 '20 12:07 EDVLeer

That worked. Thank you.

cb900crdr avatar Jul 06 '20 18:07 cb900crdr

Pull request: https://github.com/snipe/snipe-it/pull/8207

EDVLeer avatar Jul 07 '20 06:07 EDVLeer