can't remove '/var/www/wallabag/var/cache': Invalid argument
- Dominant language
- Shell
- Stars
- 769
- Forks
- 168
- PR merge metrics
- No merged PRs in 30d
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
```version: '3'
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=~
- SYMFONY__ENV__FROM_EMAIL=403067783@qq.com
- 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
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.