File Upload via File system, permission denied

Description

Hi, Iā€™m starting my adventure with raspberry Pi, ubuntu and RC so please be patient :slight_smile:

I have changed my File upload to File system. Created a folder on external hdd but when I try to send a file in the chat Iā€™m getting error:
Error: EACCES: permission denied, open ā€˜/media/external/rocket/oxkQY455ZAmWXnTq8ā€™ [ufs: cannot upload file]

permissions of the folders are 0777, and owner root:root

Server Setup Information

  • Version of Rocket.Chat Server: 3.7.4
  • Operating System: ubuntu server 20.04 64bit on raspberry PI 4
  • Deployment Method:snap

I am not familiar with Snap but I know with the docker image you need to make sure that folder is accessible within the context of Docker. You also need to ensure that it is accessible through any reverse proxy you may have set up, and that file size restrictions match.