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
Problems with german "Umlaut" in folder name #2377
Comments
Please read the contribution guidelines ;) |
this is a know issue - but I have no clue about the solution @mahnuh please use the issue template as described in the contribution guidelines as @Raydiation pointed out already: https://github.com/owncloud/core/blob/master/CONTRIBUTING.md |
Expected behaviourIn the web frontend I do create a folder in the root of files called "Schön" Actual behaviourThe folder "Schön" was created as expected in the web interface but if I refresh the root of files two folders "Schön" are visible. I found two entries for foder "Schön" in the mysql database == Tabellenstruktur für Tabelle oc_filecache |------ |1|1| |d41d8cd98f00b204e9800998ecf8427e|-1| |2|1|0|1367071376|0|517bda9dce482 Steps to reproduce
Server configurationOperating system: Mac OS X 10.7.5 Web server: Apache 2.2.22 Database: MySql 5.5.29 PHP version: 5.3.15 ownCloud version: 5.0.5 Client configurationBrowser: Safari 6.0.4 Operating system: OS X 10.8.3 LogsWeb server error log
ownCloud log (data/owncloud.log)
|
Expected behaviourMac OS X sync client 1.2.5 is running. Actual behaviourThe folder is shown double in the web interface. Steps to reproduce
Server configurationOperating system: Mac OS X 10.7.5 Web server: Apache 2.2.22 Database: MySql 5.5.29 PHP version: 5.3.15 ownCloud version: 5.0.5 Client configurationBrowser: Safari 6.0.4 Operating system: OS X 10.8.3 Owncloud client Mac 1.2.5 LogsWeb server error logownCloud log (data/owncloud.log)
|
Mac OS X sync client log v.1.2.5
|
Could it be that storing/reading UTF-8 in NFC and NFD is the problem? |
@drgoldman Yes, that's the problem. For now, please don't run owncloud server on a mac. |
Version 5.0.6 do not bring any changes to the problem. |
@drgoldman Nope, there were no changes in 5.0.6. As it stands, nobody is working on OS X support for the server side. @karlitschek ? |
may someone can test and verify #3459 |
I had issues with files with Unicode characters, would this ticket fix it? My files are actually being completely deleted by OwnCloud. If I put a file with the name of "ぽん吉の.png", it will be deleted after a few sync cycles goes about. |
Ping |
Just updated my OSX server installation to 5.0.11 and the problem (that manifest itself also for italian accented set AND the apostrophe (') (that in italian is used) is still there. Shall we OSX server users abandon owncloud, or somebody in the dev team is still working to fix? Thank you |
@crogialli is the locale en_US-utf8 installed? |
@DeepDiver1975 |
I've updated to 5.0.11 on OS X Server 10.8.5. I've used the 1.4.0 client on a OS X client and created a word file named "Kontoauszüge.docx". The file was instantly uploaded. After a few second the file disappeard on the OS X client and the 1.4.0 client told me the file has been deleted. However, on the server the file was still available (named correctly) and I could access the file via Web Browser and via my iOS 7 devices (using iOS version 2.21). Afterwards I've created a folder named "Küche" via an iOS device, then the "Kontoauszüge.docx" file was visible but not the new folder named "Küche". After a refresh the folder "Küche" was displayed but not the file "Kontoauszüge.docx" and so on. After deleting the folder "Küche" the "Kontoauszüge.docx" was not visible in any client anymore. However, on the server it was still available. After a rename to "Kontoauszuege.docx" (on the server) everything was fine. - This behavior is fully reproducible. So for me avoiding Umlaut is feasible for the time being, but I'm still looking forward for a fix. |
Hi, |
Sorry to say, this means that we all Mac users have to cancel Owncloud from the self-hosted cloud solution panorama. OwnCloud server doesn't deserve in itself a VM environment to simply make a PHP script run (solution that BTW decreases reliability and availability) And basing uppn what you say nobody is working on the issue: rather than fixing the bug, the Dev team prefers to drop OSX. Good to know, I will unmont and implement SparkleShare instead.Il giorno 23/set/2013, alle ore 17:09, drgoldman notifications@github.com ha scritto:
|
@crogialli of you run it in such a small environment that you can't have a dedicated server for it you may want to take a look at rsync or sftp |
Gentlemen - this is an open source community project - feel free to contribute! The devs working on the project already have enough to do in supporting 4 databases systems, 2 server platforms and a bunch of web servers (here is room for improvement as well). |
This is a great pity, I cannot believe it is a great issue to solve for the devteam, as the issue does not appear in other collaboration environments placed on Mac OSX Servers (we are on Kerio Workspace now, which is not continued at all, but runs on OSX Server perfectly) without showing any UTF problem and comparable functions as Opencloud. |
@ChristianKaesbach If you have spare time feel free to take care of this. |
@DeepDiver1975 Actually I was already thinking about doing so. I will keep it in my mind and be back when I am really looking at it. |
@ChristianKaesbach Awesome! Thanks a lot! |
@DeepDiver1975 @ChristianKaesbach I'm a Mac/PHP developer.... Maybe I could help out, the only problem I'll have is finding where the problem resides in code. If someone can point that out, I can look into it. |
This is the part where debugging starts 😉 |
The issue is when the client (win) is different than the server (mac) |
The experience here has pretty much discouraged me from spending any more time on the issue, but I'd bet that forcing a rebuild of the database will still be pretty fatal to your files. |
Version 8.2 has been announced, and the installation of the server is still not supported on MacOS. This issue was first reported over 2 years ago. The community has pooled together, diagnosed the issue, provided fixes, and even offered hardware (as well as hands-on help) to solve it. There is nothing else the community can do. It is clear that ownCloud has no interest in providing Mac compatibility - even with all the community help offered. Their entire business model has now changed to being a Linux-based, enterprise-focused, commercial project. Our only hope that someone branches out the project, while it's still open source, and produces code that is correct, and compatible with the Mac. |
Yes, this is pretty much a shame and disgrace: to claim there's insufficient demand from the highest volume commercial UNIX platform is just plain unbelievable. More importantly: just like fixing a bug related to byte-order, this is a real bug, since OS X behaves conform with the Unicode standard, so the code should handle it's behavior and not just whatever Linux happens to implement. Why does the project bother to publish an iOS client? If I wanted to run stuff on Linux, I'd run Ubuntu for phones, or a rooted Android with Ubuntu or something like that. Again, nuke the iOS client, or start taking OS X seriously as a server. Is this so hard to get? |
http://www.paragon-software.com/home/ntfs-mac/faq.html#12 So this should work, but of course each OS update might break the third party fs driver. This really should simply be fixed, tested, and supported; not as an OS X issue, but as a Unicode compliance issue. |
well that's good to read about the paragon ntfs driver. I am on the same boat as you. OwnCloud should be both POSIX and Unicode compliant. However, In OwnCloud's defence OS X is not a very widely adopted commercial Server environment. And while EXT4 and HFS+ filesystems are both Unicode compliant. NTFS is not, and EXT4 is the only file system that is both UTF-8 and ANSI compatible. In my opinion if they fix OwnCloud for OS X, it's likely to break it for Windows, if they leave it OS X will continue to convert ANSI characters to UTF-8 and cause problems reading back. I personally wish the death of non POSIX and Unicode compliant OS's and File Systems. But it seems like the most logical solution would be to fork the latest version of OwnCloud and change the format it writes files. Maybe we can call it ÖwnCloud. |
A few statements here in this treat are not correct.
|
While NTFS itself does not enforce Unicode compliance, Windows itself uses Unicode exclusively for filenames so "NTFS is not Unicode compliant" is a mere technically without any implication in practice.
I don't see any reason for that happening. Care to elaborate?
That I really like :-) |
This problem doesn't need two different code paths. Owncloud is just not Unicode compliant, once it is it should work on all platforms with the same code. I've been trying to communicate this for years and also developed the fix, but as it turned out talking to walls is more productive, so I stopped. Complaining that "no one does the work" is pretty laughable, besides that this is NOT a new feature but a simple fix for non-compliant code. |
@MarcelKilgus That's because reducing the support for file systems to "It's unicode compliant" is nonsense. Just some examples:
Btw: how is ownCloud not unicode compliant (Except on Windows obviously, which was dropped as a server platform for this and other reasons)? So this is far from trivial. |
OwnCloud is not Unicode compliant because it considers NFC and NFD codings distinct strings, event though they are just different representations of the same string. And as all your examples argue for the same point I make I don't see what you're trying to tell me with them. |
My understanding is that ownCloud only considers them distinct if the intl PHP module is not installed (at which point you should see a warning in the admin interface). |
No. OwnCloud thinks that it always gets the same form back from the disc in which it was written, an assumption that fails on Mac OS because that always returns NFD even if you save the file as NFC. This is what the whole problem comes down to, really. |
@MarcelKilgus Yes, that side needs fixing, local storage is assumed to be NFC silently. I was talking about the remote end. And yes, all of that needs a lot of work and even more careful testing. |
All right. I'm not even aware of any problems on the remote ends, all I tried to get fixed for some 18 months now was the NFC/NFD issue on the server side. My patch simply normalizes all strings coming from the file system to NFC. If OwnCloud internally uses NFC throughout anyway then this should be enough to make Mac OS work and not break any other systems. |
I dunno i was forced to revert back to 8.05 due to ldap issues, I havent had the issue in 8.1 and it showed immediatly in 8.05 ( disappearing directories ) after moving everything to (yes paragon ) NTS disk it runs since since 9 weeks now with 40 active mixed clients and i havent had an issue, I even installed partly with Server app. I have no problems since I did this... |
@karlitschek: As for using OSX as a server: Further, I want to remind you of the OWN in OwnCloud: I'm not interested in creating a cloud server for others (that would be OthersCloud), but for me, myself, and I (hence OwnCloud), because my private data has no business being held hostage by commercial cloud service providers. |
It's been nice to see some activity on this issue. As a consultant of Apple products for small businesses, having OwnCloud work on the Mac platform is invaluable to them. I use it in my solo consulting business and some of my clients are using it ( they know the risk). I unfortunately am not a coder or I would be all over this. If there is something I can do to help someone who has the skills to move this foward please let me know. For others in my situation, I think Synology is the next goto for self hosted syncing that does not involve a Windows machine, a requirement with most if not all of my clients. |
If you do not believe Macs to be a 'popular' or recommendable server solution, I suggest you google "mac colocation". Companies like MacStadium, MacMiniVault and MacMiniColo/MacProColo - all data centers housing thousands of private Mac servers - might respectfully disagree. MacStadium used to even have a video tutorial, showing their users how to instal OwnCloud in their colocated Mac servers - version 5 or 6, I think, the last to have Mac support. There is a definite gap in the marketplace for an open source package that can offer a self-hosted, cross-platform alternative to Google Docs. OwnCloud was the most promising candidate, but by pigeonholing itself in an enterprise-centric corner of linuxland, it may have shot itself in the foot. I do hope someone forks it, and takes it in a different direction... |
Out of curiosity, if this is just for my own personal use, it is running in a native English-speaking environment, and I never have a file with an umlaut in the name, does this problem affect me at all? Sent from Outlookhttp://aka.ms/Ox5hz3 On Mon, Sep 7, 2015 at 4:49 PM -0700, "luxlogica" <notifications@github.commailto:notifications@github.com> wrote: If you do not believe Macs to be a 'popular' or recommendable server solution, I suggest you google "mac colocation". Companies like MacStadium, MacMiniVault and MacMiniColo/MacProColo - all data centers housing thousands of private Mac servers - might respectfully disagree. MacStadium used to even have a video tutorial, showing their users how to instal OwnCloud in their colocated Mac servers - version 5 or 6, I think, the last to have Mac support. There is a definite gap in the marketplace for an open source package that can offer a self-hosted, cross-platform alternative to Google Docs. OwnCloud was the most promising candidate, but by pigeonholing itself in an enterprise-centric corner of linuxland, it may have shot itself in the foot. I do hope someone forks it, and takes it in a different direction... Reply to this email directly or view it on GitHubhttps://github.com//issues/2377#issuecomment-138393542. |
Would it help to install Owncloud in MAMP or Bitnami instead? |
Installing on MAMP would present the same problems as installing directly on a Mac system - it is "M"AMP, after all. It would be possible to install it using a virtualised solution - ie. on a virtual box with linux on it - but the performance would be unacceptable (good only for testing). |
Sad story to read this discussion which is now going on for more than 2 1/2 years... |
Hi. Exactly what would be needed in a real or virtual Mac to be available for Continuous Integration (CI)? (For those who don't know what CI is, in practice I think it means some software that is triggered whenever someone "pushes" (~checks in) a change to (some branch of) the owncloud git repository, and what it does is automatically move the change over to the testing Mac, run all the tests with that change on the Mac, and report back the which if any tests failed.) Here is what I assume is needed. If you start shaking your head at my ignorance or repeating what others have said, at least read the two summary paragraphs at the end.
Maybe, besides the people and time, this all be summed up by saying we need an instance of the XXX deal at YYY Mac hosting service, where some existing owncloud contributor trusts YYY? Or maybe a physical Mac with AAA ram, BBB disk, and new enough for versions N thru M of Mac OS X, to be configured and sent to YYY? Especially if a physical Mac isn't needed but only a monthly or yearly rental, maybe we could zero in on a price and a minimum duration of the rental and then see who would be willing to contribute toward that. |
I think an open-source project is not an entity that "cares" or "doesn't care" about, say, Mac OS support. It's a way for some people, each of whom cares about certain things and has certain things to contribute, to coordinate with each other. If those people don't happen to have the things to contribute to reach one of the goals, it doesn't happen. Some big open source projects seem to gather things like coordinators or even managers, and money contributors, and some even do things like set high-level goals, make plans to reach them, and even hire a couple people. But not all open source projects reach such heights. |
Personally what I'm looking for is some non-cloud, firewire/wifi/USB way to sync my contacts and calendar between my Android phone and my MacBook Air via CardDAV and CalDav, since Apple took Sync Services away and broke Missing Sync for Android. Apple's clients can talk to CardDAV/CalDAV servers, and Android's contacts, at least, can do so with third-party apps. Local, not cloud; single-user, and not file or music sharing (I have those already). |
Anyone tried with the new OS X filesystem |
Hi,
if i create a folder with a german Umlaut in the name, for example "Kontoauszüge", on my mac, the folder is of course instantly synchronised. Then I open the webinterface, the folder appears twice, but on my mac there is still only one version of the folder.
See screenshot attached.
The text was updated successfully, but these errors were encountered: