Page 1 of 1

Error exporting repo in 5.1.11 with non latin characters

PostPosted:Mon Apr 22, 2013 7:53 pm
by olexandr
Hallo,
I am trying to migrate to 6.2 from 5.1.11 and I can't export repo, the export process fails with the following error:
File Not Found: /opt/repo/Dokumentu arhīvs/Apdrošināšana.okm (No such file or directory)
The problem to my mind is with non latin characters.
OS is Ubuntu 12.04

Do I have any chance to upgrade to 6.2? I have categories and metadata.

Re: Error exporting repo in 5.1.11 with non latin characters

PostPosted:Tue Apr 23, 2013 7:50 am
by pavila
This problem seems realted to Ubuntu encoding configuration. If you run "ls -l /opt/repo/Dokumentu arhīvs/" you see the files with the right characters or some of them are replaced by ???? Also verify that JBoss is running with -Dfile.encoding=utf-8

Re: Error exporting repo in 5.1.11 with non latin characters

PostPosted:Tue Apr 23, 2013 8:22 pm
by olexandr
Hi!
I have found it, my fault - missing permission for the folder.

Re: Error exporting repo in 5.1.11 with non latin characters

PostPosted:Fri Apr 26, 2013 10:00 am
by pavila
I can't undestand the relation between the folder permissions and the filename encoding :|

Re: Error exporting repo in 5.1.11 with non latin characters

PostPosted:Fri Apr 26, 2013 10:10 am
by olexandr
Ok, I had a folder without write permission for tomcat user. I gave write permissions to all - and everything was ok. I have checked - I had in tomcat script utf-8