I finally worked out why the update didn’t proceed as the installation was at /var/www/gibbon instead of /var/www/gibbon
I copied the files to the correct folder but now I don’t get the gibbon welcome page, I get an error message.Composer detected issues in your platform: Your Composer dependencies require a PHP version “>= 7.3.0”.
I have installed php7.3 on my Ubuntu 18.04 server but no change. Any tips as to what to do? This is a production install and they will be back at work tomorrow in about 16 hours time!
I just tried to enable php7.3 manually but it didn’t work.
`$ sudo a2enmod php7.3
Considering dependency mpm_prefork for php7.3:
Considering conflict mpm_event for mpm_prefork:
Considering conflict mpm_worker for mpm_prefork:
Module mpm_prefork already enabled
Considering conflict php5 for php7.3:
Enabling module php7.3.
To activate the new configuration, you need to run:
systemctl restart apache2`
```
I then ran systemctl restart apache2` but problem persists,
Sweat running down brow...
I finally worked out why the update didn't proceed as the installation was at /var/www/gibbon instead of /var/www/html
I copied the files to the correct folder but now I don’t get the gibbon welcome page, I get an error message.Composer detected issues in your platform: Your Composer dependencies require a PHP version “>= 7.3.0”.
I have installed php7.3 on my Ubuntu 18.04 server but no change. Any tips as to what to do? This is a production install and they will be back at work tomorrow in about 16 hours time!
Hi sbaldwin, this does not seem like a PHP issue, despite the Composer warning you are seeing. PHP seems to be working fine, otherwise the Oh no! page would not work in the way that it is.
So, I suspect something is going on with MySQL. If you open Gibbon’s config.php file, you should see the database server, username, password and database name for Gibbon. Can you connect to your server’s MySQL service using these? Usually this would look like:
mysql -u [username] -p
If you issue this into the server’s command prompt, it should ask for a password. Can you get into MySQL this way?
Thanks for answering Ross. The composer warning disappeared after I upgraded to PHP7.3. But that seems to have caused the database problem. I will try and get into the database from the server and report back.
I have logged into the server by ssh and tried to log into the database using the mysql command as advised. The database is called gibbon.sql and I documented the password when I set it up. I can’t get in but maybe I am using the wrong username. Also I can’t find the database info in config.php , where in the file should I be looking?
I found a combination of user and password that got me into the database!
`mysql -u gibbonuser -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \\g.
Your MariaDB connection id is 43
Server version: 10.1.48-MariaDB-0ubuntu0.18.04.1 Ubuntu 18.04
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\\h' for help. Type '\\c' to clear the current input statement.
MariaDB [(none)]> show databases;
+--------------------+
| Database |
+--------------------+
| gibbon |
| information_schema |
+--------------------+`
```
2 rows in set (0.02 sec)