Wallabag : error 403

Hello,

I tried To install wallabag on a subdomain but i get a 403 error. I tried with other subdomain, same issue

Any advice ?

Thanks

Did you install it on the root of the domain ? (or under /wallabag for instance)
Can you provide Nginx’s log ? (via PM if needed)

Hello

I have the same issue. I have tried to install Wallabag on the subdomain read.domain.tld, at the root of the subdomain, where I then gets the error 403. However, when I install it on domain.tld/wallabag it works. I have tried to look at the error and access log for Nginx, but I can’t really find a solution.

My error logs are as seen below.

/var/log/nginx/read.domain.tld-access.log

148.251.172.50 - - [03/Jun/2017:05:43:46 -0400] “HEAD / HTTP/1.1” 302 0 “-” "python-requests/2.4.3 CPython/2.7.9 Linux/2.6.32-042stab123.3"
148.251.172.50 - - [03/Jun/2017:05:43:50 -0400] “HEAD / HTTP/1.1” 302 0 “-” "python-requests/2.4.3 CPython/2.7.9 Linux/2.6.32-042stab123.3"
148.251.172.50 - - [03/Jun/2017:05:43:51 -0400] “HEAD / HTTP/1.1” 302 0 “-” "python-requests/2.4.3 CPython/2.7.9 Linux/2.6.32-042stab123.3"
148.251.172.50 - - [03/Jun/2017:05:43:52 -0400] “GET /.well-known/acme-challenge/vEbRgQfUsmZQS6vBYQC5LJx134WlVhiByV_0lAkfCKQ HTTP/1.1” 200 87 “-” "Python-urllib/2.7"
66.133.109.36 - - [03/Jun/2017:05:43:53 -0400] “GET /.well-known/acme-challenge/vEbRgQfUsmZQS6vBYQC5LJx134WlVhiByV_0lAkfCKQ HTTP/1.1” 200 87 “-” "Mozilla/5.0 (compatible; Let’s Encrypt validation server; +https://www.letsencrypt.org)"
148.251.172.50 - - [03/Jun/2017:05:43:57 -0400] “HEAD / HTTP/1.1” 302 0 “-” "python-requests/2.4.3 CPython/2.7.9 Linux/2.6.32-042stab123.3"
148.251.172.50 - - [03/Jun/2017:05:43:57 -0400] “HEAD / HTTP/1.1” 302 0 “-” "python-requests/2.4.3 CPython/2.7.9 Linux/2.6.32-042stab123.3"
148.251.172.50 - - [03/Jun/2017:06:25:03 -0400] “HEAD / HTTP/1.1” 302 0 “-” "python-requests/2.4.3 CPython/2.7.9 Linux/2.6.32-042stab123.3"
89.186.175.193 - - [03/Jun/2017:08:58:10 -0400] “GET / HTTP/1.1” 301 248 “-” "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0"
89.186.175.193 - control [03/Jun/2017:08:58:10 -0400] “GET / HTTP/1.1” 403 173 “-” "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0"
89.186.175.193 - - [03/Jun/2017:08:58:10 -0400] “GET /ynhpanel.js HTTP/1.1” 200 10934 “https://read.domain.tld/” "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0"
89.186.175.193 - control [03/Jun/2017:08:58:10 -0400] “GET /favicon.ico HTTP/1.1” 404 136 “-” "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0"
89.186.175.193 - control [03/Jun/2017:08:58:11 -0400] “GET /ynhpanel.json HTTP/1.1” 200 2134 “https://read.domain.tld/” "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0"
89.186.175.193 - - [03/Jun/2017:08:58:11 -0400] “GET /ynhpanel.css HTTP/1.1” 200 113127 “https://read.domain.tld/” "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0"
89.186.175.193 - control [03/Jun/2017:08:58:20 -0400] “GET / HTTP/1.1” 403 173 “https://domain.tld/yunohost/admin/” "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0"
89.186.175.193 - - [03/Jun/2017:08:58:20 -0400] “GET /ynhpanel.js HTTP/1.1” 200 10934 “https://read.domain.tld/” "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0"
89.186.175.193 - control [03/Jun/2017:08:58:20 -0400] “GET /ynhpanel.json HTTP/1.1” 200 2134 “https://read.domain.tld/” "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0"
89.186.175.193 - - [03/Jun/2017:08:58:20 -0400] “GET /ynhpanel.css HTTP/1.1” 200 113127 “https://read.domain.tld/” "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0"
89.186.175.193 - control [03/Jun/2017:08:58:33 -0400] “GET / HTTP/1.1” 403 173 “-” "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0"
89.186.175.193 - - [03/Jun/2017:08:58:34 -0400] “GET /ynhpanel.js HTTP/1.1” 200 10934 “https://read.domain.tld/” "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0"
89.186.175.193 - control [03/Jun/2017:08:58:34 -0400] “GET /ynhpanel.json HTTP/1.1” 200 2134 “https://read.domain.tld/” "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0"
89.186.175.193 - - [03/Jun/2017:08:58:34 -0400] “GET /ynhpanel.css HTTP/1.1” 200 113127 “https://read.domain.tld/” "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0"
89.186.175.193 - - [03/Jun/2017:08:59:06 -0400] “GET / HTTP/1.1” 403 173 “https://domain.tld/yunohost/admin/” "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0"
89.186.175.193 - - [03/Jun/2017:08:59:06 -0400] “GET /ynhpanel.js HTTP/1.1” 404 136 “https://read.domain.tld/” "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0"
89.186.175.193 - - [03/Jun/2017:08:59:13 -0400] “GET / HTTP/1.1” 403 173 “-” "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0"
89.186.175.193 - - [03/Jun/2017:08:59:13 -0400] “GET /ynhpanel.js HTTP/1.1” 404 136 “https://read.domain.tld/” "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0"
89.186.175.193 - - [03/Jun/2017:09:02:44 -0400] “GET / HTTP/1.1” 403 173 “-” "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0"
89.186.175.193 - - [03/Jun/2017:09:02:44 -0400] “GET /ynhpanel.js HTTP/1.1” 404 136 “https://read.domain.tld/” "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0"
89.186.175.193 - - [03/Jun/2017:09:04:36 -0400] “GET / HTTP/1.1” 403 173 “-” "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0"
89.186.175.193 - - [03/Jun/2017:09:04:36 -0400] “GET /ynhpanel.js HTTP/1.1” 404 136 “https://read.domain.tld/” "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0"
89.186.175.193 - - [03/Jun/2017:09:04:43 -0400] “GET / HTTP/1.1” 403 173 “-” "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0"
89.186.175.193 - - [03/Jun/2017:09:04:43 -0400] “GET /ynhpanel.js HTTP/1.1” 404 136 “https://read.domain.tld/” "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0"
89.186.175.193 - - [03/Jun/2017:09:12:31 -0400] “GET / HTTP/1.1” 403 173 “-” "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0"
89.186.175.193 - - [03/Jun/2017:09:12:31 -0400] “GET /ynhpanel.js HTTP/1.1” 404 136 “https://read.domain.tld/” “Mozilla/5.0 (Windows NT 10.0; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0”

