Hi, I’m trying to install wallabag V2 but it doesn’t work, here is the log from the admin panel:
`wallabag2 n’a pas été supprimé correctement
/usr/share/yunohost/helpers.d/mysql: line 62: 1: unbound variable
Removing database
ynh_mysql_drop_db
echo 'Removing database ’
mysqlshow -u root -pfa2fO5o2E3
grep -q '^| ’
local mysql_root_password=fa2fO5o2E3
++ sudo cat /etc/yunohost/mysql
local db_name=
local db_user=wallabag2
ynh_mysql_remove_db wallabag2 ''
E: Unable to locate package wallabag2-ynh-deps
I previously installed wallabag(V1), I deleted it and then I tried to install wallabag V2. Maybe it’s the main problem?
I guess I should manage the mysql database, but I don’t know how, and furthemore I don’t know if it would be a clean way to do.
I don’t know if I have to talk about this kind of issue on GIthub, or the yunohost forum?
Could you please run the installation from command-line, with yunohost app install https://github.com/YunoHost-Apps/wallabag2_ynh --verbose (the verbose option is important to get the full log)
Then you can copy it here or upload it somewhere (like: https://paste.yunohost.org/)
And first run yunohost app list -i | greb wallabag (the result should be blank if wallabag is not installed)
For my part, it doesn’t really matter, you opened this topic so let’s use it
In theory it’s better to open an issue on github to keep track of all the bug reports, but the issue is related to a misconfiguration/bug of your Yunohost instance (so not linked to wallabag app) help from other people here can be useful.
I’ve seen this issue in the past (probably the solution is in this topic: Wallabag v2 - intégration dans yunohost?).
It was perfectly working on my side, and another try solved the issue, if I remember well.
Not an ascii error, but a wrong manifest file or something like this. The line “version” doesn’t have the right content.
You need to be root or use sudo to reach dpkg-reconfigure (e.g. sudo /usr/sbin/dpkg-reconfigure).
The E: Unable to locate package wallabag2-ynh-deps is perfectly normal in your case, as the installation fails, yunohost tries to remove the package, and the dependencies hadn’t had time to get installed.