WordPress 4.4.2 upload give error, can’t write is upper directory allowed to be written

Okay seems that after a migration your media point not to the right directories. So don’t be so stupid as me and check all so at settings->media if the directory is correct. Sometimes the solution is so simple and you think too hard for a difficult solution.