/var/log/nginx/read.domain.tld-error.log

2017/06/03 08:58:10 [error] 20570#0: *1006 directory index of “/var/www/wallabag” is forbidden, client: 89.186.175.193, server: read.domain.tld, request: “GET / HTTP/1.1”, host: "read.domain.tld"
2017/06/03 08:58:10 [error] 20570#0: *1006 open() “/usr/share/nginx/htmlindex.php” failed (2: No such file or directory), client: 89.186.175.193, server: read.domain.tld, request: “GET /favicon.ico HTTP/1.1”, host: "read.domain.tld"
2017/06/03 08:58:20 [error] 20570#0: *1006 directory index of “/var/www/wallabag” is forbidden, client: 89.186.175.193, server: read.domain.tld, request: “GET / HTTP/1.1”, host: “read.domain.tld”, referrer: "https://domain.tld/yunohost/admin/"
2017/06/03 08:58:33 [error] 20570#0: *1006 directory index of “/var/www/wallabag” is forbidden, client: 89.186.175.193, server: read.domain.tld, request: “GET / HTTP/1.1”, host: "read.domain.tld"
2017/06/03 08:59:06 [error] 20675#0: *1 directory index of “/var/www/wallabag” is forbidden, client: 89.186.175.193, server: read.domain.tld, request: “GET / HTTP/1.1”, host: “read.domain.tld”, referrer: "https://domain.tld/yunohost/admin/"
2017/06/03 08:59:06 [error] 20675#0: *1 open() “/usr/share/nginx/htmlindex.php” failed (2: No such file or directory), client: 89.186.175.193, server: read.domain.tld, request: “GET /ynhpanel.js HTTP/1.1”, host: “read.domain.tld”, referrer: "https://read.domain.tld/"
2017/06/03 08:59:13 [error] 20675#0: *2 directory index of “/var/www/wallabag” is forbidden, client: 89.186.175.193, server: read.domain.tld, request: “GET / HTTP/1.1”, host: "read.domain.tld"
2017/06/03 08:59:13 [error] 20675#0: *2 open() “/usr/share/nginx/htmlindex.php” failed (2: No such file or directory), client: 89.186.175.193, server: read.domain.tld, request: “GET /ynhpanel.js HTTP/1.1”, host: “read.domain.tld”, referrer: "https://read.domain.tld/"
2017/06/03 09:02:44 [error] 20934#0: *66 directory index of “/var/www/wallabag” is forbidden, client: 89.186.175.193, server: read.domain.tld, request: “GET / HTTP/1.1”, host: "read.domain.tld"
2017/06/03 09:02:44 [error] 20934#0: *66 open() “/usr/share/nginx/htmlindex.php” failed (2: No such file or directory), client: 89.186.175.193, server: read.domain.tld, request: “GET /ynhpanel.js HTTP/1.1”, host: “read.domain.tld”, referrer: "https://read.domain.tld/"
2017/06/03 09:04:36 [error] 21241#0: *113 directory index of “/var/www/wallabag” is forbidden, client: 89.186.175.193, server: read.domain.tld, request: “GET / HTTP/1.1”, host: "read.domain.tld"
2017/06/03 09:04:36 [error] 21241#0: *113 open() “/usr/share/nginx/htmlindex.php” failed (2: No such file or directory), client: 89.186.175.193, server: read.domain.tld, request: “GET /ynhpanel.js HTTP/1.1”, host: “read.domain.tld”, referrer: "https://read.domain.tld/"
2017/06/03 09:04:43 [error] 21241#0: *114 directory index of “/var/www/wallabag” is forbidden, client: 89.186.175.193, server: read.domain.tld, request: “GET / HTTP/1.1”, host: "read.domain.tld"
2017/06/03 09:04:43 [error] 21241#0: *114 open() “/usr/share/nginx/htmlindex.php” failed (2: No such file or directory), client: 89.186.175.193, server: read.domain.tld, request: “GET /ynhpanel.js HTTP/1.1”, host: “read.domain.tld”, referrer: "https://read.domain.tld/"
2017/06/03 09:12:31 [error] 21937#0: *238 directory index of “/var/www/wallabag” is forbidden, client: 89.186.175.193, server: read.domain.tld, request: “GET / HTTP/1.1”, host: "read.domain.tld"
2017/06/03 09:12:31 [error] 21937#0: *238 open() “/usr/share/nginx/htmlindex.php” failed (2: No such file or directory), client: 89.186.175.193, server: read.domain.tld, request: “GET /ynhpanel.js HTTP/1.1”, host: “read.domain.tld”, referrer: “https://read.domain.tld/

Any help on this issue will be greatly appreciated.

Restarting nginx does nothing ?

Just to be sure, can you run the installation with --verbose option, to see if everything is working correctly ?

@JimboJoe do you have any clue regarding this issue ?

Thank you for the reply Lapineige.

Restarting Nginx does unfortunately not solve the problem.

I am not sure how to install Wallabag with the commandline? If I want to install Wallabag on read.domain.tld will the below-mentioned command install Wallabag?
yunohost app install -l Wallabag -a “domain=read.domain.tld” https://github.com/YunoHost-Apps/wallabag_ynh --verbose

I have just seen that you have a app for YunoHost with the version 2 of Wallabag, I will try to install that.

Looking forward to your reply.

The problem seems systematic with Wallabag (v1). As this package is (very) unfortunately not really maintained, the objective for the YunoHost team is to make an official Wallabag2 package whenever possible.

As you’ve already discovered it, it is a work in progress here: https://github.com/YunoHost-Apps/wallabag2_ynh
Is has been developed for a while, but we are currently pushing hard at making it official. Don’t hesitate to install it, my personal opinion is that it’s now 100% functional :wink:

1 Like

Oh I didn’t see it was v1.x and not v2.x. As well as @JimboJoe I recommend you to use v2 instead :wink:

+1 :slight_smile:

