wordpress - Git deployment from bitbucket -


im not new git, i've used quite few projects. pretty new deploying bitbucket & making site live there.

i've seen few questions this, every time clone repo bitbucket (its wordpress install) server error 500. other answers i've seen haven't helped me.

im using:

git clone git@bitbucket.org:teamname/gitproject.git . 

it pulls fine, , modifications locally , push bitbucket can pull fine.. problem server error 500....

it works locally, im stumped. if cool.

thanks

i found answer question tinkering. because logged ssh root, cloning repository root. files owned root , group root.

i fixed using chown in post-recieve hook:

chown -r username:group ./* 

if else has problem, might want check read write on files make sure aren't 777.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -