Just tried to upgrade my YH raspi 4 server by executing the Migration script to Debian 11
at the end of the Migration I read the message that the Migration was successful.
But now the - YH site is not reachable at all by the browser.
I can login by ssh and see all the files.
What could i try to get YH running again ? - Thanks.
root@my:~# apt update
Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
Hit:3 http://forge.yunohost.org/debian bullseye InRelease
Hit:4 https://packages.sury.org/php bullseye InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/sury-php.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/sury-php.list:1
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/sury-php.list:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/sury-php.list:1
W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/sury-php.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/sury-php.list:1
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/sury-php.list:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/sury-php.list:1
root@my:~# apt list --upgradable
Listing... Done
gcc-8-base/stable 8.4.0-7+rpi1 armhf [upgradable from: 8.3.0-6+rpi1]
N: There is 1 additional version. Please use the '-a' switch to see it
root@my:~# apt list --upgradable -a
Listing... Done
gcc-8-base/stable 8.4.0-7+rpi1 armhf [upgradable from: 8.3.0-6+rpi1]
gcc-8-base/now 8.3.0-6+rpi1 armhf [installed,upgradable to: 8.4.0-7+rpi1]
root@my:~# apt update
Hit:1 http://forge.yunohost.org/debian bullseye InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
Hit:3 http://archive.raspberrypi.org/debian bullseye InRelease
Hit:4 https://packages.sury.org/php bullseye InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/sury-php.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/sury-php.list:1
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/sury-php.list:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/sury-php.list:1
W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/sury-php.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/sury-php.list:1
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/sury-php.list:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/sury-php.list:1
root@my:~# apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
bind9-utils bind9utils dnsutils libicu63 libllvm7 php-gettext postgresql-11 postgresql-client-11
python3-publicsuffix
Use 'apt autoremove' to remove them.
The following packages have been kept back:
gcc-8-base
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Take the time to say Hi and stay friendly, this is a forum and project 100% ran by volunteer human beings I hope i sound friendly - certainly i want to be fiendly
My YunoHost server
Hardware: Raspberry Pi (4) at home YunoHost version: last version for debian 10 I have access to my server : Through SSH YES
| through the webadmin - NO
| direct access via keyboard / screen -NO
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : NO
Description of my issue
Just tried to upgrade my YH raspi 4 server by executing the Migration script to Debian 11
at the end of the Migration I read the message that the Migration was successful.
But now the - YH site is not reachable at all by the browser.
root@my:~# nginx -t
nginx: [emerg] BIO_new_file("/usr/share/yunohost/other/ffdhe2048.pem") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/usr/share/yunohost/other/ffdhe2048.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)
nginx: configuration file /etc/nginx/nginx.conf test failed
root@my:~# systemctl status nginx
â—Ź nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2022-08-14 14:17:09 BST; 5h 40min ago
Docs: man:nginx(8)
Process: 715 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, >
CPU: 269ms
Aug 14 14:17:07 domain.tld systemd[1]: Starting A high performance web server and a reverse prox>
Aug 14 14:17:09 domain.tld nginx[715]: nginx: [emerg] BIO_new_file("/usr/share/yunohost/other/ff>
Aug 14 14:17:09 domain.tld nginx[715]: nginx: configuration file /etc/nginx/nginx.conf test fail>
Aug 14 14:17:09 domain.tld systemd[1]: nginx.service: Control process exited, code=exited, statu>
Aug 14 14:17:09 domain.tld systemd[1]: nginx.service: Failed with result 'exit-code'.
Aug 14 14:17:09 domain.tld systemd[1]: Failed to start A high performance web server and a rever>
lines 1-13/13 (END)
Sounds like maybe you manually edited security.conf.inc in the nginx conf …
You may want to yunohost tools regen-conf nginx --dry-run --with-diff , review the diff, and then yunohost tools regen-conf nginx --force if you’re happy with it
root@my:~# nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
mysql kepps crashing - in the logs i see things like this:
Aug 15 14:54:53 mariadbd[9739]: 2022-08-15 14:54:53 0 [ERROR] InnoDB: Space id and page no stored in the page, read in are [page id: space=1277, page number=50680], should be [page id: space=1277, page number=312824]
Aug 15 14:54:53 mariadbd[9739]: 2022-08-15 14:54:53 0 [Note] InnoDB: Buffer pool(s) load completed at 220815 14:54:53