-
-
Notifications
You must be signed in to change notification settings - Fork 756
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
Unable to write in the "cache" directory #5520
Comments
I'm simply using docker image wallabag/wallabag |
Without much more code or snippet of what you've done, we can't help you. |
I had the same error here using Docker compose file (docker stack deploy): ---
version: '3.2'
services:
web:
image: wallabag/wallabag:2.4.3
networks:
- traefik-public
ports:
- 80
environment:
- POSTGRES_PASSWORD="xxx"
- POSTGRES_USER="wallabag"
- SYMFONY__ENV__DATABASE_DRIVER="pdo_pgsql"
- SYMFONY__ENV__DATABASE_HOST="xxx"
- SYMFONY__ENV__DATABASE_PORT=5432
- SYMFONY__ENV__DATABASE_NAME="wallabag"
- SYMFONY__ENV__DATABASE_USER="wallabag"
- SYMFONY__ENV__REDIS_PASSWORD="xxx"
- SYMFONY__ENV__SECRET="xxx"
- SYMFONY__ENV__MAILER_HOST="xxx"
- SYMFONY__ENV__MAILER_USER="xxx"
- SYMFONY__ENV__MAILER_PASSWORD="xxx"
- SYMFONY__ENV__FROM_EMAIL="xxx"
- SYMFONY__ENV__TWOFACTOR_AUTH=true
- SYMFONY__ENV__TWOFACTOR_SENDER="xxx"
- SYMFONY__ENV__FOSUSER_REGISTRATION=false
- SYMFONY__ENV__FOSUSER_CONFIRMATION=false
- SYMFONY__ENV__DOMAIN_NAME="xxx"
- SYMFONY__ENV__SERVER_NAME="xxx"
- SYMFONY__ENV__REDIS_HOST="xxx"
- SYMFONY__ENV__REDIS_PORT=6379
- SYMFONY__ENV__DATABASE_PASSWORD="xxx"
deploy:
labels:
- "traefik.enable=true"
- "traefik.http.routers.wallabag-router.rule=Host(`xxx`)"
- "traefik.http.services.wallabag-service.loadbalancer.server.port=80"
- "traefik.http.routers.wallabag-router.tls=true"
- "traefik.http.routers.wallabag-router.tls.certresolver=cloudflare"
- "traefik.docker.network=traefik-public"
networks:
traefik-public:
external: true Error Message:
Directory permissions:
After container restart it had the right permission (don't ask how, i just restarted the container):
|
I am also getting this. I am using the docker-compose.yml from wallabag/docker. Interestingly, I was not getting any issues until I changed
from their defaults. EDIT: I can confirm that resetting these to their default values has resolved the issue (I say resolved, but I can't sign in because I'm not getting any confirmation email...). EDIT 2: I added back these three variables one at a time, and everything is working now. I did change my email account password to remove troublesome special characters. |
@Kdecherf any idea? |
I just started a container from a compose file. Killing the container with |
Maybe, I must admit that I'm using a different approach for my personal docker container, I made a draft here: wallabag/docker#256 |
even though the issue is quite old, I try my luck and adding my comment by hoping this thread is still monitored. I'm running wallabag since quite a while as docker instaces by using docker-compose as mentioned in wallabag docker install section. I'm not 100% from which version I came from - the old image says 2.4.3 and 2.5.1 but with different id than on hub.docker.com. Howeve I'm hitting exact the same issue. Unable to write to cache and sessions directories. After I've added the directories and run a cache:clear i got the login page back in Docker conatiner "wallabag" However my previous credentials are not recognized. Before doing any destructive testings, I though to bring up a fresh instance with same docker-compose but different data directories. On the fresh instance I was able to login with default credentials wallabag/wallabag after addid the directories. In any case I think the docker container is missing the directories and RUN commands to create and chown the directory should be added. Will test later if I can login into my updated instance after I change back the SYMFONY__ENV__MAILER_* settings to default as mentioned earlier in this thread (#5520 (comment)) Thanks, |
On a fresh instance of self hosted wallabag, I get this error related to cache directory
The text was updated successfully, but these errors were encountered: