YouTrack Docker Container Installation

Hi,

I used this to install the YouTrack docker container on a server: https://hub.docker.com/r/jetbrains/youtrack

When I try to start with:

docker run -it --name youtrack-server-instance -v /data/youtrack/data:/opt/youtrack/data -v /data/youtrack/conf:/opt/youtrack/conf -v /data/youtrack/logs:/opt/youtrack/logs -v /data/youtrack/backups:/opt/youtrack/backups -p 8080:8080 jetbrains/youtrack:2018.1.39916

I get the following error:

Config directory is not writable: /opt/youtrack/conf

All the local directories (/data/youtrack/logs, /data/youtrack/data,...) are present and configured as stated in the documentation.
What am I missing? What is the problem? How can I make /opt/youtrack/conf writable?

Thank you
Kai

 

3 comments
Comment actions Permalink
Official comment

Could you please check, if the YouTrack service has rights to write into this directory?

Comment actions Permalink

Hello Lüba and quanta,

quantas hint was helping me to resolve the issue with missing rights. Thanks quanta!

The next Problem was, that YouTrack told me it had not enough entropy for generating random numbers.


```
[YouTrack Error] Failed to start JetBrains YouTrack 2018.1 due to unexpected exception: Native random generator does not seem to have enough entropy for JetBrains YouTrack 2018.1 to start.
[YouTrack Error] You can fix it by switching to PRNG (with -Djava.security.egd=/dev/zrandom) or by reconfiguring your operation system to provide more random bits.
```

I could solve this by installing and onfiguring rng-tools (https://www.howtoforge.com/helping-the-random-number-generator-to-gain-enough-entropy-with-rng-tools-debian-lenny).

The last problem is, that my DigitalOcean instance has not enough Memory for YouTrack. I'll try to install it locally in my computer instead of the server. I just wanted to play around with it.

Thanks again for all your help!
Kai
--

0

Please sign in to leave a comment.