Hi All,
We recently upgraded historicplacesla.org to the latest versions of Arches
and Arches-HIP. I wanted to share the general steps we took to make this
happen. Hope it helps.
Note: These directions are for a linux machine running apache 2.4.7.
Stand Up Maintenance Page with Apache
1.) Create an html page you would like displayed during maintenance and
name it maintenance.html
2.) Copy this maintenance page to the document root of your server.
3.) Copy/enable the rewrite module within apache
4.) Add the following code to your apache virtual host configuration:
#Code for displaying maintenance page
RewriteEngine On
RewriteCond %{REMOTE_ADDR} !^111\.111\.111\.111 (add your ip here
so you can view the site while performing maintenance)
RewriteCond %{DOCUMENT_ROOT}/maintenance.html -f
RewriteCond %{REQUEST_FILENAME} !/maintenance.html
RewriteRule ^.*$ /maintenance.html [L]
5.) Restart apache
Upgrade Arches and Arches-HIP
1.) Change owner of logs directory and application.txt file to www-data
(Depending on how you have your permissions setup you may not have to do
this)
2.) Update Arches-HIP (from within your virtual environment: pip
install arches-hip --upgrade) This will also update Arches as Arches is a
dependency of Arches-HIP.
3.) Run Arches 3.0.4 patch (from within your virtual environment:
python manage.py install_patch -s 'path_to_patch')
4.) Run Arches 3.1.1 patch (see command from step 3; the path to the
patch is usually something similar to this:
VirtualEnv/lib/python2.7/site-packages/arches/management/patches/upgrade_to_v3_1_0.py)
5.) Collect your static files (from within your virtual environment:
python manage.py collectstatic)
6.) Change owner of logs directory and application.txt file to ubuntu
(Depending on how you have your permissions setup you may not have to do
this)
7.) Restart apache
***Finally, don't forget to return to your document root directory and
change the name of your maintenance.html file and restart apache***
Good luck with your upgrade and enjoy the new features in Arches and HIP.
On Friday, November 13, 2015 at 5:07:26 PM UTC-8, Alexei Peters wrote:
>
> Hi Everyone,
> The Arches team has been busy trying to improve Arches and fix a few bugs
> as well.
> Below you'll find a listing of all the changes that are included in the
> latest releases.
>
> Users are encouraged to update at their earliest convenience. Completely
> re-installing Arches and Arches-HIP is the easiest way to accomplish this.
>
> If you can't completely re-install Arches (because you have data in the
> system that you want to preserve) then you'll need to upgrade by running
> the following commands:
>
> pip install arches --upgrade
> pip install arches-hip --upgrade
>
> After upgrading you'll need to apply a patch by running this command from
> an activated environment (make sure Elasticsearch is running):
>
> (on linux) --> sudo python manage.py install_patch -s upgrade_to_v3_1_1
>
> (on windows) --> python manage.py install_patch -s upgrade_to_v3_1_1
>
>
> Cheers,
> The Arches Team
>
> Listing of changes in the latest releases:
>
> Arches 3.1.1
>
> - Added permissions change instructions to linux setup script
> - Added related resources as csv to export
> - Added date type and multipart features to export
> - Specified the version of virtualenv to use because of issues running
> the arches-app command with more recent versions on linux.
> - Added logic to support loading resources with a hard-coded value
> type conceptid.
> - Added support for specifying a particular value_type for an export
> column whenthe entity being exported is of domain type. Previously we
> could
> only specify a primary and secondary export column - if the entitytypeid
> was not an e55.
> - Enabled the importer to accept uuid formatted legacy ids as the
> entityid for aresource
> - Add sort order to default value types.
> - Adding graph export tool
> - Adding arches json exporter and importer
> - Allow users to view related resources without being logged in
> - Make sure get_context method always returns a valid concept
> - Fix file upload during the save of a .arches file
> - Fix JSON output of a concept
> - Fix time filter to work with branch list mods
> - Fix link color in lists
> - Change authentication logic. Add anonymous user. Create read and
> edit groups. Add anonymous and admin user to respective groups. Cascade
> changes to templates.
> - Clean logic in auth method to not have duplicative logic to the
> setAnonymous user middleware
> - Add unique constraint for legacyoids in concepts.concepts table. Add
> more information to entity type has no business table error.
> - Fix html error that reverted the map zoom and position updates in
> the ui
> - Add function to populate concepts legacyoid when adding concepts
> from RDM.
> - Trigger 'delete' event AFTER removing the branch (this fixes an
> issue in the time-filter.js) where a delete wouldn't refresh the search
> - Fixed bug that kept numbers from exporting to CSV.
> - Fix a few missellings in the docs
> - Fix bug where clicking a link to edit a form entry would cause that
> entry to disappear and not be entered into the editing section of the
> form,
> depends on update of knockout library
> - Add deprecation decorator, mark user_can_edit context processor as
> deprecated
>
>
> Hip 1.0.4
>
> - Update resource graphs
> - Confirm we're using a string in a regex match expression
> - Fix time filter to work with branch list mods in arches
>
> Lots of updates to the docs (thanks to Adam Cox!)
>
> - Add note on running ES as daemon, fix other grammar
> - Add integrity section to reports
> - Slight change in S3 bucket info
> - New docs section on converting to .arches from MS Excel
> - Add business table name for management_recommendation.e89 node in
> heritage_resource graph.
> - Add warning about S3 file deletion problem, number some existing
> lists.
> - Remake all tables straight from graph csvs, except Activity (to
> retain the descriptions. addressing issue in forum with incorrect nodes in
> some tables
> - Reformat/color nodes in all gephi files, export all graphs as pdfs
> in letter/legal and A4/B4, add notes on export and record of colors used
>
>
--
-- To post, send email to [email protected]. To unsubscribe, send
email to [email protected]. For more information,
visit https://groups.google.com/d/forum/archesproject?hl=en
---
You received this message because you are subscribed to the Google Groups
"Arches Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.