To be completed by the original poster:
Instaled on Ubuntu 20
When uploading media i always get an error when the upload finishes.
SyntaxError: Unexpected token ‘<’, "<!DOCTYPE "… is not valid JSON
Ive changed the php.ini and everything looks fine, but still cant uplaod files