Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache Permissions not working correctly #203

Open
scottcaseproof opened this issue Dec 5, 2024 · 0 comments
Open

Cache Permissions not working correctly #203

scottcaseproof opened this issue Dec 5, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@scottcaseproof
Copy link

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

@scottcaseproof scottcaseproof added the bug Something isn't working label Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant