{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/13967","labels_url":"https://api.github.com/repos/owncloud/core/issues/13967/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/13967/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/13967/events","html_url":"https://github.com/owncloud/core/issues/13967","id":56962558,"number":13967,"title":"Can't sync files with special chars (ç, õ, á, etc)to WinServer2008 shared folders.","user":{"login":"adrianoafonso","id":9325636,"avatar_url":"https://avatars.githubusercontent.com/u/9325636?v=3","gravatar_id":"","url":"https://api.github.com/users/adrianoafonso","html_url":"https://github.com/adrianoafonso","followers_url":"https://api.github.com/users/adrianoafonso/followers","following_url":"https://api.github.com/users/adrianoafonso/following{/other_user}","gists_url":"https://api.github.com/users/adrianoafonso/gists{/gist_id}","starred_url":"https://api.github.com/users/adrianoafonso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrianoafonso/subscriptions","organizations_url":"https://api.github.com/users/adrianoafonso/orgs","repos_url":"https://api.github.com/users/adrianoafonso/repos","events_url":"https://api.github.com/users/adrianoafonso/events{/privacy}","received_events_url":"https://api.github.com/users/adrianoafonso/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/app:files_external","name":"app:files_external","color":"02d7e1"},{"url":"https://api.github.com/repos/owncloud/core/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/58","html_url":"https://github.com/owncloud/core/milestones/8.2.1","labels_url":"https://api.github.com/repos/owncloud/core/milestones/58/labels","id":1300157,"number":58,"title":"8.2.1","description":"","creator":{"login":"cmonteroluque","id":879976,"avatar_url":"https://avatars.githubusercontent.com/u/879976?v=3","gravatar_id":"","url":"https://api.github.com/users/cmonteroluque","html_url":"https://github.com/cmonteroluque","followers_url":"https://api.github.com/users/cmonteroluque/followers","following_url":"https://api.github.com/users/cmonteroluque/following{/other_user}","gists_url":"https://api.github.com/users/cmonteroluque/gists{/gist_id}","starred_url":"https://api.github.com/users/cmonteroluque/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmonteroluque/subscriptions","organizations_url":"https://api.github.com/users/cmonteroluque/orgs","repos_url":"https://api.github.com/users/cmonteroluque/repos","events_url":"https://api.github.com/users/cmonteroluque/events{/privacy}","received_events_url":"https://api.github.com/users/cmonteroluque/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":92,"state":"closed","created_at":"2015-09-10T21:50:07Z","updated_at":"2015-11-19T08:30:25Z","due_on":"2015-11-17T04:00:00Z","closed_at":"2015-11-19T08:30:25Z"},"comments":30,"created_at":"2015-02-08T18:52:27Z","updated_at":"2016-01-07T13:40:12Z","closed_at":"2015-11-10T15:47:34Z","body":"### Steps to reproduce\r\n1. Install owncloud client on any windows machine\r\n2. Connect user accounts to their WinServer2008 shared folders trough Personal > External Storage > SMB/CIFS\r\n3. Initiate sync\r\n\r\nI found some workarounds for this problem over the web, I tried many of them but whit no results. The upgrade from PHP 5.4. to 5.6 at least gave me a different error has you can see.\r\nOne new thing that happens sometimes now and is not listed is that the file is uploaded to the share in windows server, I see a part (testão321442.part.txt), but owncloud can't rename it.\r\n\r\n### Expected behaviour\r\nSync all the files\r\n\r\n### Actual behaviour\r\nAll the files that doesn't have special chars are synced, the others fail.\r\nFolders whit especial char are synced (strange).\r\n\r\n### Server configuration\r\n**Operating system**:\r\n```\r\nDebian 3.2.65-1+deb7u1 i686\r\n```\r\n**Web server:**\r\n```\r\nServer version: Apache/2.2.22 (Debian)\r\nServer built:   Dec 27 2014 21:24:33\r\nServer's Module Magic Number: 20051115:30\r\n```\r\n**Database:**\r\n```\r\npsql (PostgreSQL) 9.1.15\r\n```\r\n**PHP version:**\r\n```\r\n** *From PHP 5.4. > 5.5 > 5.6* **\r\nPHP 5.6.5-1~dotdeb.1 (cli) (built: Jan 28 2015 06:02:53)\r\nCopyright (c) 1997-2014 The PHP Group\r\nZend Engine v2.6.0, Copyright (c) 1998-2014 Zend Technologies\r\n    with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2014, by Zend Technologies\r\n```\r\n**ownCloud version:** (see ownCloud admin page)\r\n```\r\nownCloud 7.0.4 (stable)\r\n```\r\n**Updated from an older ownCloud or fresh install:**\r\nFresh install\r\n\r\n**List of activated apps:**\r\nActivity\r\nCalendar\r\nContacts\r\nDeleted Files\r\nDocuments\r\nExternal storage support\r\nFirst run wizard\r\nFull text Search\r\nMail template editor\r\nPDF Viewer\r\nPictures\r\nShare files\r\nText editor\r\nUpdater\r\nVersions\r\nVideo Viewer\r\n\r\n\r\n**The content of config/config.php:**\r\n```\r\n$CONFIG = array (\r\n  'instanceid' => 'oc2247f578c9',\r\n  'passwordsalt' => '981d69dabfa747be9cdeadb6616299',\r\n  'trusted_domains' =>\r\n  array (\r\n    0 => '192.168.1.25',\r\n    1 => 'futurcabo.no-ip.info',\r\n    2 => 'cloud.futurcabo.pt',\r\n  ),\r\n  'datadirectory' => '/var/www/owncloud/data',\r\n  'overwritewebroot' => '/owncloud',\r\n  'overwrite.cli.url' => 'http://192.168.1.25/owncloud',\r\n  'dbtype' => 'pgsql',\r\n  'version' => '7.0.4.2',\r\n  'dbname' => 'owncloud_db',\r\n  'dbhost' => 'localhost',\r\n  'dbtableprefix' => 'oc_',\r\n  'dbuser' => 'admin_user_here',\r\n'dbpassword' => 'password_here',\r\n  'installed' => true,\r\n  'loglevel' => '1',\r\n  'theme' => '',\r\n  'maintenance' => false,\r\n  'secret' => 'secret_here',\r\n  'mail_smtpmode' => 'smtp',\r\n  'mail_from_address' => 'owncloud',\r\n  'mail_domain' => '',\r\n  'mail_smtpauthtype' => 'LOGIN',\r\n  'mail_smtpauth' => 1,\r\n  'mail_smtphost' => '',\r\n  'mail_smtpport' => '25',\r\n  'mail_smtpname' => '',\r\n  'mail_smtppassword' => '',\r\n);\r\n```\r\n\r\n\r\n**Are you using external storage, if yes which one:** local/smb/sftp/...\r\nYes, as I said, SMB/CIFS to a WinServer\r\n\r\n**Are you using encryption:** yes/no\r\nNo\r\n\r\n### Client configuration\r\n**Browser:**\r\n\r\n**Operating system:**\r\nWindows Vista (Home and Business) and 7 Professional\r\n\r\n### Logs\r\n#### Web server error log\r\n```\r\n18:47     desktop.ini                                                     mydocuments    File is listed on the ignore list.                   \r\n18:47     Futurcabo/adrianoafonso/testão.txt                              mydocuments    Error downloading http://10.0.0.25:81/owncloud/remote.php/webdav/Futurcabo/adrianoafonso/testão.txt - server replied: Bad request (expected filesize 7 got 0</s:message>\r\n  <s:sabredav-version>1.8.10</s:sabredav-version>\r\n</d:error>\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<d:error xmlns:d=\"DAV:\" xmlns:s=\"http://sabredav.org/ns\">\r\n  <s:exception>Sabre\\DAV\\Exception\\BadRequest</s:exception>\r\n  <s:message>expected filesize 7 got 0)          \r\n```\r\n\r\n#### ownCloud log (data/owncloud.log)\r\n*Before PHP update*\r\n```\r\nFatal\twebdav\tSabre\\DAV\\Exception\\BadRequest: expected filesize 115777 got 0\t2015-01-26T11:32:55+00:00\r\nError\tPHP\tstat(): stat failed for smb://xxx:xxx@192.168.1.50/Data/User/UserFolder/Controlo+RH%2FPagina+CCO%2FCCO%2FCCO%2FEscala+Actual%2FLinks%2Fzontec%2FZONtec+SP+N%C2%BA96.pdf.ocTransferId844108911.part at /var/www/owncloud/apps/files_external/lib/smb.php#73\t2015-01-26T11:32:55+00:00\r\nError\tPHP\turl_stat(): path 'User\\UserFolder\\Controlo RH\\Pagina CCO\\CCO\\CCO\\Escala Actual\\Links\\zontec\\ZONtec SP Nº96.pdf.ocTransferId844108911.part' not found at /var/www/owncloud/apps/files_external/3rdparty/smb4php/smb.php#260\t2015-01-26T11:32:55+00:00\r\nFatal\twebdav\tSabre\\DAV\\Exception\\BadRequest: expected filesize 98304 got 0\t2015-01-26T11:32:53+00:00\r\nFatal\twebdav\tSabre\\DAV\\Exception\\BadRequest: expected filesize 2071456 got 0\t2015-01-26T11:32:53+00:00\r\nError\tPHP\tstat(): stat failed for smb://xxx:xxx@192.168.1.50/Data/User/UserFolder/Controlo+RH%2FPagina+CCO%2FCCO%2FCCO%2FEscala+Actual%2FLinks%2Fzontec%2FZONtec+SP+N%C2%BA95.pdf.ocTransferId1791853924.part at /var/www/owncloud/apps/files_external/lib/smb.php#73\t2015-01-26T11:32:52+00:00\r\nError\tPHP\turl_stat(): path 'User\\UserFolder\\Controlo RH\\Pagina CCO\\CCO\\CCO\\Escala Actual\\Links\\zontec\\ZONtec SP Nº95.pdf.ocTransferId1791853924.part' not found at /var/www/owncloud/apps/files_external/3rdparty/smb4php/smb.php#260\t2015-01-26T11:32:52+00:00\r\nError\tPHP\tstat(): stat failed for smb://xxx:xxx@192.168.1.50/Data/User/UserFolder/Controlo+RH%2FPagina+CCO%2FCCO%2FCCO%2FEscala+Actual%2FLinks%2Fzontec%2FZONtec+SP+N%C2%BA94.pdf.ocTransferId501973698.part at /var/www/owncloud/apps/files_external/lib/smb.php#73\t2015-01-26T11:32:52+00:00\r\nError\tPHP\turl_stat(): path 'User\\UserFolder\\Controlo RH\\Pagina CCO\\CCO\\CCO\\Escala Actual\\Links\\zontec\\ZONtec SP Nº94.pdf.ocTransferId501973698.part' not found at /var/www/owncloud/apps/files_external/3rdparty/smb4php/smb.php#260\t2015-01-26T11:32:52+00:00\r\nFatal\twebdav\tSabre\\DAV\\Exception\\BadRequest: expected filesize 268934 got 0\t2015-01-26T11:32:50+00:00\r\nError\tPHP\tstat(): stat failed for smb://xxx:xxx@192.168.1.50/Data/User/UserFolder/Controlo+RH%2FPagina+CCO%2FCCO%2FCCO%2FEscala+Actual%2FLinks%2Fzontec%2FZONtec+SP+N%C2%BA93.pdf.ocTransferId2020864996.part at /var/www/owncloud/apps/files_external/lib/smb.php#73\t2015-01-26T11:32:50+00:00\r\nError\tPHP\turl_stat(): path 'User\\UserFolder\\Controlo RH\\Pagina CCO\\CCO\\CCO\\Escala Actual\\Links\\zontec\\ZONtec SP Nº93.pdf.ocTransferId2020864996.part' not found at /var/www/owncloud/apps/files_external/3rdparty/smb4php/smb.php#260\t2015-01-26T11:32:50+00:00\r\nFatal\twebdav\tSabre\\DAV\\Exception\\BadRequest: expected filesize 65027 got 0\t2015-01-26T11:32:48+00:00\r\nError\tPHP\tstat(): stat failed for smb://xxx:xxx@192.168.1.50/Data/User/UserFolder/Controlo+RH%2FPagina+CCO%2FCCO%2FCCO%2FEscala+Actual%2FLinks%2Fzontec%2FZONtec+SP+N%C2%BA92.pdf.ocTransferId820633077.part at /var/www/owncloud/apps/files_external/lib/smb.php#73\t2015-01-26T11:32:47+00:00\r\nError\tPHP\turl_stat(): path 'User\\UserFolder\\Controlo RH\\Pagina CCO\\CCO\\CCO\\Escala Actual\\Links\\zontec\\ZONtec SP Nº92.pdf.ocTransferId820633077.part' not found at /var/www/owncloud/apps/files_external/3rdparty/smb4php/smb.php#260\t2015-01-26T11:32:47+00:00\r\nFatal\twebdav\tSabre\\DAV\\Exception\\BadRequest: expected filesize 127322 got 0\t2015-01-26T11:32:47+00:00\r\nError\tPHP\tstat(): stat failed for smb://xxx:xxx@192.168.1.50/Data/User/UserFolder/Controlo+RH%2FPagina+CCO%2FCCO%2FCCO%2FEscala+Actual%2FLinks%2Fzontec%2FZONtec+SP+N%C2%BA91.pdf.ocTransferId177056494.part at /var/www/owncloud/apps/files_external/lib/smb.php#73\t2015-01-26T11:32:46+00:00\r\nError\tPHP\turl_stat(): path 'User\\UserFolder\\Controlo RH\\Pagina CCO\\CCO\\CCO\\Escala Actual\\Links\\zontec\\ZONtec SP Nº91.pdf.ocTransferId177056494.part' not found at /var/www/owncloud/apps/files_external/3rdparty/smb4php/smb.php#260\t2015-01-26T11:32:46+00:00\r\nFatal\twebdav\tSabre\\DAV\\Exception\\BadRequest: expected filesize 64056 got 0\t2015-01-26T11:32:45+00:00\r\nError\tPHP\tstat(): stat failed for smb://xxx:xxx@192.168.1.50/Data/User/UserFolder/Controlo+RH%2FPagina+CCO%2FCCO%2FCCO%2FEscala+Actual%2FLinks%2Fzontec%2FZONtec+SP+N%C2%BA90.pdf.ocTransferId1948191395.part at /var/www/owncloud/apps/files_external/lib/smb.php#73\t2015-01-26T11:32:45+00:00\r\nError\tPHP\turl_stat(): path 'User\\UserFolder\\Controlo RH\\Pagina CCO\\CCO\\CCO\\Escala Actual\\Links\\zontec\\ZONtec SP Nº90.pdf.ocTransferId1948191395.part' not found at /var/www/owncloud/apps/files_external/3rdparty/smb4php/smb.php#260\t2015-01-26T11:32:45+00:00\r\nFatal\twebdav\tSabre\\DAV\\Exception\\BadRequest: expected filesize 210550 got 0\t2015-01-26T11:32:43+00:00\r\nError\tPHP\tstat(): stat failed for smb://xxx:xxx@192.168.1.50/Data/User/UserFolder/Controlo+RH%2FPagina+CCO%2FCCO%2FCCO%2FEscala+Actual%2FLinks%2Fzontec%2FZONtec+SP+N%C2%BA89.pdf.ocTransferId106517455.part at /var/www/owncloud/apps/files_external/lib/smb.php#73\t2015-01-26T11:32:43+00:00\r\nError\tPHP\turl_stat(): path 'User\\UserFolder\\Controlo RH\\Pagina CCO\\CCO\\CCO\\Escala Actual\\Links\\zontec\\ZONtec SP Nº89.pdf.ocTransferId106517455.part' not found at /var/www/owncloud/apps/files_external/3rdparty/smb4php/smb.php#260\t2015-01-26T11:32:43+00:00\r\nFatal\twebdav\tSabre\\DAV\\Exception\\BadRequest: expected filesize 247469 got 0\t2015-01-26T11:32:42+00:00\r\nError\tPHP\tstat(): stat failed for smb://xxx:xxx@192.168.1.50/Data/User/UserFolder/Controlo+RH%2FPagina+CCO%2FCCO%2FCCO%2FEscala+Actual%2FLinks%2Fzontec%2FZONtec+SP+N%C2%BA88.pdf.ocTransferId1635338035.part at /var/www/owncloud/apps/files_external/lib/smb.php#73\t2015-01-26T11:32:42+00:00\r\nError\tPHP\turl_stat(): path 'User\\UserFolder\\Controlo RH\\Pagina CCO\\CCO\\CCO\\Escala Actual\\Links\\zontec\\ZONtec SP Nº88.pdf.ocTransferId1635338035.part' not found at /var/www/owncloud/apps/files_external/3rdparty/smb4php/smb.php#260\t2015-01-26T11:32:42+00:00\r\nFatal\twebdav\tSabre\\DAV\\Exception\\BadRequest: expected filesize 64588 got 0\t2015-01-26T11:32:40+00:00\r\nError\tPHP\tstat(): stat failed for smb://xxx:xxx@192.168.1.50/Data/User/UserFolder/Controlo+RH%2FPagina+CCO%2FCCO%2FCCO%2FEscala+Actual%2FLinks%2Fzontec%2FZONtec+SP+N%C2%BA87.pdf.ocTransferId1795797276.part at /var/www/owncloud/apps/files_external/lib/smb.php#73\t2015-01-26T11:32:40+00:00\r\n```\r\n\r\n\r\n*After the update to PHP 5.6 and a test file* \r\n```\r\nFatal \twebdav \tSabre\\DAV\\Exception\\Forbidden: \t2015-02-07T20:32:57+00:00\r\nError \tPHP \turl_stat(): path 'Utilizadores\\adrianoafonso\\testecão.txt.ocTransferId543903658.part' not found at /var/www/owncloud/apps/files_external/3rdparty/smb4php/smb.php#260 \t2015-02-07T20:32:57+00:00\r\nFatal \twebdav \tSabre\\DAV\\Exception\\Forbidden: \t2015-02-07T20:32:54+00:00\r\nError\tPHP\turl_stat(): path 'Utilizadores\\adrianoafonso\\testecão.txt.ocTransferId543903658.part' not found at /var/www/owncloud/apps/files_external/3rdparty/smb4php/smb.php#260\t2015-02-07T20:32:54+00:00\r\nError\tPHP\turl_stat(): path 'Utilizadores\\adrianoafonso\\testecão.txt.ocTransferId543903658.part' not found at /var/www/owncloud/apps/files_external/3rdparty/smb4php/smb.php#260\t2015-02-07T20:32:54+00:00\r\nError\tPHP\turl_stat(): path 'Utilizadores\\adrianoafonso\\testecão.txt.ocTransferId543903658.part' not found at /var/www/owncloud/apps/files_external/3rdparty/smb4php/smb.php#260\t2015-02-07T20:32:20+00:00\r\nError\tPHP\turl_stat(): path 'Utilizadores\\adrianoafonso\\testecão.txt.ocTransferId543903658.part' not found at /var/www/owncloud/apps/files_external/3rdparty/smb4php/smb.php#260\t2015-02-07T20:32:19+00:00\r\nError\tPHP\turl_stat(): path 'Utilizadores\\adrianoafonso\\testecão.txt.ocTransferId543903658.part' not found at /var/www/owncloud/apps/files_external/3rdparty/smb4php/smb.php#260\t2015-02-07T20:32:16+00:00\r\nFatal\twebdav\tSabre\\DAV\\Exception: Could not rename part file to final file\t2015-02-07T20:32:15+00:00\r\nError\twebdav\t\\OC\\Files\\Filesystem::rename() failed\t2015-02-07T20:32:15+00:00\r\nError\tPHP\turl_stat(): path 'Utilizadores\\adrianoafonso\\testecão.txt.ocTransferId543903658.part' not found at /var/www/owncloud/apps/files_external/3rdparty/smb4php/smb.php#260\t2015-02-07T20:32:15+00:00\r\nError\tPHP\tstat(): stat failed for smb://xxx:xxx@192.168.1.50/Dados/Utilizadores/adrianoafonso/testec%C3%A3o.txt.ocTransferId543903658.part.ocTransferId240512749.part at /var/www/owncloud/apps/files_external/lib/smb.php#73\t2015-02-07T20:32:14+00:00\r\nError\tPHP\turl_stat(): path 'Utilizadores\\adrianoafonso\\testecão.txt.ocTransferId543903658.part.ocTransferId240512749.part' not found at /var/www/owncloud/apps/files_external/3rdparty/smb4php/smb.php#260\t2015-02-07T20:32:14+00:00\r\nError\tPHP\tfopen(smb://...@192.168.1.50/Dados/Utilizadores/adrianoafonso/testec%C3%A3o.txt.ocTransferId543903658.part): failed to open stream: &quot;smb_stream_wrapper::stream_open&quot; call failed at /var/www/owncloud/apps/files_external/lib/streamwrapper.php#64\t2015-02-07T20:32:04+00:00\r\nFatal\twebdav\tSabre\\DAV\\Exception\\Forbidden: \t2015-02-07T20:25:16+00:00\r\nError\tPHP\turl_stat(): path 'Utilizadores\\adrianoafonso\\testecão.txt.ocTransferId1119691426.part' not found at /var/www/owncloud/apps/files_external/3rdparty/smb4php/smb.php#260\t2015-02-07T20:25:16+00:00\r\nFatal\twebdav\tSabre\\DAV\\Exception\\Forbidden: \t2015-02-07T20:25:12+00:00\r\nError\tPHP\turl_stat(): path 'Utilizadores\\adrianoafonso\\testecão.txt.ocTransferId1119691426.part' not found at /var/www/owncloud/apps/files_external/3rdparty/smb4php/smb.php#260\t2015-02-07T20:25:12+00:00\r\nError\tPHP\turl_stat(): path 'Utilizadores\\adrianoafonso\\testecão.txt.ocTransferId1119691426.part' not found at /var/www/owncloud/apps/files_external/3rdparty/smb4php/smb.php#260\t2015-02-07T20:25:12+00:00\r\nError\tPHP\turl_stat(): path 'Utilizadores\\adrianoafonso\\testecão.txt.ocTransferId1119691426.part' not found at /var/www/owncloud/apps/files_external/3rdparty/smb4php/smb.php#260\t2015-02-07T20:25:08+00:00\r\nError\tPHP\turl_stat(): path 'Utilizadores\\adrianoafonso\\testecão.txt.ocTransferId1119691426.part' not found at /var/www/owncloud/apps/files_external/3rdparty/smb4php/smb.php#260\t2015-02-07T20:25:08+00:00\r\nError\tPHP\turl_stat(): path 'Utilizadores\\adrianoafonso\\testecão.txt.ocTransferId1119691426.part' not found at /var/www/owncloud/apps/files_external/3rdparty/smb4php/smb.php#260\t2015-02-07T20:25:06+00:00\r\nFatal\twebdav\tSabre\\DAV\\Exception: Could not rename part file to final file\t2015-02-07T20:25:05+00:00\r\nError\twebdav\t\\OC\\Files\\Filesystem::rename() failed\t2015-02-07T20:25:05+00:00\r\nError\tPHP\turl_stat(): path 'Utilizadores\\adrianoafonso\\testecão.txt.ocTransferId1119691426.part' not found at /var/www/owncloud/apps/files_external/3rdparty/smb4php/smb.php#260\t2015-02-07T20:25:05+00:00\r\nError\tPHP\tstat(): stat failed for smb://xxx:xxx@192.168.1.50/Dados/Utilizadores/adrianoafonso/testec%C3%A3o.txt.ocTransferId1119691426.part.ocTransferId1785725999.part at /var/www/owncloud/apps/files_external/lib/smb.php#73\t2015-02-07T20:25:05+00:00\r\nError\tPHP\turl_stat(): path 'Utilizadores\\adrianoafonso\\testecão.txt.ocTransferId1119691426.part.ocTransferId1785725999.part' not found at /var/www/owncloud/apps/files_external/3rdparty/smb4php/smb.php#260\t2015-02-07T20:25:05+00:00\r\nError\tPHP\tfopen(smb://...@192.168.1.50/Dados/Utilizadores/adrianoafonso/testec%C3%A3o.txt.ocTransferId1119691426.part): failed to open stream: &quot;smb_stream_wrapper::stream_open&quot; call failed at /var/www/owncloud/apps/files_external/lib/streamwrapper.php#64\t2015-02-07T20:25:01+00:00\r\nInfo\tfiles_external\tchecking path /var/www/owncloud/data/adriano.afonso/files_external/uploads/\t2015-02-07T19:19:47+00:00\r\nFatal\tremote\tSQLSTATE[08006] [7] could not connect to server: Connection refused Is the server running on host \"localhost\" (::1) and accepting TCP/IP connections on port 5432? could not connect to server: Connection refused Is the server running on host \"localhost\" (127.0.0.1) and accepting TCP/IP connections on port 5432?\t2015-02-07T19:00:41+00:00\r\nFatal\tremote\tSQLSTATE[08006] [7] could not connect to server: Connection refused Is the server running on host \"localhost\" (::1) and accepting TCP/IP connections on port 5432? could not connect to server: Connection refused Is the server running on host \"localhost\" (127.0.0.1) and accepting TCP/IP connections on port 5432?\t2015-02-07T19:00:39+00:00\r\nInfo\tfiles_external\tchecking path /var/www/owncloud/data/adriano.afonso/files_external/uploads/\t2015-02-07T15:02:37+00:00\r\nError\tPHP\tstat(): stat failed for smb://xxx:xxx@192.168.1.50/Dados/Utilizadores/adrianoafonso/teste_a++xSeries336 at /var/www/owncloud/apps/files_external/lib/smb.php#73\r\n```\r\n\r\n#### Browser log\r\n```\r\nInsert your browser log here, this could for example include:\r\n\r\na) The javascript console log\r\nb) The network log \r\nc) ...\r\n```"},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/169666747","html_url":"https://github.com/owncloud/core/issues/13967#issuecomment-169666747","issue_url":"https://api.github.com/repos/owncloud/core/issues/13967","id":169666747,"user":{"login":"PVince81","id":277525,"avatar_url":"https://avatars.githubusercontent.com/u/277525?v=3","gravatar_id":"","url":"https://api.github.com/users/PVince81","html_url":"https://github.com/PVince81","followers_url":"https://api.github.com/users/PVince81/followers","following_url":"https://api.github.com/users/PVince81/following{/other_user}","gists_url":"https://api.github.com/users/PVince81/gists{/gist_id}","starred_url":"https://api.github.com/users/PVince81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PVince81/subscriptions","organizations_url":"https://api.github.com/users/PVince81/orgs","repos_url":"https://api.github.com/users/PVince81/repos","events_url":"https://api.github.com/users/PVince81/events{/privacy}","received_events_url":"https://api.github.com/users/PVince81/received_events","type":"User","site_admin":false},"created_at":"2016-01-07T13:40:12Z","updated_at":"2016-01-07T13:40:12Z","body":"@anduz if the files already there have the Mac UTF-8 encoding then this is https://github.com/owncloud/core/issues/21365\r\nThere is a workaround where you mount the SMB share directly under linux, then run `convmv -r -f utf8 -t utf8 --nfc foldername` to rename the file names to NFC encoding. This command will only telly you if that's the case. If you want to actually repair them, you need to add `--notest` to the command."}}