can't remove '/var/www/wallabag/var/cache': Invalid argument
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- docker, docker-compose, mariadb, shell
- Domain
- databases, devops, infrastructure
Research direction
Start by reproducing the failure with the supplied docker-compose configuration on Alpine and inspect the wallabag container startup output around the rm command. Compare the container's cache path and filesystem behavior with the image's startup process; done means the container starts successfully without the Invalid argument error while preserving the reported MariaDB setup.
Written by the indexing model from the issue text.
Description
Environment
Version: docker wallabag/wallabag
Installation: docker
PHP version:
Database: mysql
Parameters:
What steps will reproduce the bug?
When I execute the following command as root on Alpine
use docker-compsoe
services:
wallabag:
image: wallabag/wallabag
container_name: wallabag
environment:
- MYSQL_ROOT_PASSWORD=wallaroot
- SYMFONY__ENV__DATABASE_DRIVER=pdo_mysql
- SYMFONY__ENV__DATABASE_HOST=db
- SYMFONY__ENV__DATABASE_PORT=3306
- SYMFONY__ENV__DATABASE_NAME=wallabag
- SYMFONY__ENV__DATABASE_USER=wallabag
- SYMFONY__ENV__DATABASE_PASSWORD=wallapass
- SYMFONY__ENV__DATABASE_CHARSET=utf8mb4
- SYMFONY__ENV__REDIS_PORT=7379
- SYMFONY__ENV__DATABASE_TABLE_PREFIX="wallabag_"
- SYMFONY__ENV__MAILER_DSN=~
- [email protected]
- SYMFONY__ENV__DOMAIN_NAME=https://***:443
- SYMFONY__ENV__SERVER_NAME="wallabag"
ports:
- '6080:80'
volumes:
- /opt/wallabag/images:/var/www/wallabag/web/assets/images
- /opt/wallabag/data:/var/www/wallabag/data
healthcheck:
test: ["CMD", "wget" ,"--no-verbose", "--tries=1", "--spider", "http://localhost/"]
interval: 1m
timeout: 3s
depends_on:
- db
- redis
db:
image: mariadb
environment:
- MYSQL_ROOT_PASSWORD=wallaroot
ports:
- 3306:3306
volumes:
- /opt/mariadb/data:/var/lib/mysql
redis:
image: redis:alpine
ports:
- 7379:6379```
db_1 | Version: '11.0.2-MariaDB-1:11.0.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution
db_1 | 2023-07-05 6:50:40 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.24.0.4' (This connection closed normally without authentication)
wallabag | WARN: MySQL database is already configured. Remove the environment variable with root password.
wallabag | rm: can't remove '/var/www/wallabag/var/cache': Invalid argument
wallabag exited with code 1
- Dominant language
- Shell
- Stars
- 771
- Forks
- 168
- PR merge metrics
- No merged PRs in 30d
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from wallabag/docker
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 3/5 1-2 days Newbie friendliness 57/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Awaiting response
Difficulty 4/5 3-5 days Newbie friendliness 32/100
Similar issues
-
level/task type/enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
wazuh/wazuh-installation-assistant#1177 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
ComputeCanada/puppet-magic_castle#634 ·
Maintainers usually reply within 1 day
-
source:reader type:enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
stephrobert/blog-roadmap#115 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
pi-hole/docker-pi-hole#2087 ·
-
Python Volcengine provider returns failures instead of raising themPossibly taken @Ricardo-M-L claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
agent-infra/sandbox#248 ·