====== Islandora update from GIT (HEAD) ======
\\
* List modules
drush pm-list
Islandora Islandora (islandora) Module Enabled 7.x-dev
Islandora Islandora Book Batch (islandora_book_batch) Module Enabled 7.x-dev
Islandora Dependencies PHP Lib (php_lib) Module Enabled 7.x-dev
Islandora Search Islandora Solr (islandora_solr) Module Enabled 7.x-dev
Islandora Search Islandora Solr display profiles (islandora_solr_config) Module Enabled 7.x-dev
Islandora Search Islandora Solr Views (islandora_solr_views) Module Enabled 7.x-dev
Islandora Solution Packs Islandora basic collection (islandora_basic_collection) Module Enabled 7.x-dev
Islandora Solution Packs Islandora Book Solution Pack (islandora_book) Module Enabled 7.x-dev
Islandora Solution Packs Islandora Large Image Solution Pack (islandora_large_image) Module Enabled 7.x-dev
Islandora Solution Packs Islandora Paged Content (islandora_paged_content) Module Enabled 7.x-dev
Islandora Tools Islandora Batch (islandora_batch) Module Enabled 7.x-dev
Islandora Tools Islandora Batch Report (islandora_batch_report) Module Not installed 7.x-dev
Islandora Tools Islandora Datastream CRUD (islandora_datastream_crud) Module Enabled 7.x-dev
Islandora Tools Islandora OCR (islandora_ocr) Module Enabled 7.x-dev
Islandora Tools Islandora XML sitemap (islandora_xmlsitemap) Module Enabled 7.x-dev
Islandora Viewers Islandora Internet Archive BookReader Module Enabled 7.x-dev
(islandora_internet_archive_bookreader)
Islandora Viewers Islandora OpenSeadragon (islandora_openseadragon) Module Enabled 7.x-dev
ls -l sites/all/modules/
...
drwxr-xr-x 12 root root 4096 Sep 29 2016 islandora
drwxr-xr-x 10 root root 4096 Sep 30 2016 islandora_batch
drwxr-xr-x 6 root root 4096 Oct 14 09:55 islandora_book_batch
drwxr-xr-x 5 root root 4096 Jan 25 21:51 islandora_datastream_crud
drwxr-xr-x 10 root root 4096 Oct 14 09:36 islandora_internet_archive_bookreader
drwxr-xr-x 7 root root 4096 Oct 14 09:34 islandora_ocr
drwxr-xr-x 11 root root 4096 Sep 29 2016 islandora_openseadragon
drwxr-xr-x 12 root root 4096 Oct 19 13:33 islandora_paged_content
drwxr-xr-x 13 root root 4096 Sep 29 2016 islandora_solr_search
drwxr-xr-x 6 root root 4096 Jan 26 10:48 islandora_solr_views
drwxr-xr-x 11 root root 4096 Oct 14 09:52 islandora_solution_pack_book
drwxr-xr-x 12 root root 4096 Sep 29 2016 islandora_solution_pack_collection
drwxr-xr-x 11 root root 4096 Sep 29 2016 islandora_solution_pack_large_image
drwxr-xr-x 5 root root 4096 Nov 25 09:41 islandora_xmlsitemap
drwxr-xr-x 8 root root 4096 Sep 29 2016 php_lib
...
ls -l sites/all/libraries/
drwxr-xr-x 7 root root 4096 Oct 14 09:36 bookreader
drwxr-xr-x 9 root root 4096 May 11 2016 colorbox
drwxr-xr-x 3 root root 4096 Sep 29 2016 openseadragon
drwxr-xr-x 5 root root 4096 Sep 29 2016 tuque
\\
* Backup
drush vset --exact maintenance_mode 1
cp -a sites/all/modules/islandora* ~/islandora_modules_bck/
cp -a sites/all/modules/php_lib ~/islandora_modules_bck/
cp -a sites/all/libraries/* ~/islandora_libraries_bck/
\\
* Disable modules
drush dis islandora_solr_config islandora_solr_views
drush dis islandora_solr
drush dis islandora_book_batch islandora_batch
drush dis islandora_basic_collection islandora_large_image
drush dis islandora_datastream_crud islandora_ocr islandora_xmlsitemap
drush dis islandora_internet_archive_bookreader islandora_openseadragon
drush dis islandora_paged_content islandora_book
drush dis islandora
drush dis php_lib
\\
* Update libraries
- openseadragon (I'm using 0.9.129 version, no update)
cd ~
wget https://github.com/openseadragon/openseadragon/releases/download/v1.1.1/openseadragon-bin-1.1.1.tar.gz
tar -xvzf openseadragon-bin-1.1.1.tar.gz
rm -R /usr/share/siteRoot/sites/all/libraries/openseadragon
mv openseadragon-bin-1.1.1 /usr/share/siteRoot/sites/all/libraries/openseadragon
- bookreader (HEAD)
cd /usr/share/siteRoot/sites/all/libraries/
rm -R bookreader
git clone https://github.com/Islandora/internet_archive_bookreader.git
mv internet_archive_bookreader bookreader
Apply customizations (see [[isla7x:custom|Customization]])
\\
\\
- tuque (HEAD)
cd /usr/share/siteRoot/sites/all/libraries/
rm -R tuque
git clone https://github.com/Islandora/tuque.git
nano -w tuque/HttpConnection.php
public $verifyPeer = FALSE;
- colorbox library plugin (no update)
cd /usr/share/siteRoot/sites/all/libraries/
rm -R colorbox
wget https://github.com/jackmoore/colorbox/archive/master.zip
unzip master.zip
rm master.zip
mv colorbox-master colorbox
\\
* Update modules
cd /usr/share/siteRoot/sites/all/modules/
rm -R php_lib
git clone https://github.com/Islandora/php_lib.git
drush -v -u 1 en php_lib
rm -R islandora
git clone git://github.com/Islandora/islandora
drush -v -u 1 en islandora
rm -R islandora_paged_content
git clone git://github.com/Islandora/islandora_paged_content
drush -v -u 1 en islandora_paged_content
Apply customizations (see [[isla7x:custom|Customization]])
\\
\\
rm -R islandora_solution_pack_collection
git clone git://github.com/Islandora/islandora_solution_pack_collection
drush -v -u 1 en islandora_basic_collection
rm -R islandora_openseadragon
git clone git://github.com/Islandora/islandora_openseadragon.git
drush -v -u 1 en islandora_openseadragon
rm -R islandora_internet_archive_bookreader
git clone git://github.com/Islandora/islandora_internet_archive_bookreader
drush -v -u 1 en islandora_internet_archive_bookreader
rm -R islandora_ocr
git clone git://github.com/Islandora/islandora_ocr
drush -v -u 1 en islandora_ocr
rm -R islandora_solution_pack_large_image
git clone git://github.com/Islandora/islandora_solution_pack_large_image
drush -v -u 1 en islandora_large_image
rm -R islandora_solution_pack_book
git clone git://github.com/Islandora/islandora_solution_pack_book
drush -v -u 1 en islandora_book
Apply customizations (see [[isla7x:custom|Customization]])
\\
\\
rm -R islandora_solr_search
git clone git://github.com/Islandora/islandora_solr_search
drush -v -u 1 en islandora_solr islandora_solr_config
rm -R islandora_solr_views
git clone git://github.com/Islandora/islandora_solr_views
drush -v -u 1 en islandora_solr_views
rm -R islandora_batch islandora_book_batch
git clone git://github.com/Islandora/islandora_batch
git clone git://github.com/Islandora/islandora_book_batch
drush -v -u 1 en islandora_batch islandora_book_batch
rm -R islandora_xmlsitemap
git clone git://github.com/Islandora/islandora_xmlsitemap
drush -v -u 1 en islandora_xmlsitemap
rm -R islandora_datastream_crud
git clone git://github.com/mjordan/islandora_datastream_crud
drush -v -u 1 en islandora_datastream_crud
Update script from WEB GUI
drush cc [all]