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
[Bug]: Error: Call to undefined function GuzzleHttp\Psr7\stream_for()
runing SWIFT Object Storage as Primary storage
#31712
Comments
GuzzleHttp\Psr7\stream_for()
GuzzleHttp\Psr7\stream_for()
GuzzleHttp\Psr7\stream_for()
runing SWIFT Object Storage as Primary storage
Running in the same problem as you and commit 66bdda5 resolved most of the problem (I still need to patch https://github.com/nextcloud/3rdparty/blob/master/php-opencloud/openstack/src/Common/Auth/AuthHandler.php manually). |
This will be needed too nextcloud/3rdparty#911 |
I've just applied 66bdda5 and php-opencloud/openstack@8a6a6a7 from nextcloud/3rdparty#911 |
I just had this error when I tried updating from 25.0.1 to 25.0.2 with OpenStack Swift as primary storage. Really strange, since this was fixed in 66bdda5. Now, my instance says integrity check failed for |
Same here with 25.0.2, it seems Until this is fixed, here are some emergency workaround commands to patch the file and finish the upgrade, assuming Nextcloud is in
|
@fcrespel |
just run into this problem with the latest release 25.0.2 @fcrespel thank you for the trick |
another emergency workaround for snap users : revert to previous version : |
Hi, please update to 24.0.9 or better 25.0.3 and report back if it fixes the issue. Thank you! My goal is to add a label like e.g. 25-feedback to this ticket of an up-to-date major Nextcloud version where the bug could be reproduced. However this is not going to work without your help. So thanks for all your effort! If you don't manage to reproduce the issue in time and the issue gets closed but you can reproduce the issue afterwards, feel free to create a new bug report with up-to-date information by following this link: https://github.com/nextcloud/server/issues/new?assignees=&labels=bug%2C0.+Needs+triage&template=BUG_REPORT.yml&title=%5BBug%5D%3A+ |
I’ve updated to 25.0.3 a few days ago. The same problem occurred again and I had to apply this workaround again. |
I confirm the trick from @fcrespel was helpful and update to release 25.0.3 did not cure the issue. |
Could reproduce today again when upgrading to 25.0.4 |
it also happens when updating Nextcloud Enterprise from 25.0.3 to 25.0.4 |
Since #36879 was merged, is it now safe to update to 25.0.6 without breaking the installation? |
25.0.6 is working for me without the patch 🎉 |
Bug description
The nextcloud:stable-fpm-alpine docker image just upgraded to 22.2.6.2 after recreation of the container I've got the attached error message and the server went into maintenance mode.
Manual upgrade using
php occ upgrade
resulted in the same errorSteps to reproduce
Expected behavior
The automated update to pass
Installation method
Official Docker image
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.0
Web server
Nginx
Database engine version
MySQL
Is this bug present after an update or on a fresh install?
Updated from a minor version (ex. 22.2.3 to 22.2.4)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
No response
Nextcloud Logs
No response
Additional info
I'm using the OVH Object Storage using the SWIFT endpoint
That's the error I've got on trying to upgrade:
The text was updated successfully, but these errors were encountered: