When I use Git4C to preview my .md files in my gitlab,it shows server erro,how to fix it?

纪嘉澍 December 11, 2018

QQ20181212-101222.png

Here's the erro:

Could not rename file /usr/local/confluence/temp/git_source_plugin_cache/2408069952193723251/general-components/._啊.md8439281767321338060.tmp to /usr/local/confluence/temp/git_source_plugin_cache/2408069952193723251/general-components/啊.md

1 answer

0 votes
Diego
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 21, 2018

Hello there!
Could you clarify a few topics for us:

 

  1. Has this worked at some point in the past?
  2. Are other users being affected by this?
  3. Is this affecting any .md file you try to rename?
  4. Is the path /usr/local/confluence/temp/git_source_plugin_cache/2408069952193723251/general-components/ in your Confluence server or inside a remote location?
  5. Are you able to manually rename the file?

Also, you could try renaming the file to a name that does not contain multi-byte characters such as 啊.

Let us know if you are able to rename the file without a multi-byte character!

纪嘉澍 December 23, 2018

1. Yes, it used to worked in the past.

2. Yes, other users being affected.

3. yes ,it affecting all of .md file.once the gitlab project contains a file named whit Chines character.

4. yes, it is our Confluence server.

5. I can rename it in my gitlab.

Fei ye December 25, 2018

the problem only happens when the filename is in chinese.

Diego
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 27, 2018

Hi again!
Since you stated that this feature has worked at some point in the past, we still have some questions:

  1. Was the plugin recently updated?
  2. Are you able to rollback to a previous version of the plugin?
  3. Was there any other change applied to your instance?

In the meantime, would it be possible for you to use filenames without Chinese characters? This would work as a temporary workaround.

纪嘉澍 January 2, 2019

1.no, this plugin didn't upgrade since 2018-4

2.since it didn't upgrade, we can't rollback.

3.I'm not sure what change cause this problem.

We are a Chinese company ,so it's necessary for us to use Chinese characters as file name, otherwise we can't find the documents conveniently. So we hope the problem can be solved. 

Thanks.

Diego
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 3, 2019

Hello there!
I tried to replicate this behaviour locally but was ultimately unable too. Characters were always shown as expected.
Could you try to run the Encoding Test and send us screenshots of the results:

Troubleshooting Character Encodings

Further, could you clarify a few points:

  1. Are you able to create page attachments with names containing Chinese characters?
  2. Are you able to create files with Chinese characters manually in your server?
  3. Does this error happen with any Chinese character?
纪嘉澍 January 3, 2019

here's the screenshot of encoding test.

https://photos.app.goo.gl/jfRPxSyF8cECrNQK6

And this is the encoding setting of our sever

lALPDgQ9qbZ9BGzNAlTNAsY_710_596.png_620x10000q90g.jpg


1.yes we can create page attachments with names containing Chinese characters, here is the screenshots

https://photos.app.goo.gl/mRQtTByMHy2fq1wv7

 

2.yes,I'm able to create files with Chinese characters manually in my server

图片.png

 

3.yes, this error happens in any Chinese character.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events