Skip to content

Cache Permissions not working correctly #203

@scottcaseproof

Description

@scottcaseproof

Summary

Our FreeScout install is randomly getting a permissions error on new files for caching as shown here: https://share.cleanshot.com/22xQM9t4

When it occurs I go into the container and run the 'sudo chown -R nginx /www/html' command but it comes back again randomly in the future with a new file name

Steps to reproduce

Setup FreeScout and view the permissions occasionally.

What is the expected correct behavior?

To not need to continually give access to the folder, and for newly created files to get the correct access

Relevant logs and/or screenshots

https://share.cleanshot.com/22xQM9t4

Environment

docker-compse.yml
version: '2'

services:
freescout-app:
image: tiredofit/freescout
container_name: freescout-app
ports:
- 8080:80
links:
- freescout-db
volumes:
### If you want to perform customizations to the source and have access to it, then uncomment this line - This includes modules
- ./data:/www/html
### Or, if you just want to use Stock Freescout and hold onto persistent files like cache and session use this, one or the other.
#- ./data:/data
### If you want to just keep the original source and add additional modules uncomment this line
- ./modules:/www/html/Modules
- ./logs/:/www/logs
env_file:
- .env
environment:
- CONTAINER_NAME="${FREESCOUT_CONTAINER_NAME}"
- DB_HOST="${DB_HOST}"
- DB_NAME="${DB_NAME}"
- DB_USER="${DB_USER}"
- DB_PASS="${DB_PASS}"
- SITE_URL="${SITE_URL}"
- ADMIN_EMAIL="${ADMIN_EMAIL}"
- ADMIN_PASS="${ADMIN_PASS}"
- ENABLE_SSL_PROXY="${ENABLE_SSL_PROXY}"
- DISPLAY_ERRORS="${DISPLAY_ERRORS}"
- TIMEZONE="${TIMEZONE}"
restart: always

freescout-db:
image: tiredofit/mariadb
container_name: freescout-db
volumes:
- ./db:/var/lib/mysql
environment:
- ROOT_PASS="${ROOT_PASS}"
- DB_NAME="${DB_NAME}"
- DB_USER="${DB_USER}"
- DB_PASS="${DB_PASS}"
- CONTAINER_NAME="${MARIADB_CONTAINER_NAME}"
restart: always

freescout-db-backup:
container_name: freescout-db-backup
image: tiredofit/db-backup
links:
- freescout-db
volumes:
- ./dbbackup:/backup
environment:
- CONTAINER_NAME="${BACKUP_CONTAINER_NAME}"
- DB_HOST="${DB_HOST}"
- DB_TYPE="${DB_TYPE}"
- DB_NAME="${DB_NAME}"
- DB_USER="${DB_USER}"
- DB_PASS="${DB_PASS}"
- DB01_BACKUP_INTERVAL="${DB01_BACKUP_INTERVAL}"
- DB01_BACKUP_BEGIN="${DB01_BACKUP_BEGIN}"
- DB_CLEANUP_TIME="${DB_CLEANUP_TIME}"
- COMPRESSION="${COMPRESSION}"
- MD5="${MD5}"
restart: always

networks:
default:
external: true
name: somename

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions