I need help on upgrading my snipe-it tool to 4.6.5 to 5.0.11 on Centos 7.0. Please help me with the procedure.
Expected Behavior (or desired behavior if a feature request)
I need help on upgrading my snipe-it tool to 4.6.5 to 5.0.11 on Centos 7.0. Please help me with the procedure.-----
Actual Behavior
(what actually happens goes here)
Please confirm you have done the following before posting your bug report:
- [ ] I have tried to run ; upgrae php. its throwing error with access denied
- [ ] I have read checked the Common Issues page
Provide answers to these questions:
- Is this a fresh install or an upgrade? Upgrade
- Version of Snipe-IT you're running 4.6.5
- Version of PHP you're running 7.2.7
- Version of MySQL/MariaDB you're running
- What OS and web server you're running Snipe-IT on Centos 7
- What method you used to install Snipe-IT (install.sh, manual installation, docker, etc) install.sh
- WITH DEBUG TURNED ON, if you're getting an error in your browser, include that error
- What specific Snipe-IT page you're on, and what specific element you're interacting with to trigger the error
- If a stacktrace is provided in the error, include that too.
- Any errors that appear in your browser's error console.
- Confirm whether the error is reproducible on the demo: https://snipeitapp.com/demo.
- Include any additional information you can find in
storage/logsand your webserver's logs. - 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
Please do not post an issue without answering the related questions above. If you have opened a different issue and already answered these questions, answer them again, once for every ticket. It will be next to impossible for us to help you.
https://snipe-it.readme.io/docs/getting-help
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
Here's two things I learned when I went from 4.9.2 to 5.0.11: Make a good backup. Do one in the software and grab the zip, it will save your butt.
You say the upgrade.php says access denied but you also used the install.sh method, which I believe I also used, so try running this command:
sudo -u snipeitapp php upgrade.php
(If this fails do a 'll' in your snipeit app folder and see what user owns the file, and sudo as that user instead.)
I have tried this .. but it couldn't help
Hi there - sorry for the freakishly long time in responding here. This one fell off our radar :(
Since the time this issue was opened, a ton of changes have been made in Snipe-IT. If you're still seeing this issue in the current version, please open a new issue that includes:
- Version of Snipe-IT you're running
- Specific errors you're seeing in the UI and/or in the browser console and error logs
- Steps to reproduce
- Whether or not you can reproduce this on the demo (https://demo.snipeitapp.com)
Thanks - and again, sorry for the very late reply. We're doing some cleanup of old issues, so we're rediscovering some older things that didn't get addressed the first time around.