Unable to configure the Custom CSS extension
misaligar opened this issue · 3 comments
Error message:
Your CSS file is not writable, please change the file permissions for xExtension-CustomCSS/static/
Screenshot:
Installation Details:
Host: debian 12
FreshRSS: Docker latest installed from https://hub.docker.com/r/freshrss/freshrss
System: Intel N100
Docker Compose:
version: "3.8"
services:
freshrss:
network_mode: bridge
environment:
PUID: 1000
PGID: 1000
TZ: America/New_York
CRON_MIN: '2,32'
image: freshrss/freshrss:latest
container_name: freshrss
ports:
- 8080:80
restart: always
volumes:
- /home/lab/Docker/AppData/freshrss/data:/var/www/FreshRSS/data
- /home/lab/Docker/AppData/freshrss/extensions:/var/www/FreshRSS/extensions
Volume Permissions:
drwxr-xr-x 4 lab 4.0K Nov 16 22:49 .
drwxr-xr-x 7 lab 4.0K Nov 16 19:15 ..
drwxrwxr-x 9 lab 4.0K Nov 16 22:53 data
drwxr-xr-x 3 lab 4.0K Nov 18 09:19 extensions
drwxr-xr-x 4 lab 4.0K Oct 31 07:17 xExtension-CustomCSS
drwxr-xr-x 4 lab 4.0K Oct 31 07:17 .
drwxr-xr-x 3 lab 4.0K Nov 18 09:19 ..
-rw-r--r-- 1 lab 943 Oct 31 07:17 configure.phtml
-rw-r--r-- 1 lab 32K Oct 31 07:17 desktop_resolution.png
-rw-r--r-- 1 lab 1.3K Oct 31 07:17 extension.php
drwxr-xr-x 5 lab 4.0K Oct 31 07:17 i18n
-rw-r--r-- 1 lab 34K Oct 31 07:17 LICENSE
-rw-r--r-- 1 lab 207 Oct 31 07:17 metadata.json
-rw-r--r-- 1 lab 18K Oct 31 07:17 mobile_resolution.png
-rw-r--r-- 1 lab 2.4K Oct 31 07:17 README.md
drwxr-xr-x 2 lab 4.0K Oct 31 07:17 static
User ID:
lab@homelab:~/Docker/AppData/freshrss/extensions/xExtension-CustomCSS$ id
uid=1000(lab) gid=1000(lab) ...
You need to give permission access to the www-data
user or group (Apache)
I don't have www-data
on the host. I don't have Apache or any other web server installed on the host machine.
How do I give permission to www-data
in the FreshRSS container?
See the permisisons within the docker container:
docker exec freshrss ls -alh /var/www/FreshRSS/extensions
total 280K
drwxr-xr-x 3 1000 www-data 4.0K Nov 18 09:19 .
drwxr-xr-x 1 root www-data 4.0K Nov 18 15:30 ..
drwxr-xr-x 4 1000 www-data 4.0K Oct 31 07:17 xExtension-CustomCSS
I was able to fix the issue by running the commands in an earlier discussion
Any thoughts how I ended up having the wrong permissions in the very first place?