Hello JimboJoe and Lapineige

Thank you for replying :slight_smile:

I am really unlucky today I think, because YunoHost will unfortunately not install the Wallabag2 version. I get the following error:
E: Unable to locate package wallabag2-ynh-deps

I can see that this error might be common, when searching online, so I will try to find a solution.

You can install using the command line to activate some debug logs:

yunohost app install https://github.com/YunoHost-Apps/wallabag2_ynh --verbose

You’ll be asked for required parameters during installation.

By the way, what is you hardware architecture (x86, ARM) and your YunoHost version?

Hello JimboJoe

Thank you for the help.

I get the following errors when trying to install it.

Installation - please see warnings

root@Yuno:~# yunohost app install https://github.com/YunoHost-Apps/wallabag2_ynh --verbose
Downloading…
Extracting…
Done
Checking required packages…
Available domains:

  • domain.tld
  • pad.domain.tld
  • read.domain.tld
  • board.domain.tld
  • cloud.domain.tld
  • investering-voe.de
    Choose a domain for Wallabag (default: domain.tld): read.domain.tld
    Choose a path for Wallabag (default: /wallabag): /
    Choose the Wallabag administrator: control@domain.tld
    Executing script ‘/var/cache/yunohost/from_file/wallabag2_ynh-master/scripts/install’…
  • source _common.sh
    ++ PKG_DEPENDENCIES=‘php5-cli php5-mysql php5-json php5-gd php5-tidy php5-curl php-gettext redis-server’
    +++ pwd
    ++ YNH_EXECUTION_DIR=/var/cache/yunohost/from_file/wallabag2_ynh-master/scripts
  • source /usr/share/yunohost/helpers
    +++ run-parts --list /usr/share/yunohost/helpers.d
    ++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
    ++ ‘[’ -r /usr/share/yunohost/helpers.d/filesystem ‘]’
    ++ . /usr/share/yunohost/helpers.d/filesystem
    +++ CAN_BIND=1
    ++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
    ++ ‘[’ -r /usr/share/yunohost/helpers.d/ip ‘]’
    ++ . /usr/share/yunohost/helpers.d/ip
    ++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
    ++ ‘[’ -r /usr/share/yunohost/helpers.d/mysql ‘]’
    ++ . /usr/share/yunohost/helpers.d/mysql
    +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
    ++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
    ++ ‘[’ -r /usr/share/yunohost/helpers.d/package ‘]’
    ++ . /usr/share/yunohost/helpers.d/package
    ++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
    ++ ‘[’ -r /usr/share/yunohost/helpers.d/print ‘]’
    ++ . /usr/share/yunohost/helpers.d/print
    ++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
    ++ ‘[’ -r /usr/share/yunohost/helpers.d/setting ‘]’
    ++ . /usr/share/yunohost/helpers.d/setting
    ++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
    ++ ‘[’ -r /usr/share/yunohost/helpers.d/string ‘]’
    ++ . /usr/share/yunohost/helpers.d/string
    ++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
    ++ ‘[’ -r /usr/share/yunohost/helpers.d/user ‘]’
    ++ . /usr/share/yunohost/helpers.d/user
    ++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
    ++ ‘[’ -r /usr/share/yunohost/helpers.d/utils ‘]’
    ++ . /usr/share/yunohost/helpers.d/utils
  • ynh_abort_if_errors
  • set -eu
  • trap ynh_exit_properly EXIT
  • app=wallabag2
  • domain=read.domain.tld
  • path_url=/
  • admin=control@domain.tld
    ++ ynh_normalize_url_path /
    ++ path_url=/
    ++ test -n /
    ++ ‘[’ / ‘!=’ / ‘]’
    ++ ‘[’ / == / ‘]’
    ++ ‘[’ 1 -gt 1 ‘]’
    ++ echo /
  • path_url=/
  • CHECK_DOMAINPATH
  • sudo yunohost app checkurl read.domain.tld/ -a wallabag2
  • CHECK_FINALPATH
  • final_path=/var/www/wallabag2
  • test ‘!’ -e /var/www/wallabag2
  • ynh_app_setting_set wallabag2 domain read.domain.tld
  • sudo yunohost app setting wallabag2 domain -v read.domain.tld --quiet
  • ynh_app_setting_set wallabag2 path_url /
  • sudo yunohost app setting wallabag2 path_url -v / --quiet
  • ynh_app_setting_set wallabag2 admin control@domain.tld
  • sudo yunohost app setting wallabag2 admin -v control@domain.tld --quiet
  • ynh_install_app_dependencies ‘php5-cli php5-mysql php5-json php5-gd php5-tidy php5-curl php-gettext redis-server’
  • dependencies=‘php5-cli php5-mysql php5-json php5-gd php5-tidy php5-curl php-gettext redis-server’
  • manifest_path=…/manifest.json
  • ‘[’ ‘!’ -e …/manifest.json ‘]’
    ++ sudo python3 -c ‘import sys, json;print(json.load(open("…/manifest.json"))[’’‘version’’’])'
    Warning: Traceback (most recent call last):
    Warning: File “”, line 1, in
    Warning: File “/usr/lib/python3.4/json/init.py”, line 265, in load
    Warning: return loads(fp.read(),
    Warning: File “/usr/lib/python3.4/encodings/ascii.py”, line 26, in decode
    Warning: return codecs.ascii_decode(input, self.errors)[0]
    Warning: UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0xc3 in position 206: ordinal not in range(128)
  • version=
  • ynh_exit_properly
  • exit_code=1
  • ‘[’ 1 -eq 0 ‘]’
  • trap ‘’ EXIT
  • set +eu
  • echo -e ‘!!\n wallabag2’’‘s script has encountered an error. Its execution was cancelled.\n!!’
  • type -t ynh_clean_setup
  • ynh_die
  • echo ‘’
  • exit 1
    Warning: !!
    Warning: wallabag2’s script has encountered an error. Its execution was cancelled.
    Warning: !!
    Warning:
    Executing script ‘/var/cache/yunohost/from_file/wallabag2_ynh-master/scripts/remove’…
  • set -u
  • source _common.sh
    ++ PKG_DEPENDENCIES=‘php5-cli php5-mysql php5-json php5-gd php5-tidy php5-curl php-gettext redis-server’
    +++ pwd
    ++ YNH_EXECUTION_DIR=/var/cache/yunohost/from_file/wallabag2_ynh-master/scripts
  • source /usr/share/yunohost/helpers
    +++ run-parts --list /usr/share/yunohost/helpers.d
    ++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
    ++ ‘[’ -r /usr/share/yunohost/helpers.d/filesystem ‘]’
    ++ . /usr/share/yunohost/helpers.d/filesystem
    +++ CAN_BIND=1
    ++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
    ++ ‘[’ -r /usr/share/yunohost/helpers.d/ip ‘]’
    ++ . /usr/share/yunohost/helpers.d/ip
    ++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
    ++ ‘[’ -r /usr/share/yunohost/helpers.d/mysql ‘]’
    ++ . /usr/share/yunohost/helpers.d/mysql
    +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
    ++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
    ++ ‘[’ -r /usr/share/yunohost/helpers.d/package ‘]’
    ++ . /usr/share/yunohost/helpers.d/package
    ++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
    ++ ‘[’ -r /usr/share/yunohost/helpers.d/print ‘]’
    ++ . /usr/share/yunohost/helpers.d/print
    ++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
    ++ ‘[’ -r /usr/share/yunohost/helpers.d/setting ‘]’
    ++ . /usr/share/yunohost/helpers.d/setting
    ++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
    ++ ‘[’ -r /usr/share/yunohost/helpers.d/string ‘]’
    ++ . /usr/share/yunohost/helpers.d/string
    ++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
    ++ ‘[’ -r /usr/share/yunohost/helpers.d/user ‘]’
    ++ . /usr/share/yunohost/helpers.d/user
    ++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
    ++ ‘[’ -r /usr/share/yunohost/helpers.d/utils ‘]’
    ++ . /usr/share/yunohost/helpers.d/utils
  • app=wallabag2
    ++ ynh_app_setting_get wallabag2 domain
    ++ sudo yunohost app setting wallabag2 domain --output-as plain --quiet
  • domain=read.domain.tld
    ++ ynh_app_setting_get wallabag2 db_name
    ++ sudo yunohost app setting wallabag2 db_name --output-as plain --quiet
  • db_name=
    ++ ynh_app_setting_get wallabag2 domain
    ++ sudo yunohost app setting wallabag2 domain --output-as plain --quiet
  • domain=read.domain.tld
  • ynh_remove_app_dependencies
  • dep_app=wallabag2
  • ynh_package_autoremove wallabag2-ynh-deps
  • ynh_apt autoremove wallabag2-ynh-deps
  • DEBIAN_FRONTEND=noninteractive
  • sudo apt-get -y -qq autoremove wallabag2-ynh-deps
    Warning: E: Unable to locate package wallabag2-ynh-deps
  • ynh_mysql_remove_db wallabag2 ‘’
  • local db_user=wallabag2
  • local db_name=
    ++ sudo cat /etc/yunohost/mysql
  • local mysql_root_password=c7rYlH9QQM
  • grep -q '^| ’
  • mysqlshow -u root -pc7rYlH9QQM
    Warning: Removing database
  • echo 'Removing database '
    Warning: /usr/share/yunohost/helpers.d/mysql: line 62: 1: unbound variable
  • ynh_mysql_drop_db
    Warning: wallabag2 has not been properly removed
    Error: Installation failed

It seems like an error in manifest.json, however, I am really not sure.

Your problem is the same as @Kapu06 here.
It looks like a text decoding error.
Can you please give the output of:

echo $LANG

Thank you for the fast reply.

The output of echo $LANG can be found below. It is empty.

root@Yuno:~# echo $LANG

Yes, I have seen the thread, the problem is just I can’t speak French, so I have a hard time understanding the solution Lapineige propose with the link to the other thread.

As I can understand I have to change the version in the manifest.json, however, I don’t know how to change it, as it seems right. Please see below for the part of the manifest.json I think I have to change?

"url": "https://www.wallabag.org",
    "license": "MIT",
    "version": "2.2.3",

I gave no solution because I don’t understand the issue.
When I test in my vm, no issue. When I update from my Yunohost server, no issue.

But the encoding is not correct for some people.
Maybe a language configuration issue indeed (but for numbers ?)

Hello Lapineige and JimboJoe

It was solved after having set the LANG variable, and rebooted. I forgot to reboot after setting the LANG variable, and now it works! :smiley:

export LANG=en_DK.UTF-8
dpkg-reconfigure locales
reboot

I really appreciate your help :slight_smile:

2 Likes