Jump to content

Recommended Posts

Posted

Anyone out there using Snipe-It for asset management? I've inherited a working system but it seems quite old (version 5) and I'm not sure if its updateable or I'd have to go for a new install and import the old data?

 

 

Posted

Link 1: Download Snipe-IT - Snipe-IT Free open source IT asset management [Latest version: v8.2.1  24th of July, 2025]

 

Link 2: Upgrading via Git

 

Quote

... If you installed Snipe-IT via Git (which is our recommended method - seriously, we really, really recommend it), updating Snipe-IT should be pretty straightforward. Simply pull down the newest release (using git pull) and run whatever commands the release notes specify. Your configuration won’t be overwritten, since the .env file isn't checked into version control...

 

  • Thanks 1
Posted

Cheers, I think it was installed initially via git but when I try to run the update process I get an error straight away:

 

Warning: file_get_contents(https://raw.githubusercontent.com/grokability/snipe-i
t/master/.upgrade_requirements.json): Failed to open stream: No such file or dir
ectory in C:\inetpub\wwwroot\snipeit\upgrade.php on line 12

 

I can't see any documentation that suggests we can got from v5 to v8 like this - its quite a jump!

Posted

I've tried the manual process but it didn't seem to work. Keeping with git seems to be the best option but it fails with downloading that json file (which I can access via a browser on the same server)

 

I wonder if git/php needs to be told to use our proxy to do this

Posted

I've managed to get around the proxy with a bit of tinkering, but its let me down an absolute rabbit warren!

 

I can get the update.php to start and it generates a huge number of errors in Stage 6 (composer) and then dies at Stage 7 (putting into maintenance mode):

 

Something went wrong with downing your site. This can't be good. Please investig
ate the error. Aborting!
 

I'm starting to think that 5 to 8 is just too much of a step - we might be better off trying to start from scratch

Posted

I upgraded ours recently when I migrated it on to a new server.  I had to do incremental upgrades as going from an older version to the latest would fail - especially on database upgrades.  Wasn't the easiest of things that I've done.

 

Newer install that our current version is running I put together with Git so hoping future upgrades will be easier.

 

Pete

 

Posted
11 minutes ago, FragglePete said:

I upgraded ours recently when I migrated it on to a new server.  I had to do incremental upgrades as going from an older version to the latest would fail - especially on database upgrades.  Wasn't the easiest of things that I've done.

 

Newer install that our current version is running I put together with Git so hoping future upgrades will be easier.

 

Pete

 

Did you do your incremental updates manually then?

Posted
3 hours ago, Sheridan said:

Did you do your incremental updates manually then?

 

Yes - the original install I did manually on each incremental update (about three in total I think) - when I knew the database was all up to date and backed it up.  On the new server that had the GIT installed version with the latest I then restored the database from the original server and everthing came over and all working again.

 

Pete

 

Posted
10 minutes ago, FragglePete said:

 

Yes - the original install I did manually on each incremental update (about three in total I think) - when I knew the database was all up to date and backed it up.  On the new server that had the GIT installed version with the latest I then restored the database from the original server and everthing came over and all working again.

 

Pete

 

Did you just copy over the new Snipe files and run the update.php? I'm struggling to even get 5.4 to got to 6.3 using this method! I wonder if theres just a way to export from the old, build a new empty system and import the data

Posted

Trying to remember exactly what I did - but I had to faff around with the Composer utility a fair bit to get everything in place if I remember correctly.  

 

Pete

Posted

Cheers for the info - I think I'll build a new install and see if I can export and import. Mainly because the server its currently on is a bit of a mess of old stuff and this is the only thing I want to keep!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...