Answer the question
In order to leave comments, you need to log in
How to install Gitlab on an LXC container with data folder transfer to a ball in the host machine or somewhere else?
It was not possible to fully configure the ball right away and connect it in the container, so I used the container configuration tools and thus mounted the ball in the container's FS. The ball is available, you can go into it and create files and folders.
But during the reconfiguration, gitlab yelled that he, you see, assumed that the user git: git uid / gid 998 should be the owner of this folder. No matter how much I poked around, I did not understand how to change the owner, which by default is the user ubuntu .
Of course, I ran the standard assign owner command. It just ran quietly, but in practice, nothing has changed.
Actually, if anyone has come across, the advice does not hurt much.
Answer the question
In order to leave comments, you need to log in
In general, everything turned out to be much more trivial. You can rewind the folder with the standard LXC command and it works.
I'm not familiar with the gitlab theme, but the rights to the folder are done like thischown -R git:git <папка>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question