Perl validation fails on startup with 'Filename too long' or 'CreateProcess error=267'

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

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

or:

Error validating Perl: 'An error occurred while executing an external process: [..]: Filename too long'

Cause

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

Workaround

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.

 

Last modified on Sep 16, 2015

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.