vimeo / laravel

A Vimeo bridge for Laravel
https://developer.vimeo.com
Apache License 2.0
401 stars 88 forks source link

Vimeo upload video error 500 #77

Open Sameer-hesta opened 4 years ago

Sameer-hesta commented 4 years ago

Hello,

I am having a Vimeo plus account, There is an issue I am facing while uploading video from development { "data": "mkdir(): Permission denied", "status": 500, "error": true, "message": "Something went wrong" }

But this upload works fine when I use it on local server

rudolfbruder commented 4 years ago

Hi, I am facing the same issue. Did you manage to solve it somehow?

rudolfbruder commented 4 years ago

Hi,

I managed to solve it. It was permissions issue on my VPS. While video upload there is a getCache metho inside of Vimeo.php file from the package. If you trace, dd() a bit it down it will show you the location of cache folder. I added write permissions there and it started working.

allanzi commented 4 years ago

Thanks @Greenvold Solved for me

rudolfbruder commented 3 years ago

@bump Can we close this?

parakkajithin commented 3 years ago

I also faced the same issue. The exact path is /vendor/ankitpokhrel/tus-php/ and I created .cache folder and set it permission to 755

@rudolfbruder Thanks and we can close this.

keval-hyperspace commented 3 years ago

I managed to solve it by below command.

sudo chown -R www-data vendor/ankitpokhrel sudo chmod -R ug+rwx vendor/ankitpokhrel

AliNawazz96 commented 2 years ago

I also face this issue but solve it with this simple step.

  1. go into vendor/ folder.
  2. chmod -R 775 ankitpokhrel/
  3. chown -R www-data ankitpokhrel/
akunbeben-dev commented 2 years ago

I got 502 in every single request, cant event retrieve user profile