Internal server error when creating files with special characters / umlauts on windows
Hi,
using IIS7.5 and OC 4.5.1a, I've got problems with files/folder with umlauts. Same problem since 4.0 betas:
- Creating a new file häuser.txt on the webinterface results in häuser.txt on filelist on webinterface and häuser.txt on filesystem of the server
- Creating a new file häuser.txt in the filesystem of the server results in häuser.txt in the filesystem an an internal server error (500) on the webinterface
No error when using SLES11 btw., seems definitively related to IIS/Windows.
Thx, Stefan
I think I have similar issue on Apache (v. 2.2.22-11) and PHP (v. 5.4.4-7) on Debian Wheezy with OC 4.5.1a. I added directory (mounted) and there were polish characters there (ę, ą, ś, ć etc.). Scanning script failed with information in error.log:
PHP Fatal error: Call to a member function getFolder() on a non-object in /var/www/owncloud/apps/files_archive/lib/storage.php on line 45, referer: http://[cut]/?app=files
Now some files from mounted directory are visible in OC and others (I guess - scanned after file with polish characters) are invisible...
@bartv2 Hey - you did some fixes on encodings in the past. Any idea on this issue? THX
@drhirn do you have any error logs, i don't have access to IIS.
@abuszta this is a seperate issue, this is some bug in the archive mounter
Here are some logs. Nothing very interesting in it. Server get's an "FastCGI Activity Timeout" (PHP) after CPU Usage goes up to 50-80% for a long time.
HTTP Error 500.0 - Internal Server Error C:\php\php-cgi.exe - The FastCGI process exceeded configured activity timeout
http://www.digitalbahn.at/oc/logs.zip
When the server is Windows 2008 r2, the files with special characters like "££Ö€ßœĚęĘĞĜΣΥΦΩΫΫ" get deleted on the second sync.
@MTRichards @msrex Can you provide me with a VM with Windows/IIS and ownCloud installer? THX
I don't have a license, but I can provide you access to a running VM in a hosted data center that I use for ownCloud. Will send in email, the instructions are annoying
Update: I have my own Windows based development environment up and running. The server side problem is related to the Windows file system NTFS. I'll digg deeper - there was a pull request some time ago which partially tried to fix NTFS problems.
Cool you have a VM to work on! I'll follow this thread as I've very same issue.
Hi!
Any news from your test environment? For the moment I corrected most of the filenames before uploading, but I am encountering many other issues, like php-cgi causing regular CPU spikes (probably because I have tens of thousands of files) and I have trouble with the calendar. Also OC interacts better with Firefox than with Internet Explorer... especially drag and drop does'nt work at all on IE.
Any thoughts? Is there a true Windows version ever coming? Sorry for this questions, but I spent lot of time adapting OC to my documents and this is not what I meant it to be.
I'm struggling to get our phpunit test suite up and running - I assume this will take some time - sorry.
In addition I have to say that it looks like twe need to implement a Windows specific layer to access files to make it really clean. And I really don't love to do that. :-(
Within the comments of https://github.com/owncloud/core/pull/366 @danimo describes the potential solution.
@DeepDiver1975 : But i and a few hundreds of guys who wants to use OC on their Windows servers would love you for that ;-))
+1 for fixing this ;)
https://github.com/owncloud/core/pull/366#issuecomment-12489082
Just tried umlauts in 4.5.6. Seems to be fine now.
@drhirn @jacotec @swiffer @MannyRik please test git master as we incorporated some fixes for Windows server environments. THX
BTW: anybody of you interested in MS Sql-Server suppport as well - please test #1706 - THX
as i dont know how to build git master i checked out the latest daily build from owncloud.org/releases/daily...
- creating a folder (ÖÄÜ) results in oau on filesystem
- if a file with an umlaut is present in filesystem and i reload the owncloud page cpu usage goes up to 30% but the file seems not to be added to mysql / owncloud
- when i upload a file (FileName.ext) via web interface a file named filename.ext is created
server setup: win server 2012, iis 8, php 5.5alpha5, mysql 5.6.10
if a file with an umlaut is present in filesystem and i reload the owncloud page cpu u
THX for reminding me of this use case
as i dont know how to build git master i checked out the latest daily build from owncloud.org/releases/daily
valid approach - THX a lot!
does owncloud make use of capital and small initial letters and recognize file names correctly?
have you updated master to work with the use case specified above?