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

Upgrade Snipe-IT v3.4 to latest

Open ghost opened this issue 9 years ago • 13 comments

Hello,

I have Snipe-IT installed on Windows Server 2012 and IIS 8. I was wondering if someone can give me a link to instructions on how to upgrade to the latest version.

ghost avatar Dec 15 '16 21:12 ghost

Right here: https://snipe-it.readme.io/docs/how-to-upgrade

JExactly avatar Dec 15 '16 22:12 JExactly

Those composer commands do not work for windows.

ghost avatar Dec 16 '16 14:12 ghost

@Mkazhuka I Apologize, Windows doesn't require you to use the PHP command If i recall when issuing the commands. Try running them without PHP artisan.. etc..

It's been a while since I had snipe running in IIS.

JExactly avatar Dec 16 '16 14:12 JExactly

@JExactly ,says windows cannot open composer.phar when I run it in cmd, I think I figured it out tho, no need for the .phar

ghost avatar Dec 16 '16 14:12 ghost

try just using composer install --no-dev --prefer-source etc..

JExactly avatar Dec 16 '16 14:12 JExactly

also, make sure you did this :

Windows Download Composer-Setup.exe from the Composer website. Move the Composer-Setup.exe file C:\inetpub\wwwroot\snipe-it Open C:\inetpub\wwwroot\snipe-it in Windows Explorer Right click and select Composer Install. This will install the dependencies.

JExactly avatar Dec 16 '16 14:12 JExactly

@JExactly , Yup that what I did, Thank you. Im assuming I just exclude the following commands?

php artisan migrate php artisan config:clear php artisan config:cache

ghost avatar Dec 16 '16 14:12 ghost

You will still need to run those commands, just remove "PHP" from the command before running

JExactly avatar Dec 16 '16 14:12 JExactly

@JExactly Im getting Whoops, looks like something went wrong. when I try to log in now.

ghost avatar Dec 16 '16 14:12 ghost

@JExactly Nvm, Cleared the Cache on my browser and it works now.

ghost avatar Dec 16 '16 14:12 ghost

@Mkazhuka Glad you got everything sorted!!

JExactly avatar Dec 16 '16 16:12 JExactly

@JExactly Any idea why It wouldnt be able to login after the upgrade? It allows me to login after I reset my password however if I log out I have to reset my password each time.

ghost avatar Dec 16 '16 20:12 ghost

@Mkazhuka I would check your laravel logs and post them to your new issue you created.

JExactly avatar Dec 16 '16 21:12 JExactly