Drupal frisstítés 5.X-ről 6.X-re

István38 képe

Sziasztok építők!

A kérdésem egyszerű.
Letudná valaki írni,hogy ha 5.X-ről szeretnék frissíteni 6.X-re,akkor
lépésről lépésre,mely mappákat kell menteni,és hova,aztán visszahelyezés,
miket kell kikapcsolni frissítés előtt,aztán vissza.
Két élö oldalról van szó,nem szeretnék bakizni.

help

üdv: István

Drupal verzió: 
Nagy Gusztáv képe


UPGRADING
---------

Prior to upgrading, you should ensure that:

* Your system meets or exceeds Drupal's minimum requirements as shown at
http://drupal.org/requirements.
* You have a backup of all your relevant data (#1).
* Custom and contributed modules have been checked for compatibility (#11).
* Custom and contributed themes have been checked for compatibility (#11).
* You have read through this entire document.

Let's begin!

1. Backup your database and Drupal directory - especially your "sites"
directory which contains your configuration file and added modules and
themes, any contributed or custom modules in your "modules" directory,
and your "files" directory which contains uploaded files. If other files
have modifications, such as .htaccess or robots.txt, those should be
backed up as well.

Note: for a single site setup, the configuration file is the "settings.php"
file located at sites/default/settings.php. The default.settings.php file
contains a clean copy for restoration purposes, if required.

For multisite configurations, the configuration file is located in a
structure like the following:

sites/default/settings.php
sites/example.com/settings.php
sites/sub.example.com/settings.php
sites/sub.example.com.path/settings.php

More information on multisite configuration is located in INSTALL.txt.

2. If possible, log on as the user with user ID 1, which is the first account
created and the main administrator account. User ID 1 will be able to
automatically access update.php in step #10. There are special instructions
in step #10 if you are unable to log on as user ID 1. Do not close your
browser until the final step is complete.

3. Place the site in "Off-line" mode, to let the database updates run without
interruption and avoid displaying errors to end users of the site. This
option is at http://www.example.com/?q=admin/settings/site-maintenance
(replace www.example.com with your installation's domain name and path).

4. If using a custom or contributed theme, switch
to a core theme, such as Garland or Bluemarine.

5. Disable all custom and contributed modules.

6. Remove all old files and directories from the Drupal installation directory.

7. Unpack the new files and directories into the Drupal installation directory.

8. Copy your backed up "files" and "sites" directories to the Drupal
installation directory. If other system files such as .htaccess or
robots.txt were customized, re-create the modifications in the new
versions of the files using the backups taken in step #1.

9. Verify the new configuration file to make sure it has correct information.

10. Run update.php by visiting http://www.example.com/update.php (replace
www.example.com with your Drupal installation's domain name and path). This
step will update the core database tables to the new Drupal installation.

Note: if you are unable to access update.php do the following:

- Open your settings.php with a text editor.

- There is a line that says $update_free_access = FALSE;
Change it to $update_free_access = TRUE;

- Once update.php is done, you must change the settings.php file
back to its original form with $update_free_access = FALSE;

11. Ensure that the versions of all custom and contributed modules match the
new Drupal version to which you have updated. For a major update, such as
from 5.x to 6.x, modules from previous versions will not be compatible
and updated versions will be required.

- For contributed modules, check http://drupal.org/project/modules
for the version of a module matching your version of Drupal.

- For custom modules, review http://drupal.org/update/modules to
ensure that a custom module is compatible with the current version.

12. Re-enable custom and contributed modules and re-run update.php
to update custom and contributed database tables.

13. Return the site to its original theme (if you switched to a core
theme like Garland or Bluemarine in step #4). If your site uses a
custom or contributed theme, make sure it is compatible with your
version of Drupal.

- For contributed themes, check http://drupal.org/project/themes
for the version of a theme matching your version of Drupal.

- For custom themes, review http://drupal.org/update/theme to ensure
that a custom theme is compatible with the current version.

14. Finally, return your site to "Online" mode so your visitors may resume
browsing. As in step #3, this option is available in your administration
screens at http://www.example.com/?q=admin/settings/site-maintenance
(replace www.example.com with your installation's domain name and path).

For more information on upgrading visit
the Drupal handbook at http://drupal.org/upgrade

0
0

Nagy Gusztáv

llauko képe

Sziasztok!

Hasonló cipőben járok és az ajánlott upgrade.txt alapján végezve a műveleteket a 10. ponthoz érve -> http:/www.web.com/update.php futtatása során rengeteg hiba ill. warning jelenik meg, mint pl. az alábbi részlet:

user warning: Table 'drupal.menu_router' doesn't exist query: SELECT * FROM menu_router WHERE path IN ('node') ORDER BY fit DESC LIMIT 0, 1 in /var/data/drupal/includes/menu.inc on line 315.
user warning: Table 'drupal.menu_router' doesn't exist query: SELECT * FROM menu_router WHERE path IN ('node') ORDER BY fit DESC LIMIT 0, 1 in /var/data/drupal/includes/menu.inc on line 315.
user warning: Table 'drupal.menu_router' doesn't exist query: SELECT * FROM menu_router WHERE path IN ('node') ORDER BY fit DESC LIMIT 0, 1 in /var/data/drupal/includes/menu.inc on line 315.
user warning: Table 'drupal.menu_router' doesn't exist query: SELECT * FROM menu_router WHERE path IN ('node') ORDER BY fit DESC LIMIT 0, 1 in /var/data/drupal/includes/menu.inc on line 315.
warning: Invalid argument supplied for foreach() in /var/data/drupal/includes/theme.inc on line 463.
warning: Invalid argument supplied for foreach() in /var/data/drupal/includes/theme.inc on line 468.
warning: Invalid argument supplied for foreach() in /var/data/drupal/includes/theme.inc on line 463.
warning: Invalid argument supplied for foreach() in /var/data/drupal/includes/theme.inc on line 468.
warning: Invalid argument supplied for foreach() in /var/data/drupal/includes/theme.inc on line 463.
warning: Invalid argument supplied for foreach() in /var/data/drupal/includes/theme.inc on line 468.
warning: Invalid argument supplied for foreach() in /var/data/drupal/includes/theme.inc on line 463.
warning: Invalid argument supplied for foreach() in /var/data/drupal/includes/theme.inc on line 468.
warning: Invalid argument supplied for foreach() in /var/data/drupal/includes/theme.inc on line 463.
warning: Invalid argument supplied for foreach() in /var/data/drupal/includes/theme.inc on line 468.
user warning: Unknown column 'serialized' in 'field list' query: SELECT data, created, headers, expire, serialized FROM cache WHERE cid = 'theme_registry:garland' in /var/data/drupal/includes/cache.inc on line 26.
user warning: Unknown column 'serialized' in 'field list' query: UPDATE cache SET data = 'a:98:{s:24:\"block_admin_display_form\";a:7:{s:8:\"template\";s:38:\"modules/block/block-admin-display-form\";s:4:\"file\";s:29:\"modules/block/block.admin.inc\";s:9:\"arguments\";a:1:{s:4:\"form\";N;}s:4:\"type\";s:6:\"module\";s:10:\"theme path\";s:13:\"modules/block\";s:11:\"theme paths\";a:1:{i:0;s:13:\"modules/block\";}s:20:\"preprocess functions\";a:2:{i:0;s:19:\"template_preprocess\";i:1;s:44:\"template_preprocess_block_admin_display_form\";}}s:21:\"filter_admin_overview\";a:7:{s:9:\"arguments\";a:1:{s:4:\"form\";N;}s:4:\"file\";s:31:\"modules/filter/filter.admin.inc\";s:4:\"type\";s:6:\"module\";s:10:\"theme

Tudnátok segíteni a megoldásban?

Köszönettel:

llauko

0
0
aboros képe

nem mindegy.
az a baj, hogy nincs meg az adatbázisban a menu_router tábla, ami 5.x -ben még nem volt, 6.0 -ban azt hiszem volt, nem tudom, és azt is akarja az update használni, de nem létezik, mert full 5.x az adatbázisod.

szerintem az lenne a megoldás (aztán majd max kijavítanak), hogy:
felfrissíteni legújabb 5.x -ig. (lehet ez nem is kell)
onnan frissíteni 6.0 -ra. (hogy létrejöjjenek a generációugráskor bevezetett táblák)
és onnan 6.10 -re.

remélem igazam van. :D

0
0

-
clear: both;

york képe

Elmeletileg lehet tetszoleges 5.x-rol tetszoleges 6.x-re frissiteni.
En azt szoktam csinalni, hogy az 5.x es az osszes hasznalt moduljat felfrissitem a legfrissebbre, majd ezutan frissitek 6.x-re a modulokkal egyutt.

0
0
llauko képe

Köszönöm a választ!

5.15 -ről szeretnék 6.10 -re frissíteni.
Igazából a frissítéssel az lenne a célom, hogy a Drupal -ba AD - LDAP auth.-val bejelentkezett felhasználónak a Vezetéknév Keresztnév formában írja ki a nevét a node -ban. A keresgélések során olvastam, hogy ezt a 6 -s verzió és a Realname modul segítségével lehet megoldani?!
Természetesen, ha meg lehet oldani ezt az 5.15 -l is akkor nem ragaszkodom a frissítéshez:-)

A legújabb 5.x felfrissítés alatt mit értesz? Az összes modul és Drupál?
Abszolút kezdő vagyok Drupal -ban innen az okos kérdés.

Üdv

0
0