rootio / rootio_web

RootIO web app & telephony services
https://rootio.eu
GNU Affero General Public License v3.0
36 stars 19 forks source link

File uploads failing on staging server #386

Closed judelove closed 4 years ago

judelove commented 4 years ago

![]()

judelove commented 4 years ago

FIle uploads to tracks on the staging server fail.

judelove commented 4 years ago

This is down to how Amazon storage is being mounted. revisit the umask options set on mount!

carlosmouracorreia commented 4 years ago

Issue still persists when the server restarts. It's being mounted with wrong permissions when server restarts. See Umask problem.

carlosmouracorreia commented 4 years ago

Also, in maybe related news, the media couldn't be played on staging because we're using Apache 2.4 there opposed to 2.2 on production.

Because of that, different directives for access control had to be written at the /sites-available/ directory.

Further reference: https://serverfault.com/questions/418101/apache-client-denied-by-server-configuration-despite-allowing-access-to-direc/419317

@judelove

carlosmouracorreia commented 4 years ago

Restarted staging server and issue didn't persist anymore, so it might be linked to my previous comment. Will try this tonight on production. @judelove can you please remind me (so I can maybe write a config script or document it in the wiki) what services need to be manually started on server restart ? (e.g Freeswitch, you said something about the monitor command to open a new terminal session inside the same ssh session)