We recently upgraded BitBucket to 7.1.0 which now utilizes the NuProcess 2.0.0 library. We are getting the following exception on Freebsd 11.3 using OpenJDK8 and OpenJDK11
java.lang.RuntimeException: syscall(SYS__pthread_chdir) failed to set current directory, return code: -1, last error: 45
Issue has also been posed on NuProcess GitHub repo: https://github.com/brettwooldridge/NuProcess/issues/108
FreeBSD is not a supported platform for running Bitbucket Server. It never was, and is unlikely to be added as one in the future. That it ever worked was a "happy accident", not an indication of support.
Just to set expectations, if/when your NuProcess pull request is merged, and we eventually upgrade our NuProcess dependency, it may result in Bitbucket Server running again; but if you run into any issues and raise an issue with support our response is going to be "Migrate to a supported platform and see if that fixes your issue." Continuing to run on FreeBSD will be "at your own risk." While we won't go out of our way to break FreeBSD as a target platform, we also won't go out of our way to fix it, either--or to test it, which means you're likely to find breakages the hard way.
I'm sure that's not really the experience or feedback you're looking for, but providing support for platforms we don't test on or develop for produces a frustrating experience for everyone involved, and ties up support engineers who could be assisting others who are running on supported platforms.
Thanks for the response, posted this in the community thread and wasn't expecting to get an official response 😊
I am fully aware that FreeBSD is not supported, however many people do run Atlassian products on the OS and more often then not they work amazingly. Posted this here to aide others who may also be running on FreeBSD that don't have the time to dig into the root cause. We have built our own version of the NuProcess library and replaced the bundled version and it resolves the issue.
If Atlassian ever decides they want to add FreeBSD as a supported platform, we'd be more then glad to participate in testing new versions and helping with bug fixes 😊
Also great job on the new pull request interface in 7.1.0!!
Stay Safe & Healthy!!
Hey everyone, over the past year, we've added several new features on how you can use Bitbucket and Jira together. We'd love to know how you'll are using the integration and how it's helping your t...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events