- Copy drupal database to drupal10_from_9
- Copy ~/public_html/drupal to ~/public_html/drupal10_from_9
- Edit web/sites/default/settings.php. Change database from drupal to drupal10_from_9
- In phpmyadmin, set drupal10_from_9 database privileges to user drupaladmin
- Browse http://localhost/~chiao/drupal10_from_9/web, go to: 管理 -> 擴展
- 安裝:
- 解除安裝:
CKEditor (Deprecated)
Add HW Exam
Add My Exams Forms
Amazing forms
Appraisal Edit Forms
Appraisal Export Forms
Appraisal List Forms
Engineering Graphics
Engineering Graphics YouTube
FAHP Expert Data Creation Forms
FAHP Hierarchy Creation Forms
FAHP Online forms
FAHP Show Membership Forms
FAHP Synthesis Computation Form
(for drupaladm)PCM Consistency Check Forms
Grade Query forms
Hello World
Industrial English
List HW Exam
Science Technology English
Teacher Appraisal Forms
- cf: https://www.drupal.org/docs/upgrading-drupal/upgrading-from-drupal-8-or-later/how-to-upgrade-from-drupal-9-to-drupal-10
chmod 777 web/sites/default
sudo chmod 666 web/sites/default/*settings.php
chmod 666 web/sites/default/*services.yml
composer require 'drupal/core-recommended:^10' 'drupal/core-composer-scaffold:^10' 'drupal/core-project-message:^10' --no-update
composer require 'drupal/core-dev:^10' --dev --no-update
composer update - set $settings['update_free_access']= TRUE in settings.php
- visiting httsp://localhost/~chiao/drupal10_from9/web/update.php
Some modules need to be upgraded, e.g. color. Click color will open the color module project, then copy the composer line to install it inside ~/public_html/drupal0_from_9/web- If there are messages like below:
Status Details
發現錯誤
Removed core modules
You must add the following contributed modules and reload this page.
Color
Quick Edit
RDF
These modules are installed on your site but are no longer provided by Core.
For more information read the documentation on deprecated modules.
Removed core themes
You must add the following contributed themes and reload this page.
Seven
Bartik - cd ~/public_html/drupal10_from_9, then
composer require 'drupal/color:^1.0'
composer require 'drupal/quickedit:^1.0'
composer require 'drupal/rdf:^2.1'
composer require 'drupal/seven:^1.0'
composer require 'drupal/bartik:^1.0' - Go to and make sure update.php page not complain anymore. (IMPORTANT!),
If shows "Drupal 資料庫更新", then click 繼續 and Apply pending updates Until the page shows "Drupal 資料庫更新". - set back $settings['update_free_access'] = FALSE in settings.php.
chmod 755 web/sites/default
sudo chmod 600 web/sites/default/*settings.php
chmod 644 web/sites/default/*services.yml
Go to http://localhost/~chiao/drupal10_from_9/web/admin/reports/updates It should be
Drupal 核心
最新的Drupal core 10.1.6Go to http://localhost/~chiao/drupal10_from_9/web/admin/config/development/performance Click "清除所有快取"
Add my own modules, e.g. Grade Query:
cd ~/public_html/drupal10_from_9/web/modules/custom/grade_query
Edit grade_query.info.yml: core_version_requirement: ^8 || ^9 || ^10
Go to http://localhost/~chiao/drupal10_from_9/web/admin/modules
Click: Grade Query forms 查詢成績
安裝
- If there are messages like below:
2023年11月13日 星期一
Upgrade drupal 10 from 9
訂閱:
張貼留言 (Atom)
-
cf: https://www.tenforums.com/tutorials/101274-uninstall-printer-driver-windows-10-a.html Open cmd in administer mode Run printmanagement...
-
cf: https://forums.raspberrypi.com/viewtopic.php?t=278033 For linux: First run the command: route -n It will show the metrics of the i...
-
cf: https://askubuntu.com/questions/1276111/error-upgrading-grub-efi-amd64-signed-special-device-old-ssd-does-not-exist sudo mv /var/cache...
沒有留言:
張貼留言