I’m attempting to install Atlassian’s BitBucket on my QNAP 453 with little success. I’ve downloaded the .bin
file from Atlassian, paid for a subscription, and am now trying to install on my QNAP via SSH. The problem is that I can only SSH into my QNAP as an admin and I’m experiencing an error that states I should only run theElasticsearch command as a non-admin account.
How do I either SSH into my QNAP as a non-admin so that I can run the Elasticsearch command, or is there an alternative method to installing BitBucket on the QNAP?
Error Message:
If you cannot access Bitbucket within 3 minutes, or encounter other issues, check the troubleshooting guide at:
https://confluence.atlassian.com/display/BitbucketServerKB/Troubleshooting+Installation
[admin@QNAP bin]# Exception in thread "main" java.lang.RuntimeException: don't run elasticsearch as root.
at org.elasticsearch.bootstrap.Bootstrap.initializeNatives(Bootstrap.java:93)
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:144)
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:270)
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:35)
su
to another user in order to run the command that requires a non-privileged user.