Skip to content

Spécial character issues #53

Closed
Closed

Description

@BlackSmileFR

Hi,
I've got a problem using sync client with owncloud when special characters are present (and too long path, it seems). Using OC 4.5.1a (get issues with 4.5.0 too) and OSX client 1.1.1 (same with windows client under W7)

First, if a file (with or without special characters) is in a folder with special characters ( é & ( + - ) sync client return this error and cannot copy to server :
11-04 15:56:47:329 csync.propagator - file: thewebdavfilepath, command: open(O_CREAT), error: 2
it's a loop so it never end until killing sync and delete or rename (without special char) the folder (I talk only about folders not files)

Sometimes (really often but not in every cases) some files are not synced back when they have special characters. They finally get deleted on client side but not server side.
What happens is first sync OK (client -> server), everything is there on both side. Then a second sync and it's deleted from client side but still on the server side (even after lots of another sync)
You get same result with two client (Windows or MacOS), only difference came from the fact that folder are copied but not the files inside.

Third trouble : In my test to try to understand issues, something weird coming up.
2 pdf files with all specials characters have 2 differents behavior

  • F EN + 771-5 (mars 2004).pdf
  • Règles BPEL 91 (DTU P18-703) (avril 1992).pdf
    First all get sync and no problems.
    then "Règles BPEL 91 (DTU P18-703) (avril 1992).pdf" disappear client side but still on server.
    "F EN + 771-5 (mars 2004).pdf" get transformed in "F EN + 771-5 (mars 2004)_conflict-20121104-153456.pdf" on client side but not on server side (still "F EN + 771-5 (mars 2004).pdf")

NOTA1 : trouble seems more to come from charaters like é è ç à (french characters) than others like * + -

NOTA2 :
Environment : SharedHosting (1&1) Linux
Server API : CGI/FastCGI
Database : mySQL
Client : Finder / Safari / Chrome / OCclient (OSX - Windows)
OC-Version : 4.5.1a
PHP-Version : PHP dev (5.4.8)

Client start output :
11-05 12:35:49:159 "################## ownCloud fr_FR 1.1.1 "
11-05 12:35:49:223 Trying to read config ini file at "/Applications/owncloud.app/Contents/Resources/custom.ini"
11-05 12:35:49:224 Trying to read config ini file at "/Applications/owncloud.app/Contents/Resources/custom.ini"
11-05 12:35:49:224 Trying to read config ini file at "/Applications/owncloud.app/Contents/Resources/custom.ini"
11-05 12:35:49:224 Trying to read config ini file at "/Applications/owncloud.app/Contents/Resources/custom.ini"
11-05 12:35:49:226 Trying to read config ini file at "/Applications/owncloud.app/Contents/Resources/custom.ini"
11-05 12:35:49:231 * Network is offline
11-05 12:35:49:281 Network Location: ""
11-05 12:35:49:282 Get Request to "status.php"
11-05 12:35:49:282 Returning configured owncloud url: "http://owncloud.t-claessen.org/"
11-05 12:35:49:284 Returning configured owncloud url: "http://owncloud.t-claessen.org/"
11-05 12:35:49:284 Setting up host header: "owncloud.t-claessen.org"
11-05 12:35:49:472 status.php returns: "{"installed":"true","version":"4.90.2","versionstring":"4.5.1a","edition":""}" 0 Reply: QNetworkReplyImpl(0x1028eaa20)
11-05 12:35:49:473 Unknown info from ownCloud status.php: "installed" = "true"
11-05 12:35:49:473 ** Application: ownCloud found: "http://owncloud.t-claessen.org" with version "4.5.1a" ( "4.90.2" )
11-05 12:35:49:473 ** Setting ownCloud Server version to "4.90.2"
11-05 12:35:49:478 # checking for authentication settings.
11-05 12:35:49:478 Get Request to "/"
11-05 12:35:49:478 Returning configured owncloud url: "http://owncloud.t-claessen.org/remote.php/webdav/"
11-05 12:35:49:478 Returning configured owncloud url: "http://owncloud.t-claessen.org/"
11-05 12:35:49:478 Setting up host header: "owncloud.t-claessen.org"
11-05 12:35:49:987 ######## Credentials are ok!
11-05 12:35:49:988 * Setup folders from "/Volumes/Macintosh 500HD/blacksmile/Library/Application Support/ownCloud/folders"
11-05 12:35:49:988 -> setting up: "Catalogues" 11-05 12:35:49:992 -> file path: "/Volumes/Macintosh 500HD/blacksmile/Library/Application Support/ownCloud/folders/Catalogues" 11-05 12:35:49:992-> "/Volumes/Macintosh 500HD/blacksmile/eBooks/Catalogues" does not exist. Skipping folder "Catalogues"
11-05 12:35:49:992 ` -> setting up: "TEST"
11-05 12:35:49:992 -> file path: "/Volumes/Macintosh 500HD/blacksmile/Library/Application Support/ownCloud/folders/TEST"
11-05 12:35:49:992 Returning configured owncloud url: "http://owncloud.t-claessen.org/remote.php/webdav/"
11-05 12:35:49:993 setting remote poll timer interval to 28031 msec for folder "TEST"
11-05 12:35:49:993 ****** ownCloud folder using local poll *******
11-05 12:35:49:993 Adding folder to Folder Map Mirall::ownCloudFolder(0x105ec16d0)
11-05 12:35:49:994 Folder in overallStatus Message: Mirall::ownCloudFolder(0x105ec16d0) with name "TEST"
11-05 12:35:49:995 Sync state changed for folder "TEST" : "Not yet Started"
11-05 12:35:50:006 Folder: Mirall::ownCloudFolder(0x105ec16d0)
11-05 12:35:50:006 ==> load folder icon "owncloud-framed"
11-05 12:35:50:006 Returning configured owncloud url: "http://owncloud.t-claessen.org/remote.php/webdav/"
11-05 12:35:52:243 00 client update check to "https://download.owncloud.com/clientupdater.php"
11-05 12:35:53:061 Client is on latest version!

Activity

  1. danimo commented on Nov 5, 2012

    @danimo
    Contributor

    Please provide more details (Hosting Environment, Web Server, PHP version) as well as the output of owncloud.exe / owncloud.app/Contents/MacOS/owncloud started with --logwindow.

  2. danimo commented on Nov 5, 2012

    @danimo
    Contributor

    French characters generally work fine here, this is why I suspect a server problem. Please check your server log files, too.

  3. BlackSmileFR commented on Nov 5, 2012

    @BlackSmileFR
    Author

    Sorry but any idea how i get 1&1 server log files. I'm not sure I can !

    Thx for support

  4. ghost assigned on Nov 6, 2012
  5. BlackSmileFR commented on Nov 6, 2012

    @BlackSmileFR
    Author

    I check logs files for errors but found nothing. What should I look for (thousand of lines) ?

  6. danimo commented on Nov 6, 2012

    @danimo
    Contributor

    likely related to #45.

  7. danimo commented on Jan 11, 2013

    @danimo
    Contributor

    This should be fixed with 1.1.4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions