apps/theming/ajax/updateLogo 500 (Internal Server Error)

Some permission on the filesystem are perhaps wrong (everything should be accessible by www-data).

Can you reproduce this problem on the test setup: