Issue upgrading from 4.7.8 to 4.80
Please confirm you have done the following before posting your bug report:
- [ ] I have enabled debug mode
- [x ] I have read checked the Common Issues page
Describe the bug When updating the app using php upgrade upgrade.php I get the following error:
Updating nesbot/carbon (1.39.0 => 1.39.1): The package has modified files: M bin/upgrade-carbon Discard changes [y,n,v,d,s,?]?
How should I proceed? Thank you.
To Reproduce Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Server (please complete the following information):
- Snipe-IT Version - 4.7.8
- OS: [e.g. Ubuntu, CentOS] CentOS 7
- Web Server: [e.g. Apache, IIS] Apache
- PHP Version 7.3.6
Desktop (please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
Error Messages
- WITH DEBUG TURNED ON, if you're getting an error in your browser, include that 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.
Additional context
- Is this a fresh install or an upgrade?
- What OS and web server you're running Snipe-IT on
- What method you used to install Snipe-IT (install.sh, manual installation, docker, etc)
- 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
Add any other context about the problem here.
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.
I have the same error
I chose the Y option . The update was successful. It seems that there are no errors when working with snipe-it
Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail. This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Don't take it personally, we just need to keep a handle on things. Thank you for your contributions!
This issue has been automatically closed because it has not had recent activity. If you believe this is still an issue, please confirm that this issue is still happening in the most recent version of Snipe-IT and reply to this thread to re-open it.
FWIW, I see this in every update for a couple major versions now; latest for the 8.70 -> 8.8.0 update. This is on PHP 8.3:
- Upgrading carbonphp/carbon-doctrine-types (2.1.0 => 2.1.1): Extracting archive
nesbot/carbon has modified files:
M bin/carbon
Discard changes [y,n,v,d,s,?]? y
- Upgrading nesbot/carbon (3.13.2 => 3.14.2): Checking out 94cfc34887 from cache