Upgrade to Ubuntu 22.04

Hello,

after upgrade OS from Ubuntu 20.04 to 22 I get

1- one error which is : AH00558: apache2: Could not reliably determine the server’s fully qualified domain name using ra.domain.com Set the ‘ServerName’ directive globally to suppress this message.

my installation was using standard bash hst-install.sh and it’s arm64

apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2022-06-26 21:55:26 CEST; 33min ago
Docs: Apache HTTP Server Version 2.4 Documentation - Apache HTTP Server Version 2.4
Process: 1192 ExecStart=/usr/sbin/apachectl start (code=exited, status=0/SUCCESS)
Process: 7951 ExecReload=/usr/sbin/apachectl graceful (code=exited, status=0/SUCCESS)
Main PID: 1435 (apache2)
Tasks: 56 (limit: 28701)
Memory: 31.3M
CPU: 1.455s
CGroup: /system.slice/apache2.service
├─1435 /usr/sbin/apache2 -k start
├─8309 /usr/sbin/apache2 -k start
├─8310 /usr/sbin/apache2 -k start
└─8339 /usr/sbin/apache2 -k start

then error appear after the above result

I was missing this libzip5 which result error 500
and solved by this : https://ubuntu.pkgs.org/20.04/ubuntu-universe-arm64/libzip5_1.5.1-0ubuntu1_arm64.deb.html

but the above apache error still exist even after I checked this topic : Apache2 could not reliably determine the server's fully qualified domain name - #49 by realjumy as the last solution not understandable for me also I tested methods in apache2 - Apache error "Could not reliably determine the server's fully qualified domain name" - Ask Ubuntu but also same issue exist.

2- one more point I just note that apt update show that hit 2 and 3 are focal not Jammy also all oracle cloud repo not called to check updates …

Hit:1 https://apt.hestiacp.com jammy InRelease
Hit:2 Index of /packages/mainline/ubuntu/ focal InRelease
Get:3 https://dlm.mariadb.com/repo/mariadb-server/10.6/repo/ubuntu focal InRelease [4717 B]
Hit:4 Index of /ubuntu-ports jammy-security InRelease
Hit:5 Index of /ubuntu-ports jammy InRelease
Hit:6 Index of /ubuntu-ports jammy-updates InRelease
Hit:7 Index of /ubuntu-ports jammy-backports InRelease

any idea please ?

Thank you

I fixed this by adding the following to: /etc/apache2/apache2.conf around line 20, just above the <IfModule mpm_prefork_module> block.

ServerName host.mydomain.com

(This should be ra.domain.com in your case.)

Update in /etc/apt/sources.list.d/hestia.list to use jammy instead of focal

(This issue has been discussed before in the forum, you can search for it.)

1 Like

Point number one solved :slight_smile: thank you very much

but point number two still issue with nginx and mariadb sticky to focal and not update to Jammy

/etc/apt/sources.list.d/hestia.list available not /etc/apt/sources.d/hestia.list is that’s ok?

I edited it but
Hit:2 Index of /packages/mainline/ubuntu/ focal InRelease
Get:3 https://dlm.mariadb.com/repo/mariadb-server/10.6/repo/ubuntu focal InRelease [4717 B]
still focal not jammy

1 Like

Get:3 https://dlm.mariadb.com/repo/mariadb-server/10.6/repo/ubuntu focal InRelease [4717 B]
still focal not jammy

Complain at MariaDB they don’t supply it…

Hash out and then run apt update

2 Likes

Thank you very much @eris :slight_smile:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.