Perl validation fails on startup with 'Filename too long' or 'CreateProcess error=267'
症状
When starting Bitbucket Server on Windows, the following error message are visible:
Error validating Perl: 'An error occurred while executing an external process: CreateProcess error=267, The directory name is invalid's
または
Error validating Perl: 'An error occurred while executing an external process: [..]: Filename too long'
原因
The error is caused by the absolute limit on the length of a directory's path on Windows. For more information, consult the following knowledge base article: Bitbucket Server is unable to create the merge diff for pull requests.
回避策
The Workaround section of the knowledge base article Bitbucket Server is unable to create the merge diff for pull requests discusses solutions to resolve the problem.
最終更新日 2015 年 9 月 16 日
Powered by Confluence and Scroll Viewport.