sudo yunohost app shell wallabag2
php -m
special characters in the password are a problem
The password includes special characters, but which the Github issue you pointed out lists as allowed.
It could also be that the currently running PHP Version does not have php_pdo enabled
sudo yunohost app shell wallabag2
php -m
outputs:
wallabag2@server:~$ php -m
[PHP Modules]
calendar
Core
ctype
date
dom
exif
FFI
fileinfo
filter
ftp
gettext
hash
iconv
json
libxml
openssl
pcntl
pcre
PDO
Phar
posix
readline
Reflection
session
shmop
SimpleXML
sockets
sodium
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
xml
xmlreader
xmlwriter
xsl
Zend OPcache
zlib
[Zend Modules]
Zend OPcache
Note that loosing the user data is not such a big deal for me here. There is not so much, and I was able to find it in the DB dump of the autobackup.
However, uninstalling and then reinstalling Wallabag from YNH catalog (not from backup) leads to the same issue. And I notice that it seems to be the same on the YNH demo instance…
Same here with 2.5.4~ynh8, except I run YNH 11.3.0.2, and pdo_mysql and pdo_sqlite are enabled.
Grand merci pour cette solution ![]()
For me, there is no solution: I uninstalled Wallabag and reinstalled it again: “invalid credentials” error after login with the admin user stated at installation over yunohost.
Yunohost: 11.3.0.2
Wallabag: 2.5.4~ynh9
This issue has been the same for months (at least that’s my feeling). So I hope one day there will be an out-of-the-box solution. My data are lost anyway.
Didn’t you make a backup (I mean the automated one) before the upgrade ?
You can still install an older version, before this issue happened.
I believe this is the last one (prior to the issue): yunohost app install https://github.com/YunoHost-Apps/wallabag2_ynh/tree/088f79ee1b99138e26319231062a21965b6d23d1
I use @Ekpu tips referenced in #22 post, and it works easily!
cd /var/www/wallabag2
bin/console --env=prod fos:user:change-password
Please give the username:myusername
Please enter the new password:
Changed password for user myusername
I set the same password that I used before the problem, and login is back!
I updated issue#217 also.
Remaining problem is: I did it for only one user…
I can confirm that the 2.5.4~ynh4 version works correctly
Update from Wallabag Version 2.5.4~ynh4 to Wallabag Version 2.5.4~ynh9 through Yunohost Upgrade Process 12.0.7 leaves the app inaccessible using credentials on user interface.
Backup to Wallabag Version 2.5.4~ynh4 worked fine.
Hardware: Internet Cube / Olimex Lime2 ARM board
YunoHost version: 12.0.7 (stable)
I have access to my server : Through SSH | Through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
Related app, specify its name and version: Wallabag 2.5.4~ynh9
Use the workaroundfrom @tmichel Cannot log in with latest Wallabag update - #68 by tmichel
I get this same output also
It didn’t work for me, I had to use the above workaround.
Do you not get the same errors that @Supbol and me are getting?
Same issue. I had to apply the workaround before the upgrade though (I did not understand that).
So is it new installs which are just fully broken trying to login?
I don’t know if it is related, but I can’t set up the wallabag Firefox extension, it doesn’t recognize my Wallabag url. Could it be because of the workaround for log in in Wallabag?
It seems related as I just did a new install of Wallabag without applying the workaround to log in (so I can’t log in
) and I can set up the Wallabag Firefox extension… my Wallabag url is recognized then.
I too (like @Iammee) have a similar problem. The CLI command returns errors. As of now wallabag is unusable for me ![]()
I’m on first install so no backups and even installing a previous version of the software won’t work.
I have the same issue since the last migration : ‘Invalid credentials’ on the wallabag login page. I tried :
- removing wallabag and installing again with
yunohost app install wallabag2but the install fails with the following error :
Info: DEBUG - ++ mysql -B wallabag2
Info: DEBUG - ++ tail -n1
Info: DEBUG - ++ cut -f2
Info: DEBUG - + default_character_set=utf8mb4
Info: WARNING - /usr/share/yunohost/helpers.v2.1.d/mysql: line 36: character_set: unbound variable
Info: DEBUG - ++ ynh_exit_properly
Warning: Removing the app after installation failure…
- restoring wallabag from a previous backup : the restoration works but the app is still blocked on the ‘invalid credentials’ error. The suggested workaround doesn’t work for me :
In AbstractMySQLDriver.php line 128:
An exception occurred in driver: could not find driver
In Exception.php line 18: could not find driver
In PDOConnection.php line 40: could not find driver
In both cases it seems like there is an error with mysql, maybe due to the app helpers changes in the migration?
Current versions :
$ yunohost tools versions
yunohost :
version: 12.0.8.2
$ yunohost app info wallabag
version: 2.5.4~ynh8
$ yunohost tools migrations state
migrations:
0021_migrate_to_bullseye: skipped
0022_php73_to_php74_pools: skipped
0023_postgresql_11_to_13: skipped
0024_rebuild_python_venv: skipped
0025_global_settings_to_configpanel: skipped
0026_new_admins_group: skipped
0027_migrate_to_bookworm: done
0028_delete_legacy_xmpp_permission: done
0029_postgresql_13_to_15: done
0030_rebuild_python_venv_in_bookworm: done
0031_terms_of_services: done
I’ve been trying to solve this issue for a few weeks but can’t do it alone, I’d love some tips if anyone knows more than me. Thank you