OverlappingFileLockException

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

症状

When creating a repository a 500 error is returned.

The following can be seen in the atlassian-bitbucket.log:

2017-02-06 18:42:16,963 ERROR [http-apr-7990-exec-1] user_name @9KXPVZx1122x313x0 o2utpk 172.17.0.1 "POST /projects/project_slug/repos HTTP/1.1" c.a.s.i.w.HandlerExceptionResolverImpl null
java.nio.channels.OverlappingFileLockException: null
at sun.nio.ch.SharedFileLockTable.checkList(FileLockTable.java:255) ~[na:1.8.0_111]
at sun.nio.ch.SharedFileLockTable.add(FileLockTable.java:152) ~[na:1.8.0_111]
at sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1108) ~[na:1.8.0_111]
at java.nio.channels.FileChannel.tryLock(FileChannel.java:1155) ~[na:1.8.0_111]

環境 

Bitbucket Server has been installed in a Docker container and Dropbox is used as the volume where $BITBUCKET_HOME is located.

原因

Using Dropbox as a host volume causes issues due to the way permissions are handled.

ソリューション

Do not use Dropbox as the host volume.  A local or NFS volume should be used instead.

 

最終更新日: 2017 年 2 月 8 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.