Description
Can not upload files. Docker logs show this error
rocketchat_1 | ufs: cannot write file "myoysPS9fegAXuA6g" (ENOENT: no such file or directory, open '/uploads//myoysPS9fegAXuA6g') [Error: ENOENT: no such file or directory, open '/uploads//myoysPS9fegAXuA6g'] {
rocketchat_1 | errno: -2,
rocketchat_1 | code: 'ENOENT',
rocketchat_1 | syscall: 'open',
rocketchat_1 | path: '/uploads//myoysPS9fegAXuA6g'
rocketchat_1 | }
I noticed that the path uploads has two // after uploads, not sure why its doing that.
Here is my docker (most of it)
services:
rocketchat:
image: registry.rocket.chat/rocketchat/rocket.chat:latest
restart: unless-stopped
networks:
- nginxproxymanager
ports:
- ‘3000:3000’
volumes:
- ./data/uploads/:/app/uploads/
Server Setup Information
- Version of Rocket.Chat Server: 6.0.0
- Operating System: Ubuntu Latest
- Deployment Method: docker
- Number of Running Instances: 1
- DB Replicaset Oplog: MongoDB 5.0.15 / wiredTiger (oplog Enabled)
- NodeJS Version: v14.21.2
- MongoDB Version: MongoDB 5.0.15 / wiredTiger (oplog Enabled)
- Proxy: nginx
- Firewalls involved: disabled