Account created on 23 September 2019, over 5 years ago
#

Recent comments

I was already desperate, I wasted a lot of days studying the problem. I couldn't upgrade for more than half a year. I've been using Drupal for my website for more than 10 years, I do everything myself, and this upgrade to Drupal 10 started to annoy me a lot. I don't make much money from my website and I can't afford to pay an expert.

I did it two months ago. I don't use many modules, my site is very simple and I wanted to give it a try. So far everything is fine. I installed new modules, themes, I upgraded from Drupal 10.0 to 10.1.3.

Hmmm Actually there is one problem I noticed.

In the old .htaccess file I had a redirect from http to https and non-www to www, so in the end I added redirects to the original Drupal 10 htaccess file.

RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]

I noticed that every few days these three lines that I added are automatically deleted, i.e. as if Drupal itself returns the original .htaccess file.

Now I have to check every morning to see if the redirects are working. :-) I'm not a developer and sometimes my solutions to problems are a little weird.

Does anyone know why this is happening?

I was not able to automatically upgrade to Drupal 10.

I solved the problem in another way: I installed Drupal 10.0 in a subdomain, I installed the same theme as the main website, I installed the same modules (make sure they are the same versions) as on the main website, using Backup and migrate module I exported the database and imported it into Drupal 10. In the end, I copied Drupal 10 from the subdomain to the folder of the main domain, started update.php, and that's it.

I don't know if what I did is correct, but it works

Does anyone have an idea what I should do?

Is there any alternative method to migrate to Drupal 10?

If the upgrade_status module tells me that everything is 100% fine, can I export the database, install a fresh installation of Drupal 10, install all modules and themes using Composer, import the database...

I already have Drupal 10 on another site on the same server, so requirements (PHP, Mysql...) are not a problem

Thank you Mazz for the advice, I tried it with

  --ignore-platform-reqs

And again there is a problem:

/public_html$ composer update --ignore-platform-reqs
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - drupal/core-recommended[10.0.0-alpha2, ..., 10.0.0-alpha5] require symfony/yaml v6.0.3 -> satisfiable by symfony/yaml[v6.0.3].
    - Conclusion: don't install symfony/yaml v6.0.3 (conflict analysis result)
    - drupal/core-recommended[10.0.0-beta1, ..., 10.0.0-beta2] require symfony/yaml ~v6.1.4 -> satisfiable by symfony/yaml[v6.1.4, ..., 6.1.x-dev].
    - drupal/core-recommended[10.0.0-alpha6, ..., 10.0.0-alpha7] require symfony/yaml ~v6.1.2 -> satisfiable by symfony/yaml[v6.1.2, ..., 6.1.x-dev].
    - Conclusion: don't install symfony/yaml v6.1.11 (conflict analysis result)
    - drupal/core-recommended[10.0.3, ..., 10.0.x-dev] require symfony/yaml ~v6.2.5 -> satisfiable by symfony/yaml[v6.2.5, v6.2.7, 6.2.x-dev].
    - drupal/core-recommended[10.0.1, ..., 10.0.2] require symfony/yaml ~v6.2.2 -> satisfiable by symfony/yaml[v6.2.2, v6.2.5, v6.2.7, 6.2.x-dev].
    - drupal/core-recommended[10.0.0-rc2, ..., 10.0.0] require symfony/yaml ~v6.2.0 -> satisfiable by symfony/yaml[v6.2.0-BETA1, ..., 6.2.x-dev].
    - drupal/core-recommended 10.0.0-rc1 requires symfony/yaml ~v6.2.0-BETA1 -> satisfiable by symfony/yaml[v6.2.0-BETA1, ..., 6.2.x-dev].
    - drupal/core-recommended 10.1.x-dev requires symfony/yaml ~v6.2.7 -> satisfiable by symfony/yaml[v6.2.7, 6.2.x-dev].
    - Conclusion: don't install symfony/yaml v6.2.7 (conflict analysis result)
    - drush/drush[10.6.0, ..., 10.x-dev] require symfony/yaml ^3.4 || ^4.0 -> satisfiable by symfony/yaml[v3.4.0-BETA1, ..., 3.4.x-dev, v4.0.0-BETA1, ..., 4.4.x-dev].
    - You can only install one version of a package, so only one of these can be installed: symfony/yaml[2.0.4, ..., 2.8.x-dev, v3.0.0-BETA1, ..., 3.4.x-dev, v4.0.0-BETA1, ..., 4.4.x-dev, v5.0.0-BETA1, ..., 5.4.x-dev, v6.0.0-BETA1, ..., 6.3.x-dev].
    - drupal/core-recommended 10.0.0-alpha1 requires symfony/yaml v5.4.2 -> satisfiable by symfony/yaml[v5.4.2].
    - Root composer.json requires drupal/core-recommended ^10 -> satisfiable by drupal/core-recommended[10.0.0-alpha1, ..., 10.1.x-dev].
    - Root composer.json requires drush/drush ^10.6 -> satisfiable by drush/drush[10.6.0, 10.6.1, 10.6.2, 10.x-dev].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

Is it a better solution if I change the version of PHP from 7.3 to 8.1.17. Based on your experience, do you think it would work in that case?

Production build 0.71.5 2024