- git bare repository '/opt/news.git' not found on storage server or it is not a bare repository

hi team, i am creating on the storage server and secondly it says repo initialized.
attached screenshot. please help.

@Tej-Singh-Rana --can help on this pls

Hi @sriramr ,

Please read the error message. It’s looking under the /opt/ directory, not /home/user/.

Regards,

1 Like

ok will check…thanks

yes if we create under opt…it works…thanks @Tej-Singh-Rana

@Tej-Singh-Rana could you please help me out on this? i have installed the package with ‘sudo yum install git -y’ but still getting this error.

Hi @sammyjel ,

You need to perform this task on the storage server, but you’re trying it on the jump_host server.

Media player are not working

I’ve encountered this issue multiple times, as shown in the attached screenshot.

i did logged in to storage server of nautilas with user natasha.
i did installed git package
Created a bare repository named /opt/official.git
By following these steps sudo mkdir -p /opt/official.git
cd /opt/official.git
sudo git init --bare
also performed below steps gave proper permission but still getting same error
git clone natasha@ststor01:/opt/official.git ~/official
sudo chown -R thor:thor /opt/official.git
could you please guide me?

@MJislearning first, let’s make sure I know what lab you’re doing, since there are a number of similar tasks, and it matters whether the directories are originally assigned to natasha, or to root. I can say that chowning to thor is certainly wrong if you’re on the storage server though.