-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
WebGUI upload never completes #19433
Comments
As reported on forums, the issue is resolved by disabling the "Share Files 0.6.2" app |
@tsmr2015 thanks for the detailed information. Is the upload to a shared folder ? I guess it isn't since it works when disabling sharing. |
@tsmr2015 do you have the forum link, in case there is additional clues ? |
Also, does Webdav upload work ? Desktop or mobile client ? This could be an additional clue regarding the code paths. |
@PVince81 https://forum.owncloud.org/viewtopic.php?f=31&t=30707 There was also some older threads like: https://forum.owncloud.org/viewtopic.php?f=31&t=28179 but it seems no one has managed to report this here yet (as happens quite often 🙈 ) |
Okay, so bascially the file is uploaded properly but something is happening after writing the file and it returns an error instead. Unfortunately I don't see anything related in the log. |
@tsmr2015 can you open the network console during the upload, and when it's done, check the response from ajax/upload.php ? |
|
Hmmm right, I can't find the ticket about it any more. It seems that disabling "Allow apps to use the Share API" can cause trouble when the "Share files" app is still enabled. |
Hmm, I tried the following:
Getting this JS error after upload:
Let me have a look, hopefully a quick fix. |
Ah yes, this was fixed on master #17343 |
Backport PR is here, for 8.1: #19439 |
Fixed with 8.1.4 |
Steps to reproduce
Expected behaviour
The file is uploaded, progress bar completes and folder is refreshed.
Actual behaviour
When I upload a file, the transfer progress bar correctly reaches 100% however it never seems to complete. If I go to the "Admin" page or log out/in I get the JS warning about possible loss of data. Then I go back to the folder and the file was uploaded correctly.
Server configuration
Operating system: Debian 3.2.68-1+deb7u3
Web server: Apache/2.2.22 (Debian)
Database: MySQL
PHP version: 5.4.44-0+deb7u1
ownCloud version: ownCloud 8.1.3 (stable)
Updated from an older ownCloud or fresh install: fresh
List of activated apps:
Enabled:
Disabled:
The content of config/config.php:
'REDACTED', 'passwordsalt' => 'REDACTED', 'secret' => 'REDACTED', 'trusted_domains' => array ( 0 => 'REDACTED', ), 'datadirectory' => '/var/owncloud/data', 'overwrite.cli.url' => 'REDACTED', 'dbtype' => 'mysql', 'version' => '8.1.3.0', 'dbname' => 'REDACTED', 'dbhost' => 'REDACTED', 'dbtableprefix' => 'oc_', 'dbuser' => 'REDACTED', 'dbpassword' => 'REDACTED', 'logtimezone' => 'UTC', 'installed' => true, 'loglevel' => '0' ); **Are you using external storage, if yes which one:** local **Are you using encryption:** no **Are you using an external user-backend, if yes which one:** none ### Client configuration **Browser:** Waterfox 40.0.2 + Chrome 45.0.2454.101 m **Operating system:** Win7 ### Logs #### Web server error log no errors in server log #### ownCloud log (data/owncloud.log) ``` {"reqId":"ureveP7qRejsPC3Z3cM2","remoteAddr":"","app":"DeleteOrphanedSharesJob","message":"0 orphaned share(s) deleted","level":0,"time":"2015-09-29T08:30:01+00:00","method":"--","url":"--"} {"reqId":"2B4HPNNKlBMoXkdVfeNG","remoteAddr":"REDACTED","app":"core","message":"No update found at the ownCloud appstore for app 166055","level":1,"time":"2015-09-29T08:34:14+00:00","method":"GET","url":"\/index.php\/settings\/apps\/list?category=0&includeUpdateInfo=1"} {"reqId":"2B4HPNNKlBMoXkdVfeNG","remoteAddr":"REDACTED","app":"core","message":"No update found at the ownCloud appstore for app 166051","level":1,"time":"2015-09-29T08:34:14+00:00","method":"GET","url":"\/index.php\/settings\/apps\/list?category=0&includeUpdateInfo=1"} {"reqId":"2B4HPNNKlBMoXkdVfeNG","remoteAddr":"REDACTED","app":"core","message":"No update found at the ownCloud appstore for app 166049","level":1,"time":"2015-09-29T08:34:15+00:00","method":"GET","url":"\/index.php\/settings\/apps\/list?category=0&includeUpdateInfo=1"} {"reqId":"RpT7Y27Seh5qRDJ8ONLJ","remoteAddr":"REDACTED","app":"core","message":"No update found at the ownCloud appstore for app 166055","level":1,"time":"2015-09-29T08:35:21+00:00","method":"GET","url":"\/index.php\/settings\/apps\/list?category=0&includeUpdateInfo=1"} {"reqId":"RpT7Y27Seh5qRDJ8ONLJ","remoteAddr":"REDACTED","app":"core","message":"No update found at the ownCloud appstore for app 166051","level":1,"time":"2015-09-29T08:35:21+00:00","method":"GET","url":"\/index.php\/settings\/apps\/list?category=0&includeUpdateInfo=1"} {"reqId":"RpT7Y27Seh5qRDJ8ONLJ","remoteAddr":"REDACTED","app":"core","message":"No update found at the ownCloud appstore for app 166049","level":1,"time":"2015-09-29T08:35:21+00:00","method":"GET","url":"\/index.php\/settings\/apps\/list?category=0&includeUpdateInfo=1"} {"reqId":"I2qoG+dfOHVIs9nVZRA7","remoteAddr":"REDACTED","app":"core","message":"No update found at the ownCloud appstore for app 166055","level":1,"time":"2015-09-29T08:35:29+00:00","method":"GET","url":"\/index.php\/settings\/apps\/list?category=1&includeUpdateInfo=1"} {"reqId":"I2qoG+dfOHVIs9nVZRA7","remoteAddr":"REDACTED","app":"core","message":"No update found at the ownCloud appstore for app 166051","level":1,"time":"2015-09-29T08:35:29+00:00","method":"GET","url":"\/index.php\/settings\/apps\/list?category=1&includeUpdateInfo=1"} {"reqId":"I2qoG+dfOHVIs9nVZRA7","remoteAddr":"REDACTED","app":"core","message":"No update found at the ownCloud appstore for app 166049","level":1,"time":"2015-09-29T08:35:29+00:00","method":"GET","url":"\/index.php\/settings\/apps\/list?category=1&includeUpdateInfo=1"} {"reqId":"Xc2hGxOvSa0qAjDOQmsR","remoteAddr":"REDACTED","app":"caldav","message":"Exception: {\"Message\":\"HTTP\\\/1.1 401 No basic authentication headers were found\",\"Code\":0,\"Trace\":\"#0 \\\/www\\\/REDACTED\\\/lib\\\/private\\\/connector\\\/sabre\\\/auth.php(149): Sabre\\\\DAV\\\\Auth\\\\Backend\\\\AbstractBasic->authenticate(Object(Sabre\\\\DAV\\\\Server), 'ownCloud')\\n #1 \\\/www\\\/REDACTED\\\/lib\\\/private\\\/connector\\\/sabre\\\/auth.php(122): OC\\\\Connector\\\\Sabre\\\\Auth->auth(Object(Sabre\\\\DAV\\\\Server), 'ownCloud')\\n #2 \\\/www\\\/REDACTED\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Auth\\\/Plugin.php(118): OC\\\\Connector\\\\Sabre\\\\Auth->authenticate(Object(Sabre\\\\DAV\\\\Server), 'ownCloud')\\n #3 [internal function]: Sabre\\\\DAV\\\\Auth\\\\Plugin->beforeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n #4 \\\/www\\\/REDACTED\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n #5 \\\/www\\\/REDACTED\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(456): Sabre\\\\Event\\\\EventEmitter->emit('beforeMethod', Array)\\n #6 \\\/www\\\/REDACTED\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n #7 \\\/www\\\/REDACTED\\\/apps\\\/calendar\\\/appinfo\\\/remote.php(57): Sabre\\\\DAV\\\\Server->exec()\\n #8 \\\/www\\\/REDACTED\\\/remote.php(132): require_once('\\\/www\\\/REDACTED...')\\n #9 {main}\",\"File\":\"\\\/www\\\/REDACTED\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Auth\\\/Backend\\\/AbstractBasic.php\",\"Line\":70}","level":0,"time":"2015-09-29T08:44:34+00:00","method":"OPTIONS","url":"\/remote.php\/caldav\/principals\/REDACTED\/"} {"reqId":"oCGhC1lcNxRJn+XOLuMk","remoteAddr":"REDACTED","app":"caldav","message":"Exception: {\"Message\":\"HTTP\\\/1.1 401 No basic authentication headers were found\",\"Code\":0,\"Trace\":\"#0 \\\/www\\\/REDACTED\\\/lib\\\/private\\\/connector\\\/sabre\\\/auth.php(149): Sabre\\\\DAV\\\\Auth\\\\Backend\\\\AbstractBasic->authenticate(Object(Sabre\\\\DAV\\\\Server), 'ownCloud')\\n #1 \\\/www\\\/REDACTED\\\/lib\\\/private\\\/connector\\\/sabre\\\/auth.php(122): OC\\\\Connector\\\\Sabre\\\\Auth->auth(Object(Sabre\\\\DAV\\\\Server), 'ownCloud')\\n #2 \\\/www\\\/REDACTED\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Auth\\\/Plugin.php(118): OC\\\\Connector\\\\Sabre\\\\Auth->authenticate(Object(Sabre\\\\DAV\\\\Server), 'ownCloud')\\n #3 [internal function]: Sabre\\\\DAV\\\\Auth\\\\Plugin->beforeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n #4 \\\/www\\\/REDACTED\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n #5 \\\/www\\\/REDACTED\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(456): Sabre\\\\Event\\\\EventEmitter->emit('beforeMethod', Array)\\n #6 \\\/www\\\/REDACTED\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n #7 \\\/www\\\/REDACTED\\\/apps\\\/calendar\\\/appinfo\\\/remote.php(57): Sabre\\\\DAV\\\\Server->exec()\\n #8 \\\/www\\\/REDACTED\\\/remote.php(132): require_once('\\\/www\\\/REDACTED...')\\n #9 {main}\",\"File\":\"\\\/www\\\/REDACTED\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Auth\\\/Backend\\\/AbstractBasic.php\",\"Line\":70}","level":0,"time":"2015-09-29T08:44:35+00:00","method":"PROPFIND","url":"\/remote.php\/caldav\/calendars\/REDACTED\/"} {"reqId":"opOyUUSJWFlKJscYmBfP","remoteAddr":"","app":"DeleteOrphanedSharesJob","message":"0 orphaned share(s) deleted","level":0,"time":"2015-09-29T08:45:02+00:00","method":"--","url":"--"} ```The text was updated successfully, but these errors were encountered: