-
Notifications
You must be signed in to change notification settings - Fork 157
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
can't remove '/var/www/wallabag/var/cache': Invalid argument #347
Comments
Same issue here, just on LXC container Debian Bookworm on Proxmox. Oh and i wanna use a already running maraidb on a different host :-( |
Same here. Log output. LXC with ubuntu and portainer. Checked Status Recommendation PDO Driver (pdo_mysql) OK! Database connection OK! Database version OK! curl_exec OK! curl_multi_init OK! [OK] Success! Your system can run wallabag properly. Step 2 of 4: Setting up database. Creating schema... Clearing the cache... Database successfully setup. Step 3 of 4: Administration setup. Administration successfully setup. Step 4 of 4: Config setup. Config successfully setup. [OK] wallabag has been successfully installed. [OK] You can now configure your web server, see https://doc.wallabag.org rm: can't remove '/var/www/wallabag/var/cache': Invalid argument |
Same here on CentOS 7. To work around the problem temporarily, I downgraded wallabag/wallabag from version 2.5.4 to 2.5.2. |
I can confirm that downgrading to wallabag version 2.5.2 solves the issue. Database type doesn’t matter. Tested on lxc Debian 12. |
As a workaround I am building my own wallabag container for this purpose with the following Dockerfile: FROM wallabag/wallabag:2.6.6 RUN sed -i 's/rm -f -r /var/www/wallabag/var/cache/echo "Disable cache delete"/g' /entrypoint.sh Seems this helps for my environment. But I still don't understand why the rm command is not possible and has to be ommited. |
Downgrading to 2.5.2 fixed things here, still broken on latest |
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
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
The text was updated successfully, but these errors were encountered: