You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use AWS S3 for primary file storage. A file called "test.jpg" uploads fine, also "test1.jpg" is no problem, but uploading "test 1.jpg" fails with no warnings/errors what so ever!
When I check the network tab in Chrome (via F12) I see a "PUT" with remote.php/webdav/test/test%201.jpg and a "PROPFIND" with the same URL there is says (with HTML formatting) "App not installed:" (but not telling which app..)
The same happens with a file WITHOUT a space, but there the PROPFIND returns an XML result! (and all goes wel..)
Steps to reproduce
create a fresh install of Nextcloud 25.0.3
use PHP 8.1
upload a file with a space in it!
Expected behavior
it should upload the file
it should tell me what went wrong (even loglevel set to 3 doesn't tell me anything..
Installation method
Community Web installer on a VPS or web space
Operating system
RHEL/CentOS
PHP engine version
PHP 8.1
Web server
Apache (supported)
Database engine version
MySQL
Is this bug present after an update or on a fresh install?
Fresh Nextcloud Server install
Are you using the Nextcloud Server Encryption module?
mrAceT
changed the title
[Bug]: upload file with a space in it fails!
[Bug]: upload file with a space in it fails with PHP 8.1 (no problems with PHP 7.4)
Jan 26, 2023
PS: @szaimen I updated the bug description a bit, hope it helps
AD: I use AWS S3 for primary file storage, but since PHP7.4 works fine, one would not think it to be a part of the problem?
solracsf
changed the title
[Bug]: upload file with a space in it fails with PHP 8.1 (no problems with PHP 7.4)
[Bug]: Upload file with a space in it fails with PHP 8.1 (no problems with PHP 7.4) using S3
Jan 27, 2023
(I knew I mentioned something "with spaces" here before!)
I have a test-setup that I had previously updated to Nextcloud 25 and PHP8.1 I now had a serious bug in my nextCloud and decided it was time to update my "production Nextcloud" to PHP 8.1 and I forgot I had the "space problem" mentioned here..
The bug of it already going wrong at uploading made finding the cause hard.. but after the upgrade I had a file already there with a space in it and viewing also didn't work.. now I found the cause!
#37852 fixes this bug!! Not only does it make it possible to view a file with a space in it, now I can also upload a file with a space in it! (I tested this with my test-setup, which does not have this "Q&D-fix" an there I still can not upload, but my production-version it does work! me happy ;)
Bug description
I use AWS S3 for primary file storage. A file called "test.jpg" uploads fine, also "test1.jpg" is no problem, but uploading "test 1.jpg" fails with no warnings/errors what so ever!
When I check the network tab in Chrome (via F12) I see a "PUT" with remote.php/webdav/test/test%201.jpg and a "PROPFIND" with the same URL there is says (with HTML formatting) "App not installed:" (but not telling which app..)
The same happens with a file WITHOUT a space, but there the PROPFIND returns an XML result! (and all goes wel..)
Steps to reproduce
Expected behavior
Installation method
Community Web installer on a VPS or web space
Operating system
RHEL/CentOS
PHP engine version
PHP 8.1
Web server
Apache (supported)
Database engine version
MySQL
Is this bug present after an update or on a fresh install?
Fresh Nextcloud Server install
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
No response
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
When I configure Apache to use PHP 7.4 with the same Nextcloud installation there isn't ANY problem!
So this must be related to PHP 8 somehow.. but I installed all the modules, there are no warnings what so ever in 'settings/admin/overview'
The text was updated successfully, but these errors were encountered: