Hi,
Documenation says:
$BITBUCKET_HOME/shared/data/git-lfs/storage
cannot be changed. But I like to use a different shared storage endpoint as my
$BITBUCKET_HOME/shared
lays. Bevause of different Filesystem parameters. But whatabout creating a symlink there? Will it work and cause no trouble?
Thanks
In my experience a symlink will work without any problem for any parts of that path (e.g., "shared" or "data" or "git-lfs" or "storage").
Just make sure whatever it points to is always available! (e.g., if you're pointing into a different file-system mount, make sure it's always mounted before Bitbucket starts up!)
Also be aware that "shared/" is quite special should you ever end-up migrating to Bitbucket Data Center, and needs to be a single consistent networked NFS file-system shared by all nodes of your Bitbucket cluster. Symlinks are probably fine as long as they link out to similarly shared NFS file-systems. If your symlink in this scenario links into a local mount you are going to give yourself big headaches. If you're certain you will always stay on a single-node Bitbucket Server instance, then you do not need to worry about this.
Note: I've have never actually done what you are proposing, but I have used a symlink for $BITBUCKET_HOME/caches/, and it worked fine.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.