The Elearning Community • apt upgrade breaks forma
Page 1 of 1

apt upgrade breaks forma

Posted: Fri May 15, 2020 4:33 pm
by fg123
hi there,
I'm running forma 2.4.1 on ubuntu18.04lts.

When I run apt upgrade today it breaks forma LMS. After the upgrade runs through the forma.lms installer is activated.

"Step 1: Select language"...

As a sidenote, I am running PHP7.0 as requested by forma with FPM so I can run phpmyadmin on the same server with php 7.4.

Below is the list of patches my system is running.

Any idea what might be breaking forma?


libapache2-mod-php7.0/bionic amd64 [upgradable from:]
libgd3/bionic amd64 [upgradable from:]
libjson-c3/bionic-security,bionic-updates 0.12.1-1.3ubuntu0.2 amd64 [upgradable from: 0.12.1-1.3ubuntu0.1]
libnss-systemd/bionic-updates 237-3ubuntu10.40 amd64 [upgradable from: 237-3ubuntu10.39]
libpam-systemd/bionic-updates 237-3ubuntu10.40 amd64 [upgradable from: 237-3ubuntu10.39]
libsystemd0/bionic-updates 237-3ubuntu10.40 amd64 [upgradable from: 237-3ubuntu10.39]
libudev1/bionic-updates 237-3ubuntu10.40 amd64 [upgradable from: 237-3ubuntu10.39]
libxml2/bionic amd64 [upgradable from:] 0.99-0ubuntu3~18.04.1 amd64 [upgradable from: 0.98-0ubuntu1~18.04.1]
nplan/bionic-updates 0.99-0ubuntu3~18.04.1 all [upgradable from: 0.98-0ubuntu1~18.04.1]
open-iscsi/bionic-updates 2.0.874-5ubuntu2.9 amd64 [upgradable from: 2.0.874-5ubuntu2.7]
php-common/bionic all [upgradable from:]
php-mbstring/bionic all [upgradable from:]
php-mysql/bionic all [upgradable from:]
php-zip/bionic all [upgradable from:]
php7.0/bionic all [upgradable from:]
php7.0-bcmath/bionic amd64 [upgradable from:]
php7.0-cli/bionic amd64 [upgradable from:]
php7.0-common/bionic amd64 [upgradable from:]
php7.0-curl/bionic amd64 [upgradable from:]
php7.0-fpm/bionic amd64 [upgradable from:]
php7.0-gd/bionic amd64 [upgradable from:]
php7.0-gmp/bionic amd64 [upgradable from:]
php7.0-intl/bionic amd64 [upgradable from:]
php7.0-json/bionic amd64 [upgradable from:]
php7.0-ldap/bionic amd64 [upgradable from:]
php7.0-mbstring/bionic amd64 [upgradable from:]
php7.0-mysql/bionic amd64 [upgradable from:]
php7.0-opcache/bionic amd64 [upgradable from:]
php7.0-readline/bionic amd64 [upgradable from:]
php7.0-xml/bionic amd64 [upgradable from:]
php7.0-xmlrpc/bionic amd64 [upgradable from:]
php7.0-zip/bionic amd64 [upgradable from:]
php7.4-cli/bionic amd64 [upgradable from:]
php7.4-common/bionic amd64 [upgradable from:]

Re: apt upgrade breaks forma

Posted: Fri May 15, 2020 4:38 pm
by alfa24
Is config.php well configured and at its place?
When an existing and working installation suddenly search for install path, it means config.php doesn't exist or is not working as it should.
I can't believe that an upgrade task has broken your installation and maybe something else has happened before or after the upgrade, but let's do this first check.

Re: apt upgrade breaks forma

Posted: Fri May 15, 2020 6:12 pm
by fg123
hi alfa24, thank you for pointing me away from the upgrade. After replacing the image file of the server I found that indeed after a reboot the forma login page is also replaced by the installer.

Well, looking at the services I see that mysql isn't running anymore after a reboot. A restart of mariadb makes forma lms running again.

Ideally, there would be an error message. Anyway, I have to find out why my mysql doesn't work properly.


Re: apt upgrade breaks forma

Posted: Fri May 15, 2020 6:46 pm
by alfa24
If you upgrade mysql 5.x to mariadb 8, many things can broke your system, and you have to fix them manually.
Normally, if the connection with the db cannot be established, the index page of an installed instance should offer an error message instead of pointing to the install directory, and this, yes, could be a bug.

This site uses cookies.

Some of the cookies we use are essential for parts of the site to operate and have already been set. We also use Google Analytics scripts, which all use cookies.
You may delete or block all cookies from this site in your browser options.