-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running php upgrade does not continue, no errors. #15190
Comments
👋 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. |
Hello, I have exactly the same issue. On my environment we have Windows Server 2022 and PHP 8.1.29. Best regards, |
It seems that since version 7.0.9 the upgrade.php module got updated; from other issues posted here I noticed a user posted a link to the following here . The json requirements URL is accessible by the way, I am able to open it from the browser on the same server. Any help would be appreciated, thanks .. |
Same here! I have this issue as well. |
Same. |
The only way I managed to get mine updated was through my second post. Hopefully someone can update us on a possible better solution. |
We don't have easy access to windows machines to test this, but we're still trying to figure out what the issue is here. In the meantime, remember that the upgrade.php is just a small wrapper around these commands - you don't actually need it.
(Replace |
The |
Thank you for looking into this, will try the set of commands next time and see how it goes, using the skip php compatibility checks did not work for me unless I modify upgrade.php as per my second post. After the modification the skip compatibility would then work. |
Roger that. @uberbrady spun up a Windows VM recently, so I'll have him try to reproduce this on Monday. |
Thank you so much 👍 |
If anyone else is playing around with this, one thing I saw that improved the version check was to change the call to Line 68 in e8a22f3
When I do that, it does get past that part. I'm not sure that's going to be the permanent solution, however, because some highly-secure installations might have "fopen() wrappers" disabled. So I suspect the |
Yeah, the fopen issue is why we changed it, IIRC |
I have a partial fix for this in the works that I’m hoping to have out for tomorrow. It should fix most of the bits where |
Sorry my mistake, I must have done something wrong, I modified Line 68 using file_get_contents again and now it allows me to upgrade ! So yes your fix works :) |
Unfortunately, that fix does not work universally across all systems. As @uberbrady said, we'll have a fix out later today. |
No problem will wait for the actual fix, and let you know. |
Hello Thank you so much for your help, I can confirm that this is working, just updated to the latest version, and everything went smoothly 👍. |
Debug mode
Describe the bug
Trying to upgrade from version 7.0.9 to 7.0.10 , I run the php upgrade.php command and its just stops, no errors.
Reproduction steps
Expected behavior
Start processing the upgrade command and maybe upgrade to the latest version..
Screenshots
Snipe-IT Version
7.0.9
Operating System
Windows 10
Web Server
IIS
PHP Version
8.1.27
Operating System
Windows 11
Browser
Google, Firefox, Edge
Version
No response
Device
No response
Operating System
No response
Browser
No response
Version
No response
Error messages
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: