I installed owncloud on my server, everything is ok. So far no problems with installation, but when I access to upload the only thing I having an issue is the PDF files, for any reason I am a not able to upload or save this type of files.
Steps to reproduce
Access as a registered user
Select the file I want to upload
Drag and drop to owncloud on the web browser
Expected behaviour
completed the upload and see the new file on my owncloud
Actual behaviour
Show a status bar saying: “a few seconds left”. the bar finishes the progress, file not uploaded.
Server configuration
Operating system:
**Web server: apache
**Database:My SQL
**PHP version: 7
**ownCloud version: 10.2.1
**Updated from an older ownCloud or fresh install: Fresh install
**Where did you install ownCloud from: owncloud.org. downloaded the uploaded to my server
it seems you have some integrity issue according to your gist, did you modify anything in the ownCloud core ? Could you go to the URL http://you_url/index.php/settings/admin?sectionid=general and look if you have any security error ?
Before you upload a file, I’d suggest you open the web browser console, then you do the upload, you might have some informations. Also, think about checking the logs and increasing verbosity.
Did you try with several PDF files ? One might be broken and maybe ownCloud doesn’t save it.
I went to settings links but, and this is what i see.
Also tried different PDF and with different user tried to upload and does not work, it’s always same behavior.
These are the files from invalid files also it’s weird because prior the default.php and user.php was not there and i haven’t modify anything:
Is there any specific file I need to to edit to increase verbosity?
I even tried to make a new installation for owncloud with nw data base, no modification on icons or anything, have no warning or security messages and even that way i can’t upload PDF file.
Has a solution been found for this? I am having the same issue. I found that I am able to upload only through the Desktop application but I am not able to upload from the IOS app or the website itself. This makes it difficult to use the program. My installation is a new manual installation from to a new subdomain.
owncloud.log in your data directory (if you haven’t changed that) would be a good start. Make sure to paste only the relevant parts with the failed upload. You can also have a look in your apache access and error logs, though I doubt there will be much.
Now I am not able to login with any user, I am receiving this message: You took too longin, please try again now.
{“reqId”:“fD1Ss0yGnEEnHpCIjw7B”,“level”:3,“time”:“2019-09-17T22:04:02+00:00”,“remoteAddr”:"",“user”:"–",“app”:“PHP”,“method”:"–",“url”:"–",“message”:"Undefined index: SERVER_PROTOCOL
Its 2023, fresh install of OwnCloud, cannot upload pdf. I can upload any other file. I can rename pdf to txt and upload, then rename on server and everything works fine to download or view.
it’s long since the last post but i don’t think that ownCloud has any special handling of .pdf files. Maybe the upload of files are blocked by some security measures on the web server level (e.g. an AV, …) or even on client side?