Media uploads not working after update

System Information
  • Strapi v3.5.3:
  • Ubuntu 16.04:
  • Mongodb latest:
  • Node v14.15.0:
  • NPM 6.4.1**:
  • yarn 1.22.5:

So, after updating strapi from v3.3.4 to v3.5.3 the media uploads stopped working.

I use docker-compose for Strapi and Mongodb.

Here’s a pic of error in strapi dashboard:
https://imgur.com/a/zBv0BxH

And the here are the logs of that error:
https://imgur.com/a/Bni3oOl

Here’s my docker-compose file just in case:

version: ‘3’
services:
strapi:
image: strapi/strapi
environment:
DATABASE_CLIENT: mongo
DATABASE_NAME: strapi
DATABASE_HOST: mongo
DATABASE_PORT: 27017
DATABASE_USERNAME: strapi
DATABASE_PASSWORD: strapi
volumes:
- ./app:/srv/app
ports:
- ‘1337:1337’
depends_on:
- mongo

mongo:
image: mongo
environment:
MONGO_INITDB_DATABASE: strapi
MONGO_INITDB_ROOT_USERNAME: strapi
MONGO_INITDB_ROOT_PASSWORD: strapi
volumes:
- ./data:/data/db