Automatic Updates hosting test result on Siteground

Created on 8 February 2023, almost 2 years ago

Thanks for testing Automatic Updates! Please tell us in detail about any problems you encountered. To help you, you can use the prompts below as guidance.

Which hosting provider did you test Automatic Updates with? eg. BlueHost, SiteGround, etc.

Siteground

What was your goal? For example, what versions of Drupal core were you trying to update from and to?

Siteground is pushing other systems hard, but I found Drupal under a "Dev" section on their backend under "App Installer". It did not say which version did it install or how. When I checked the resulting Drupal setup, it was Drupal 9.4.10, which is an outdated patch version of an outdated minor. At least it does not have security issues and is still supported until June.

What were the steps you took, starting from when you added the Automatic Updates module to your Drupal project (see https://www.drupal.org/i/3275810#install-module for instructions)? Include anything that seems relevant, including commands you ran, links you clicked on, output logs, relevant config files, screenshots, screen recordings, etc.

Siteground has global composer on the CLI! That was great. On the other hand they have PHP 7.4.33 on the web server and the CLI also. There is a UI to update the webserver version to PHP 8.1.15. On the other hand that does not update the CLI to this version. So at first I installed automatic updates with composer with --ignore-platform-reqs.

Siteground installed Drupal with drush included so I got this warning:

I followed the linked instructions after which this error went away as expected. However when running the update itself I got an AJAX error:

Following the link from there, it says the PHP version is wrong on the CLI it ran:

This made me go to Siteground support to ask why changing the web version of PHP does not change the CLI version of PHP. They told me that is how it is. BUT they can manually change my CLI version of PHP. They did so. When I ssh-ed into siteground's backend, the CLI version of PHP was then 8.1.15. However, Drupal still resulted in the same problem, there was no change there.

I believe that would be due to how my user's CLI PHP version is not the same as the user the web server is running with. Not sure what to do there at all to make this work?

What was your environment like?

Siteground StartUp package (cheapest).
PHP 8.1.15
MySQL 5.7.39-42-log
Apache
Composer 2.4.3

Did you accomplish your goal? Were the instructions clear? Did you observe any bugs or errors, or other issues? Did you need to do any workarounds?

Did not accomplish updating Drupal. :/

Problem with these instructions? Anything else we should know?

None.

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇭🇺Hungary Gábor Hojtsy Hungary

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024