Full update from GIT

apt-get update/upgrade
reboot

====================================

drush dl drush --destination='/usr/share'
There is no recommended release for project drush.
Choose one of the available releases:
 [0]  :  Cancel
 [1]  :  7.x-5.x-dev           -  2013-Aug-07  -  Development
 [2]  :  All-versions-4.x-dev  -  2012-Jul-12  -  Development
 [3]  :  7.x-1.x-dev           -  2011-Feb-25  -  Development

1
Install location /usr/share/drush already exists. Do you want to overwrite it? (y/n): y
Project drush (7.x-5.x-dev) downloaded to /usr/share/drush.                                               [success]
Drush successfully updated to version 7.x-5.x-dev.                                                        [success]

==================================

cd /usr/share/v2p2.to.cnr.it/sites/all/
root@server44:/usr/share/v2p2.to.cnr.it/sites/all# drush status

 Drupal version                  :  7.22
 Site URI                        :  http://default
 Database driver                 :  mysql
 Database hostname               :  localhost
 Database username               :  v2p2.to.cnr.it
 Database name                   :  v2p2_to_cnr_it
 Database                        :  Connected
 Drupal bootstrap                :  Successful
 Drupal user                     :  Anonymous
 Default theme                   :  bartik
 Administration theme            :  bartik
 PHP configuration               :  /etc/php5/cli/php.ini
 Drush version                   :  5.0-dev
 Drush configuration             :
 Drupal root                     :  /usr/share/v2p2.to.cnr.it
 Site path                       :  sites/default
 File directory path             :  sites/default/files
 Temporary file directory path   :  /tmp

root@server44:/usr/share/v2p2.to.cnr.it/sites/all# drush pm-update entity
Checking available update data ...                                                                        [ok]
Update information last refreshed: Mon, 09/02/2013 - 02:41

Update status information on all installed and enabled Drupal projects:
 Name                                       Install  Propose  Status
                                            ed       d
                                            version  version
 Drupal                                     7.22     7.23     Update available
 Colorbox (colorbox)                        7.x-2.4  7.x-2.4  Up to date
 Entity API (entity)                        7.x-1.1  7.x-1.2  SECURITY UPDATE available
 ImageMagick (imagemagick)                  7.x-1.0  7.x-1.0  Up to date
 Libraries (libraries)                      7.x-2.1  7.x-2.1  Up to date
 Islandora basic collection                 Unknown  Unknown  Project was not packaged by drupal.org but
 (islandora_basic_collection)                                 obtained from git. You need to enable git_deploy
                                                              module
 Islandora Large Image Solution Pack        Unknown  Unknown  Project was not packaged by drupal.org but
 (islandora_large_image)                                      obtained from git. You need to enable git_deploy
                                                              module
 Islandora newspaper (islandora_newspaper)  Unknown  Unknown  Project was not packaged by drupal.org but
                                                              obtained from git. You need to enable git_deploy
                                                              module
 Islandora OpenSeadragon                    Unknown  Unknown  Project was not packaged by drupal.org but
 (islandora_openseadragon)                                    obtained from git. You need to enable git_deploy
                                                              module
 Islandora Paged Content                    Unknown  Unknown  Project was not packaged by drupal.org but
 (islandora_paged_content)                                    obtained from git. You need to enable git_deploy
                                                              module
 Islandora Relationship Editor              Unknown  Unknown  Project was not packaged by drupal.org but
 (islandora_relationship_editor)                              obtained from git. You need to enable git_deploy
                                                              module



Security updates will be made to the following projects: Entity API [entity-7.x-1.2]

Note: A backup of your project will be stored to backups directory if it is not managed by a supported version control system.
Note: If you have made any modifications to any file that belongs to one of these projects, you will have to migrate those modifications after updating.
Do you really want to continue with the update process? (y/n): y
Project entity was updated successfully. Installed version is now 7.x-1.2.
Backups were saved into the directory                                                                     [ok]
/home/giancarlo/drush-backups/v2p2_to_cnr_it/20130902125907/modules/entity.
'all' cache was cleared in /usr/share/v2p2.to.cnr.it#default                                              [success]
No database updates required                                                                              [success]
'all' cache was cleared in /usr/share/v2p2.to.cnr.it#default                                              [success]
Finished performing updates.                                                                              [ok]

======================================

drush pm-update drupal

Checking available update data ...                                                                        [ok]
Checked available update data for Block.                                                                  [ok]
Checked available update data for Colorbox.                                                               [ok]
Checked available update data for Entity API.                                                             [ok]
Checked available update data for ImageMagick.                                                            [ok]
Checked available update data for Libraries.                                                              [ok]
Checked available update data for 5 projects.                                                             [status]
Update information last refreshed: Mon, 09/02/2013 - 02:41

Update status information on all installed and enabled Drupal projects:
 Name                                       Install  Propose  Status
                                            ed       d
                                            version  version
 Drupal                                     7.22     7.23     Update available
 Colorbox (colorbox)                        7.x-2.4  7.x-2.4  Up to date
 Entity API (entity)                        7.x-1.2  7.x-1.2  Up to date
 ImageMagick (imagemagick)                  7.x-1.0  7.x-1.0  Up to date
 Libraries (libraries)                      7.x-2.1  7.x-2.1  Up to date
 Islandora basic collection                 Unknown  Unknown  Project was not packaged by drupal.org but
 (islandora_basic_collection)                                 obtained from git. You need to enable git_deploy
                                                              module
 Islandora Large Image Solution Pack        Unknown  Unknown  Project was not packaged by drupal.org but
 (islandora_large_image)                                      obtained from git. You need to enable git_deploy
                                                              module
 Islandora newspaper (islandora_newspaper)  Unknown  Unknown  Project was not packaged by drupal.org but
                                                              obtained from git. You need to enable git_deploy
                                                              module
 Islandora OpenSeadragon                    Unknown  Unknown  Project was not packaged by drupal.org but
 (islandora_openseadragon)                                    obtained from git. You need to enable git_deploy
                                                              module
 Islandora Paged Content                    Unknown  Unknown  Project was not packaged by drupal.org but
 (islandora_paged_content)                                    obtained from git. You need to enable git_deploy
                                                              module
 Islandora Relationship Editor              Unknown  Unknown  Project was not packaged by drupal.org but
 (islandora_relationship_editor)                              obtained from git. You need to enable git_deploy
                                                              module



