mediacms-io / mediacms

MediaCMS is a modern, fully featured open source video and media CMS, written in Python/Django and React, featuring a REST API.
https://mediacms.io
GNU Affero General Public License v3.0
2.56k stars 468 forks source link

Can't start update #853

Closed fshubthunfischbaum closed 11 months ago

fshubthunfischbaum commented 11 months ago

Describe the issue Cannot pull git source

To Reproduce Steps to reproduce the issue:

  1. "source activate"
  2. Type "git pull"
  3. receive this error "fatal: not a git repository (or any of the parent directories): .git"

Expected behaviour pull should succeed

Environment (please complete the following information):

Additional context I'm probably missing something tremendously on my end here. But somehow cannot figure it out. Bump in the right direction would be very much appreciated.

mgogoulos commented 11 months ago

Hi, are you in the correct directory? Most probably not, so make sure you get into /home/mediacms.io/mediacms/

Then check that this is actually is the correct directory with git remote -v , you should see something like this:

root@server /home/mediacms.io/mediacms # git remote -v
origin  https://github.com/mediacms-io/mediacms (fetch)