-
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
Can't sync files with special chars (ç, õ, á, etc)to WinServer2008 shared folders. #13967
Comments
Could be related to: #10625 or one of the linked issues in this comment here: #10625 (comment) |
Owncloud 8.0.2Just updated to OC 8.0.2, the problem continues. Client Log
ownCloud log (data/owncloud.log)
|
@icewind1991 can you please add unit tests for these characters? TH |
I'm also having issues with a foldername containing the german umlaut character ä. |
Please have a try with 8.1.3 which contains an updated SMB library that uses a different approach. |
i've installed it, but external storage now doesn't work anymore and an
|
@icewind1991 any idea about this "Invalid request" message ? |
Not without knowing the exact class of the exception |
So what shoud I do? 2015-10-19 16:44 GMT+02:00 Robin Appelman [email protected]:
|
I've tried the upgrade again using apt-get update, apt-get upgrade, apt-get Fatal webdav Exception: {"Message":"Invalid request for |
Debug OC\Files\Cache\Scanner !!! Path '' is not accessible or present !!! 2015-10-21 9:20 GMT+02:00 Andreas Pircher [email protected]:
|
@adrianoafonso did you have any more luck with 8.1.3 ? @icewind1991 any hint how to get the class of the exception for @anduz ? Adding more logging statements maybe ? |
@anduz this file name looks strange "/owncloud/andreas/ABD Airport (Junction)/A/Aeroporto di Bolzano-Originale-CD/Sottoquadri/Q. wc". Do you have a file called "Q. wc" in that folder ? Or is this a sign and perhaps a clue for a possible bug ? |
Q. wc is a folder
|
Are you using DFS? |
If you're using DFS it could be this known issue: #18398 |
I don't think so. I'm using a share on a sbs2008
|
I've tested the behaviour of files with special characters using 8.2.1rc1 tarball using postgresql, syncing using the os x client 2.0.0 with a folder mounted from a windows server 2008 rc2 using external storage app (SMB/CIFS). No problems found. |
@anduz the SMB library has two modes, one using the old "smbclient" as fallback. That does not work with DFS. Looking at the stack trace it looks like that is what is happening. The regular mode for the SMB library is to use libsmbclient and its php5 binding. So it looks like your system might be missing that library. Did you install using the packages from https://download.owncloud.org/download/repositories/stable/owncloud/ or did you use the tarball ? |
closing. Please re-open if this doesn't work. |
Can't try it right now. Will try as soon as possible.
|
@kawohl can you add php5-libsmbclient to our ce:8.2 projects please? apparently also needed for community... |
submitted and building... |
I've now upgraded to 8.1.5 an then to 8.2.2 using apt-get. ErrorindexException: /var/www/owncloud/lib/private/appframework/http/dispatcher.php(159): /var/www/owncloud/lib/private/route/router.php(291): 2015-11-16 14:59 GMT+01:00 Jonathan Kawohl [email protected]:
|
installed php5-libsmbclient with: echo 'deb now getting: ErrorPHPPHP Startup: Unable to load dynamic library /var/www/owncloud/lib/private/appframework/http/dispatcher.php(159): /var/www/owncloud/lib/private/route/router.php(291): 2015-12-30 8:51 GMT+01:00 Andreas Pircher [email protected]:
|
I've tried using the external files in the ova appliance (owncloud 8.2.2) 2015-12-30 9:14 GMT+01:00 Andreas Pircher [email protected]:
|
@anduz are these files already on the external storage and ownCloud does not see them ? (NotFoundException) Have these files been uploaded from a Mac directly to the remote share ? If yes, then it might be the NFC vs NFD encoding issue: #21365 Are you able to upload new files with special chars through ownCloud to the SMB storage ? |
the files are already there. also some other files are not show, maybe 2016-01-07 11:18 GMT+01:00 Vincent Petry [email protected]:
|
@anduz if the files already there have the Mac UTF-8 encoding then this is #21365 |
As it seems this command works only for files, so the problem with root@debian:/testu/owncloud/andreas/Moelten (Junction)/D# ls 2016-01-07 14:40 GMT+01:00 Vincent Petry [email protected]:
|
VSS is likely to NOT recognize the file. The results you posted seem to show that the encoding issue you have are NOT related to NFC unfortunately. Else the command would have shown a list of files to fix. Reopening. |
Maybe you need to know how I mounted the share: 2016-01-07 15:58 GMT+01:00 Vincent Petry [email protected]:
|
Did a filescan: sudo -u www-data php occ files:scan --all cron.php doesn't seem to do the same (admin page told it was executed). 2016-01-07 16:20 GMT+01:00 Andreas Pircher [email protected]:
|
Hmm, wait. If you mount CIFS on Filesystem-level then this is not the same thing as mounting SMB using the external storage app. You probably used the "Local" external storage backend and pointed it at the folder "/testu" ? |
I'm using only the external storage app to access shares on the Windows 2016-02-12 16:03 GMT+01:00 Vincent Petry [email protected]:
|
Please try with 9.1.0 beta2 and in the external storage section click the cog icon and enable encoding compatibilty. Then run Let me know if this fixes your syncing issues. Ref: #21365 |
Closing this as I think the encoding compatibility mode that was added in 9.1 will fix this. Please reopen if it doesn't. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Steps to reproduce
I 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.
One 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.
Expected behaviour
Sync all the files
Actual behaviour
All the files that doesn't have special chars are synced, the others fail.
Folders whit especial char are synced (strange).
Server configuration
Operating system:
Web server:
Database:
PHP version:
ownCloud version: (see ownCloud admin page)
Updated from an older ownCloud or fresh install:
Fresh install
List of activated apps:
Activity
Calendar
Contacts
Deleted Files
Documents
External storage support
First run wizard
Full text Search
Mail template editor
PDF Viewer
Pictures
Share files
Text editor
Updater
Versions
Video Viewer
The content of config/config.php:
Are you using external storage, if yes which one: local/smb/sftp/...
Yes, as I said, SMB/CIFS to a WinServer
Are you using encryption: yes/no
No
Client configuration
Browser:
Operating system:
Windows Vista (Home and Business) and 7 Professional
Logs
Web server error log
ownCloud log (data/owncloud.log)
Before PHP update
After the update to PHP 5.6 and a test file
Browser log
The text was updated successfully, but these errors were encountered: