Public file system path problem
I have solved the problem by reverting to a older version of the database. I haven't been able to trace the real cause of the problem.

It had something to do with "Backup and Migrate" module, because that was the only real change between the versions.