It seems that TortoiseSVN made a terrible mess of the media folder. I had to make a new checkout. Renamed the media folder to data.