# Cannot upload files

**URL:** <https://forums.rocket.chat/t/cannot-upload-files/5733>\
**Category:** Community Support\
**Created:** [February 4, 2020, 4:45pm UTC](https://forums.rocket.chat/t/cannot-upload-files/5733 "2020-02-04T16:45:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnrkirby](https://avatars.discourse-cdn.com/v4/letter/j/f17d59/32.png) [@johnrkirby](https://forums.rocket.chat/u/johnrkirby)\
**Post date:** [February 4, 2020, 4:45pm UTC](https://forums.rocket.chat/t/cannot-upload-files/5733/1 "2020-02-04T16:45:19Z")

</div>

OK, I’m running a fresh install of Rocketchat on an Ubuntu VM, hosted on an internal private network. Install was from snaps. I’ve set the permissions of the /var/snaps/rocketchat-server/common/\* and /tmp/ufs to 777. I’ve restarted the service, I’ve rebooted the VM.

Files stay at 0%. Using GridFS, and it’s not a network issue, because a previous Rocketchat install allowed file uploads.

---

<div class="post-metadata">

**Author:** ![johnrkirby](https://avatars.discourse-cdn.com/v4/letter/j/f17d59/32.png) [@johnrkirby](https://forums.rocket.chat/u/johnrkirby)\
**Post date:** [February 4, 2020, 4:53pm UTC](https://forums.rocket.chat/t/cannot-upload-files/5733/2 "2020-02-04T16:53:17Z")

</div>

### Server Setup Information

- Version of Rocket.Chat Server: 2.4.2
- Operating System: Ubuntu 19.04
- Deployment Method: snap
- Number of Running Instances: 1
- DB Replicaset Oplog: enabled
- NodeJS Version: v8.17.0
- MongoDB Version: 3.6.14
- Proxy: caddy
- Firewalls involved: no

Total Uploads Size 7.71 MB (Because custom avatars work)

---

<div class="post-metadata">

**Author:** ![lucia.guevgeozian](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/lucia.guevgeozian/32/447_2.png) [@lucia.guevgeozian](https://forums.rocket.chat/u/lucia.guevgeozian)\
**Post date:** [February 6, 2020, 3:27pm UTC](https://forums.rocket.chat/t/cannot-upload-files/5733/3 "2020-02-06T15:27:22Z")

</div>

If using gridfs it shouldn’t be a permission problem, did you find any useful message in rocketchat or mongo service logs? does your server have enough space to save the files, there is also a file upload limit and some extensions not allowed by default, you can change that config in the Administration panel
