no problem with raspberry pi 3B
Testing works correctly from web interface and android app
Great, then Iām merging it as a normal release
I donāt understand, 2FA is active after this upgrade.
Iām pretty sure i donāt activate it before the upgrade. I must have disable it in database to access to wallabag again because i donāt receive mail with the code:
mysql
USE wallabag2;
UPDATE user SET emailtwofactor='0';
Weird, Iām not aware of any change on that part, and it did not happen to me.
ping @tcit
To be sure, i reinstall the backup. I can login with my user, no 2FA. After upgrade the app, it is the same as 15 days ago, 2FA is active and donāt send me the password.
Ok then it might be better to file a bug report upstream to Wallabag team, they might also provide some help on how to diagnose thisā¦
Hi
I have to manually edit wallabag.yml
and then clear:cache to apply changes (IIRC), but I have problems to use bin/console
CLI.
Maybe Iām doing something wrong but it tries to read config_=prod.yml
with a ā=ā in the name, but we have
config_prod.yml
in our app/config folder. I donāt not feel safe to manually edit any of the Filelocator.php files in app.
Please would anyone tell me if I should proceed in a different way? thank you.
Here what I did
(edit: in this example I use help
as an example, c:c
or any other command shows the same error)
root@ynh:/var/www/wallabag2# php bin/console help -e=prod
In FileLocator.php line 44:
The file "/var/www/wallabag2/app/config/config_=prod.yml" does not exist.
root@ynh:/var/www/wallabag2# find /var/www/wallabag2 -name "FileLocator.php"
/var/www/wallabag2/vendor/jms/metadata/src/Driver/FileLocator.php
/var/www/wallabag2/vendor/ocramius/proxy-manager/src/ProxyManager/FileLocator/FileLocator.php
/var/www/wallabag2/vendor/liip/theme-bundle/Locator/FileLocator.php
/var/www/wallabag2/vendor/doctrine/persistence/lib/Doctrine/Persistence/Mapping/Driver/FileLocator.php
/var/www/wallabag2/vendor/doctrine/persistence/lib/Doctrine/Common/Persistence/Mapping/Driver/FileLocator.php
/var/www/wallabag2/vendor/symfony/symfony/src/Symfony/Component/Config/FileLocator.php
/var/www/wallabag2/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Config/FileLocator.php
To begin with, php should be used in the right version and context for the app.
yunohost app shell wallabag2
to run everything as the wallabag2 user, and then use php7.4
instead of just php
.
Does that change anything ?
many thanks for your help
should I open an issue in github? ynh-package
now itās a chmod/own issue
(itās wallabag2, as wallabag app does not exist in the system)
root@ynh:~# yunohost app shell wallabag2
[...]
+ env_dir=/var/www/wallabag2
+ cd /var/www/wallabag2
+ su -s /bin/bash wallabag2
wallabag2@ynh:~$ php7.4 bin/console c:c -e=prod
In Kernel.php line 648:
Warning: file_put_contents(/var/www/wallabag2/var/cache/=prod/app=prodDebugProjectContainerDeprecations.log): failed to open st
ream: Permission denied
In Kernel.php line 768:
Unable to write in the "cache" directory (/var/www/wallabag2/var/cache/=prod).
In my wallabag installation there is not a =prod
directory but a simple prod
.
ls -l /var/www/wallabag2/var/cache/
total 4
drwxr-xr-x 9 wallabag2 wallabag2 4096 Mar 18 10:10 prod
P.S.: I am not an expert
thank you @lnoferin
reading documentation -e
(environment) variable is set using =
but I guess it is not the case now.
So I
wallabag2@ynh:~$ php7.4 bin/console c:c -e prod
// Clearing the cache for the prod environment with debug false
[OK] Cache for the "prod" environment (debug=false) was successfully cleared.
thanks . Issue solved and
updated my notes.
Scraping for many websites has stopped working. It seems this has been fixed on newer versions of Wallabag.
YunoHost uses version 2.5.4 (february 2023) when the main branch is on 2.6.9
When can we expect an update?
I donāt want this to sound entitled, Iām very grateful for the work the maintainer is doing, but right now itās not working for me and Iād like to know if I should wait or install an updated version of Wallabag myself.
Wallabag will be updated when someone fixes 2.6.9 branch
Thanks for the info. Ah I see youāre working on it; good luck!
thank you for your work