Code updates will be made to drupal core.
WARNING:  Updating core will discard any modifications made to Drupal core files, most noteworthy among these are .htaccess and robots.txt.  If you have made any modifications to these files, please back them up before updating so that you can re-create your modifications in the updated version of the file.
Note: Updating core can potentially break your site. It is NOT recommended to update production sites without prior testing.

Do you really want to continue? (y/n): y
Project drupal was updated successfully. Installed version is now 7.23.
Backups were saved into the directory /home/giancarlo/drush-backups/v2p2_to_cnr_it/20130902130227/drupal. [ok]
'all' cache was cleared in /usr/share/v2p2.to.cnr.it#default                                              [success]
No database updates required                                                                              [success]
'all' cache was cleared in /usr/share/v2p2.to.cnr.it#default                                              [success]
Finished performing updates.                                                                              [ok]

============================================

cd ~
wget https://github.com/openseadragon/openseadragon/releases/download/v0.9.130/openseadragon-bin-0.9.130.tar.gz
tar -xvzf openseadragon-bin-0.9.130.tar.gz
mv /usr/share/v2p2.to.cnr.it/sites/all/libraries/openseadragon ./openseadragonLAST
mv openseadragon-bin-0.9.130 /usr/share/v2p2.to.cnr.it/sites/all/libraries/openseadragon

--------------------------------------------

cd ~/github/islandora
rm -R islandora_openseadragon
git clone git://github.com/Islandora/islandora_openseadragon.git
mv /usr/share/v2p2.to.cnr.it/sites/all/modules/islandora/islandora_openseadragon ~/islandora_openseadragonLAST
mv islandora_openseadragon /usr/share/v2p2.to.cnr.it/sites/all/modules/islandora/

=============================================

cd ~/github/islandora
rm -R islandora_solution_pack_large_image
git clone git://github.com/Islandora/islandora_solution_pack_large_image.git
mv /usr/share/v2p2.to.cnr.it/sites/all/modules/islandora/islandora_solution_pack_large_image ~/islandora_solution_pack_large_imageLASTOK
mv islandora_solution_pack_large_image /usr/share/v2p2.to.cnr.it/sites/all/modules/islandora/

http://v2p2.to.cnr.it/admin/islandora/solution_packs -> Islandora large image -> Reinstall objects

LARGE IMAGE MODULE BROKEN !!! We have to update other modules too.

cd ~/github/islandora
rm -R islandora_solution_pack_collection
git clone git://github.com/Islandora/islandora_solution_pack_collection.git
mv /usr/share/v2p2.to.cnr.it/sites/all/modules/islandora/islandora_solution_pack_collection ~/islandora_solution_pack_collectionLASTOK
mv islandora_solution_pack_collection /usr/share/v2p2.to.cnr.it/sites/all/modules/islandora/

rm -R islandora
cp -R /usr/share/v2p2.to.cnr.it/sites/all/modules/islandora/islandora  ~/islandoraLASTOK
git clone git://github.com/Islandora/islandora.git
cp -R islandora/* /usr/share/v2p2.to.cnr.it/sites/all/modules/islandora/islandora/

rm -R tuque
mv /usr/share/v2p2.to.cnr.it/sites/all/modules/islandora/islandora/libraries/tuque ~/tuqueLASTOK
git clone git://github.com/Islandora/tuque.git
mv tuque /usr/share/v2p2.to.cnr.it/sites/all/modules/islandora/islandora/libraries/
nano -w /usr/share/v2p2.to.cnr.it/sites/all/modules/islandora/islandora/libraries/tuque/HttpConnection.php

  public $verifyPeer = FALSE;

==============================================

cd ~/github/islandora
rm -R islandora_paged_content
rm -R islandora_solution_pack_newspaper
mv /usr/share/v2p2.to.cnr.it/sites/all/modules/islandora/islandora_paged_content ~/islandora_paged_contentLASTOK
mv /usr/share/v2p2.to.cnr.it/sites/all/modules/islandora/islandora_solution_pack_newspaper ~/islandora_solution_pack_newspaperLASTOK
git clone git://github.com/Islandora/islandora_paged_content.git
git clone git://github.com/Islandora/islandora_solution_pack_newspaper.git
mv islandora_paged_content /usr/share/v2p2.to.cnr.it/sites/all/modules/islandora/
mv islandora_solution_pack_newspaper /usr/share/v2p2.to.cnr.it/sites/all/modules/islandora/

==============================================
 
 
isla/fudate.txt ยท Last modified: 2013/09/02 19:43 by giancarlo

Developers: CNR IRCrES IT Office and Library
Giancarlo Birello (giancarlo.birello _@_ ircres.cnr.it) and Anna Perin (anna.perin _@_ ircres.cnr.it)
V2P2@TO.CNR is licensed under: Creative Commons License
Recent changes RSS feed Creative Commons License Valid XHTML 1.0 Valid CSS Driven by DokuWiki
Drupal Garland Theme for Dokuwiki