can't run the install process of wallabag (docker / raspberry pi)
Environment
- Version: latest docker image
- Installation: docker
- PHP version: n/a
- OS: raspberry
- Database: sqlite
- Parameters: n/a
I'm trying to install Wallabag on a raspberry pi so I know I should maybe file an issue into the wallabag/docker repository. But as I am installing Wallabg on a raspberry pi host rather that on an amd64 host, it would maybe not be the right place.
Since I don't really know if the problem comes from the Wallabag layer, the Docker layer, or the raspberry pi layer, I'm filing this issue here, and I'll move it elsewhere if needed.
My first surprise is that Wallabag do not create his own database when starting. It might not be a problem when using a standard install on a VPS, but it is definitely annoying when using containers. I don't think that the POPULATE_DATABASE parameter is effective.
The second problem is that even on a manual install, I can't make it succeed as i get an error when installing:
PHP Warning: require(/var/www/wallabag/var/cache/pro_/ContainerDccsckm/getRouting_LoaderService.php): failed to open stream: No such file or directory in /var/www/wallabag/var/cache/prod/ContainerDccsckm/appProdProjectContainer.php on line 1430 PHP Fatal error: require(): Failed opening required '/var/www/wallabag/var/cache/pro_/ContainerDccsckm/getRouting_LoaderService.php' (include_path='.:') in /var/www/wallabag/var/cache/prod/ContainerDccsckm/appProdProjectContainer.php on line 1430
My log from install are below:
``` $ docker exec -t dd6ccaedf294 /var/www/wallabag/bin/console wallabag:install --env=prod --no-interactionwallabag installer
Step 1 of 4: Checking system requirements.
Checked Status Recommendation
PDO Driver (pdo_sqlite) 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.
Clearing the cache... PHP Warning: require(/var/www/wallabag/var/cache/pro_/ContainerDccsckm/getRouting_LoaderService.php): failed to open stream: No such file or directory in /var/www/wallabag/var/cache/prod/ContainerDccsckm/appProdProjectContainer.php on line 1430 PHP Fatal error: require(): Failed opening required '/var/www/wallabag/var/cache/pro_/ContainerDccsckm/getRouting_LoaderService.php' (include_path='.:') in /var/www/wallabag/var/cache/prod/ContainerDccsckm/appProdProjectContainer.php on line 1430
In appProdProjectContainer.php line 1430:
Compile Error: require(): Failed opening required '/var/www/wallabag/var/cache/pro_/ContainerDccsckm/getRouting_LoaderService.php' (include_path='.:')
cache:clear [--no-warmup] [--no-optional-warmers] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--]
</details>
### What steps will reproduce the bug?
<!--
Enter details about your bug and how to reproduce it
-->
Unfortunately, wallabag official does not seem to provide any support for docker arm architecture. That is a shame as now with docker buildx should be much easier to produce proper images.
If you guys are still looking for an arm build, I made one for myself with docker buildx for amd64 and arm64:
https://github.com/Michaelpalacce/Docker/tree/master/wallabag
Docker hub: https://hub.docker.com/repository/docker/stefangenov/wallabag
It's the same one from here :P
If you guys are still looking for an arm build, I made one for myself with docker buildx for amd64 and arm64:
https://github.com/Michaelpalacce/Docker/tree/master/wallabag
Docker hub: https://hub.docker.com/repository/docker/stefangenov/wallabag
It's the same one from here :P
latest: Pulling from stefangenov/wallabag ERROR: no matching manifest for linux/arm/v7 in the manifest list entries
Raspi4 (32bit OS)
If you guys are still looking for an arm build, I made one for myself with docker buildx for amd64 and arm64:
https://github.com/Michaelpalacce/Docker/tree/master/wallabag
Docker hub: https://hub.docker.com/repository/docker/stefangenov/wallabag
It's the same one from here :P
latest: Pulling from stefangenov/wallabag ERROR: no matching manifest for linux/arm/v7 in the manifest list entries
Raspi4 (32bit OS)
Yeah I need to add arm/v7. Will do it in a bit
@moezkorkmaz try again. You may need to do a docker pull first
@Michaelpalacce Have you moved your GitHub repository?
Can you please also list what architecture is your image supporting? ARMv7 and what else? Is there anything available for ARMv6?
I did actually... I wanted to make a pipeline..
https://github.com/Michaelpalacce/docker-wallabag
Here is the correct one.
Amd64/arm64/armv7 now. I can add more to the build as well it's pretty easy
Well, as said in my previous comment, I'll be very happy to have an armv6 build...
@oupala done :)
Too fast to be true... ;-)
It's really easy when you have the base, just list the new architecture
@j0k3r I think this is solved. Wallabag 2.5 has Docker images for ARM https://hub.docker.com/r/wallabag/wallabag/tags