Internal Server Error on file upload

I started using Jenkins for the project and somewhere there is a change made in the setup. And I can not find it… So if anybody can be of some help it would be great. (version 2.0)

Problem:
When I upload a document now the progress bar starts green and ends up in red with a message “internal server error” The storage and bootstrap/cache are set to 755 (and I tested 777) but that is not it.

I tried almost everything but did not find the problem… Can anyone pont me in the right direction?

Version 2.0 is in alpha stage at the moment and thus not supported.